I agree that math rendering in html would be very useful. Still getting things right in pdf documents by being able to change the pagesize is much more useful as I would use that everyday rather than when preparing a release.
I send you two files. A document and a library with some useful macros. Christopher > Sent: Tuesday, October 06, 2020 at 10:18 PM > From: "Gavin Smith" <[email protected]> > To: "Christopher Dimech" <[email protected]> > Cc: [email protected] > Subject: Re: Setting Page Size and displaying result correctly > > (Please include the list when replying. An easy way to do this is to > use "reply-all" instead of "reply".) > > On Tue, Oct 06, 2020 at 09:04:04PM +0200, Christopher Dimech wrote: > > > > > 2. Possibilities for using Texinfo for Screencasts, especially > > > > screencasts > > > > that include the display of mathematical expressions. > > > > > > > > The difficulty setting a different page size does not crop up for > > > > software > > > > manuals. But the problem crops up when you want to use a texinfo > > > > document > > > > for a screen cast. In such an instance, changing the page size would > > > > be important, because the standard paper sizes make the text too small > > > > for display purposes on the screen. > > > > > > I'm not too sure what your use case is for this but perhaps the HTML > > > output > > > would be more appropriate for this? > > > > > > Display of mathematical expressions may be difficult with HTML, but it is > > > supposed to be possible. > > > > > > > This would enable texinfo to be used in many other circumstances in > > > > addition > > > > to simply writing manuals. > > > > > > Writing manuals is the main purpose of Texinfo. It is not a general > > > typesetting or formatting system for the display of arbitrary information. > > > > Yes, but I have started an Official Gnu Package for Geological Subsurface > > Imaging, > > with some serious mathematical content. I often have to rewrite if I want > > to use > > the material rather than just taking the texinfo code I used to make the > > manual. > > I also know many people who would find using texinfo useful for similar > > types > > of work involving software and mathematics. I gave up working with html. > > And I > > would rather continue in texinfo than having to twitch purely to Pure Tex > > or Latex. > > Support for math rendering in HTML is a long-standing problem. See this old > mail: > > https://lists.gnu.org/archive/html/bug-texinfo/2016-05/msg00045.html > > I think it is something that would be useful to a lot of users. latex2html > does work if you have it installed and pass the "-c L2H=1" argument. However, > it might be more reliable to use MathJax instead. All this seems to require > is adding a few lines to the HTML file and wrapping the TeX math code with > some marker strings. See https://www.mathjax.org/#gettingstarted > > Unfortunately MathJax uses JavaScript, but there is not much alternative. We > would have to deal with the complications of hosting JavaScript code and > ensuring it is appropriately licensed if MathJax support were made an official > part of Texinfo. > > Could you point me towards a Texinfo file with a lot of math in it so I > could experiment? >
