LyX HTML export on command line runs pdflatex (via lyxpreview2bitmap.py)

Richard Kimberly Heck rikiheck at gmail.com
Thu Nov 24 16:37:26 UTC 2022


On 11/24/22 06:56, Thibaut Cuvelier wrote:
> On Wed, 23 Nov 2022 at 04:08, Richard Kimberly Heck 
> <rikiheck at gmail.com> wrote:
>
>     On 11/20/22 10:22, Scott Kostyshak wrote:
>     > When testing a (seemingly) different issue that Thibaut reported
>     about
>     > de Math.lyx, when I do:
>     >
>     >    lyx -e xhtml Math.lyx
>     >
>     > I notice that pdflatex is run, I think via lyxpreview2bitmap.py.
>     >
>     > Is this supposed to happen?
>
>     It will depend upon what kinds of processes are needed for maths,
>     etc.
>     In that document, some of them probably have to be exported as
>     images,
>     because the LaTeX is complicated. So yes, that's expected.
>
>
> To be more precise, LyX tries to convert as many formulae as possible 
> into MathML. If it cannot (mostly due to ERT -- or their math 
> equivalent, when you can see the \command in red), it reverts to an 
> image (lyxpreviewXXX.png). I believe that only ERTs trigger this 
> behaviour.

I think you also get it with things like xymatrix and Feynmann, but 
you've done a lot more work on that, so maybe that's changed.

Riki



-- 
----------------------------
Richard Kimberly (Riki) Heck
Professor of Philosophy
Brown University

Pronouns: they/them/their

Website:http://rkheck.frege.org/
Blog:http://rikiheck.blogspot.com/
Amazon:http://amazon.com/author/richardgheckjr
Google Scholar:https://scholar.google.com/citations?user=QUKBG6EAAAAJ
ORCID:http://orcid.org/0000-0002-2961-2663
Research Gate:https://www.researchgate.net/profile/Richard_Heck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221124/8a557e5e/attachment.html>


More information about the lyx-devel mailing list