having trouble making prefigure PDFs

9 views
Skip to first unread message

Alex Jordan

unread,
Sep 20, 2025, 2:42:05 PM (6 days ago) Sep 20
to pretext...@googlegroups.com
I have a fork of Tom's ODE project:

I am having trouble building a PDF for this. When I use the CLI to build print, the LaTeX compilation chokes when it reaches a certain PDF image that is missing. This image is from a prefigure image in source. The repo has committed SVG for the prefigure images, but not PDF.

When I try to ask the CLI to generate prefigure for the print target, the console messages seem to indicate lots of prefigure PDF files are successfully built. But then I don't find them anywhere, and trying to build print still fails.

What should I be doing differently? Commands I am using are:

pretext generate -t print prefigure
pretext build print




David Austin

unread,
Sep 21, 2025, 7:49:56 AM (5 days ago) Sep 21
to pretext...@googlegroups.com
Hi Alex,

I cloned your repository and made a print version with those two commands, which makes me think the issue is with your prefigure installation.  Building PDFs requires that rsvg-convert be installed (see point 6 here), and I suspect that's the likely problem.  Recent versions of PreFigure should report an error, however, when rsvg-convert isn't available so I'm curious when your prefig was last updated.

What do you see if you navigate into source/prefigure and try
prefig pdf -b firstlook01-integral-curves.xml

Thanks,
David

--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-support/CA%2BR-jrcYVA%2BU%3DXuDQERa%3DynbufKzNU3Fjd49xjTUfSb9zYJ9bA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages