On Wednesday, 26 August, 2020 at 3:14:37 am UTC+5:30 John MacFarlane wrote: > header-includes is the field name to use. If I use header-includes in my defaults.yaml file thusly, without back-ticks: --- metadata: header-includes: | \usepackage{microtype,parskip,bookmark,setspace,xurl,secdot} \usepackage[hang,bottom]{footmisc} \setlength{\footnotesep}{3mm} ... I get the following error: > Error producing PDF. > ! LaTeX Error: Missing \begin{document}. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. > ... > > l.43 \textbackslash If I use header-includes in my defaults.yaml file thusly, with back-ticks: --- metadata: header-includes: - | ```{=latex} \usepackage{microtype,parskip,bookmark,setspace,xurl,secdot} \usepackage[hang,bottom]{footmisc} \setlength{\footnotesep}{3mm} ``` ... I get the following error: > Error producing PDF. > ! LaTeX Error: Missing \begin{document}. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. > ... > > l.43 ` Regards, Pranesh -- 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/95f7f71e-6af3-4d73-b47e-dd7bd28585e9n%40googlegroups.com.