Actually, an answer was in the template: if I put the directive %&pdftex at the beginning of the generated tex file, most modern implementations tell the engine to switch to that format. So the default call to the pdflatex engine does the right thing. Cheers! Il giorno venerdì 29 ottobre 2021 alle 20:14:17 UTC-5 jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org ha scritto: > Hello! > > I'm writing a lua filter to generate an eplain document; but then I > realized I would have to make a two step process: 1. to generate the > --standalone document, and 2. to call the pdftex (plain) executable to > generate the pdf. Is there a way to call a custom --pdf-engine to do the > job automatically? > > Curious, > > > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b07eb858-50ee-478c-beff-817523c8aad4n%40googlegroups.com.