I use LaTeX a lot, so my initial thoughts on this are: 1. Rendering LaTeX code would be 'nice to have', but for me anyway, not 'need to have'. 2. The only rendering that would make any sense would have to use the 'least common denominator' from the basic TEX commands and would never be able to render custom commands, which I use frequently. 3. It seems that the effort to make it work in Leo would far exceed any potential benefit.
My 2 cents... Rob... On Sunday, November 14, 2021 at 12:49:40 PM UTC-5 [email protected] wrote: > Viewrendered can render *@latex* nodes in a restricted way. I was > reminded of this by an issue of @LewisNeal <https://github.com/LewisNeal>. > VR3 does not at present but it would be easy to duplicate VR's capability. > I have two questions about it before I move to enable it in VR3. One is > minor, the other more existential. The minor one first: > > The code claims that in Windows/python the rendering is not available. But > all the rendering code does is to insert the node's text into a basic html > string that includes an import for the MathJax script. That does not > depend on Windows or the python version in any way. So why is this > restriction there? It makes me think that @latex nodes used to be able to > do more at some time in the past. > > The more existential question is: what is this capability for, anyway? > What is the use case? It must mostly be for rendering math, but math almost > always requires some text along with it. Mathjax can render plain text > using the *\\text{}* macro, but this is awkward and limited. > > VR3 can already render math in ReStructured and Markdown text pages, and > can mix text and math more easily. I think that full latex rendering - > beyond what Mathjax can do - is not going to be in the cards for VR/VR3. > You would have to use a full-fledged latex processor, and they are very > slow and finicky about the content. TexWorks, for example, sometimes > requires manual input to deal with hiccups. > > So before I enable *@latex *nodes in VR3, I'd appreciate some guidance > about how people want to use it. > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/ccefe0ef-6cd4-4d99-a7f0-56f0b20fa4f1n%40googlegroups.com.
