Thanks John

Makes sense. I'll try the latexmk route!

Happy pandocing!
On Friday, October 27, 2023 at 3:29:18 AM UTC+11 John MacFarlane wrote:
The reason we always do at least 2 runs is that 1 run won't give you PDF bookmarks.

Of course if you only want one run you could try to optimize by using latexmk as your engine and tweaking its options (it will only be run once because it handles multiple runs itself). Or just produce a tex file and tex it yourself (automate with script or Makefile).

> On Oct 26, 2023, at 4:40 AM, ne...-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org wrote:
>
> When I use Pandoc to generate PDFs, pandoc does always multiple LaTeX runs.
>
> I know this is necessary for citing and cross referencing, but Pandoc does so even for simple do documents which need certainly only one pass.
>
> How can I tell Pandoc to gebrate PDFs with only one LaTeX run?
>
> Many thanks,
> Walter
>
> --
> 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-discus...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f1950468-445b-4886-8b1b-66105bbf7cae%40app.fastmail.com.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d76ba04f-0a4b-41a4-8082-5535b0f6663en%40googlegroups.com.