Am 14.08.25 um 10:01 schrieb Florent Michel:
Hi,
TL;DR: Is there a way to pass a `mode` argument when running `mtxrun --
script epub --images`?
The epub script works on the exported xml from a previous context run.
You can apply your mode there.
________________
\setupbackend[export=yes]
\starttext
A well-known equation:
\startmode[show_formula]
\startformula
e = \frac{m c^2}{\sqrt{1 - v^2 / c^2}}
\stopformula
\stopmode
\stoptext
___________________
I would also put the export activation in a mode to avoid the overhead
while you don’t need it.
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________