Output path for generated images using pretext/pretext script

14 views
Skip to first unread message

Jeremy Sylvestre

unread,
Aug 12, 2026, 12:00:22 PM (13 days ago) Aug 12
to PreTeXt development
If I run the pretext/pretext script with

pretext/pretext --component latex-image --format svg --publisher publication.xml book.ptx

then output images get placed into

./generated/latex-images

All good so far.

But if I run

pretext/pretext --directory . --component latex-image --format svg --publisher publication.xml book.ptx

then the output images just get placed right into the current directory.

I would have expected these two invocations to produce the same results.

Similarly, it would be nice if

pretext/pretext --directory my/html/build/root --component latex-image --format svg --publisher publication.xml book.ptx

could place the output images into

my/html/build/root/generated/latex-images/

for me.

Cheers,
Jeremy S
Reply all
Reply to author
Forward
0 new messages