
Thanks Wolfgang. I located mtx-epub.lua and now I am getting with mtxrun --script mtx-epub --make --purge test the error mtx-epub | unknown specificaton file 'test-export/test-pub.lua' for ‘test' I tried other things than ’test’ to no avail. I am using the most recent minimal, so I think I have everything Matthias
On May 30, 2025, at 12:21 PM, Wolfgang Schuster
wrote: Am 29.05.2025 um 22:54 schrieb Matthias Weber:
Hi, I am trying to export to epub. I found epub-mkiv-demo.tex and export-example.tex, and both compile fine, generating the XML tree. The instructions say that I have to run mtxrun --script epub --make --purge test but I get unknown script ‘epub.lua’. I don’t have epub.lua anywhere.
The filename of the scrip is mtx-epub.lua and the path is <TEXROOT>\tex\texmf-context\scripts\context\lua
It also says that the console would tell me what script to run, but it only tells me mtx-context | pdfview methods: auto default evince okular pdfxcview sumatra zathura, current method: sumatra (directives_pdfview_method) pdfview | command: wine "sumatrapdf.exe" -reuse-instance -bg-color 0xCCCCCC "epub-mkiv-demo.pdf" 1>/dev/null 2>/dev/null & The directories with the XML trees contain a script epub-mkiv-demo-pub.lua which I can run, but it doesn’t seem to do anything. I am clearly doing something wrong. Any hints on how to proceed will be much appreciated.
It's possible your installation is missing files, the best solution is to use the minimal version from the pragma site: https://www.pragma-ade.nl/install.htm
Wolfgang
___________________________________________________________________________________ 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 ___________________________________________________________________________________