Open lamyergeier opened 3 weeks ago
Thanks for the detailed report. My template is at fault: sorry! Specifying a titlefont
will only work if you are also using xelatex or lualatex rather than the default pdflatex (that's what the fontspec
error means). Looks like you're configured to use the CMU fonts with those engines, so pandoc --template=memoir-article.latex --xelatex paper.md -o paper.pdf
ought to work. Otherwise, you can work around this by setting manual-title: true
and writing your own commands in the body to typeset the title. I'll fix the template issue when I have a moment.
Info
Fedora 40.
Fonts used
paper.md (yaml front matter)
I modified it as follows
Generate PDF
Generate Latex
This was successful. It is uploaded here.
Observation
Question
mainfontoptions
?