
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