Thanks Dimitri. But my header-includes only has what I posted, it does not seem I can remove something. Why is "institute" ignored ? All scientific papers need author's affiliation. I am trying to have the institute properly written after authors list. On Sunday, October 13, 2019 at 3:31:16 PM UTC+2, Dimitri KOPRIWA wrote: > > You should try to remove the content of within include headers, and find > the line that cause the issue. Then fix it. > > Le dim. 13 oct. 2019 à 14:54, Matias > a > écrit : > >> Hi all, >> >> I am writing a scientific paper with pandoc, with pdf output. I need to >> add the institute... >> >> So, I added this to the yaml part of my .md source file: >> >> ```yaml >> --- >> title: the title ok >> author: >> - author1 ok >> - author2 ok >> date: 2019-09-24 >> abstract: | >> the abstract ok >> header-includes: | >> \providecommand{\institute}[1]{ >> \postauthor{\end{tabular}\[0.5cm]\textit{#1}\end{center}} >> } >> --- >> ``` >> >> (I found this trick looking at some github issues, related to the same >> problem I have) >> >> Unfortunately, with `header-includes` I have the following error: >> >> Error producing PDF. >> ! LaTeX Error: Missing \begin{document}. >> >> If I remove the `header-includes` section it works fine - but I have no >> institute :( >> >> What should I do ? >> >> I am completely ignorant of Latex/Tex or whatever (sorry). This is why I >> am using Pandoc. >> >> Any help would be appreciated. >> >> -- >> 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-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pandoc-discuss/9a692e0f-1ea1-4f12-9688-5d917ffe59ff%40googlegroups.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/aacabb91-8c20-46e0-82b5-76200faa7e6a%40googlegroups.com.