mre / pandoc-memoir

Convert Markdown to beautiful PDF using pandoc, LaTeX, and chocolate donuts.
MIT License
16 stars 5 forks source link

Error in replicating the makefile pdf output for the given pub.md #5

Open lamyergeier opened 3 weeks ago

lamyergeier commented 3 weeks ago

Info

Fedora 40

$ pandoc --version
pandoc 3.3

Error

I cloned the repository and removed pub.pdf and executed following:

$ make
pandoc pub.md -o pub.pdf --template templates/extended.tex --bibliography=bib/lit.bib --csl=bib/jos.csl --highlight-style tango --variable numbersections --toc --variable toc-depth=2 --variable documentclass=memoir --variable fontsize=12pt
Error producing PDF.
! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.95 F

make: *** [Makefile:9: pdf] Error 43

Any suggestion please?

mre commented 3 weeks ago

Can you try to look here? https://github.com/jgm/pandoc/issues/4017 They might have changed something in a new version of Pandoc.