sachsmc / pandoc-journal-templates

Pandoc templates and resources for the major (bio)statistics journals
87 stars 29 forks source link

Difficulty using Biometrics template #10

Open mberbaum opened 3 years ago

mberbaum commented 3 years ago

Hello, I've been trying to use the Biometrics template you provided (thank you!). One issue is that some Pandoc options have changed: --latex-engine is now --pdf-engine, and -S is now +smart (or maybe -smart), as in markfown+smart+... Those I fixed by editing the Makefile. The more serious problem is thqt the generated example.tex file throws errors when compiled with MiKTeX's pdflatex 4.4 (MiKTeX 21.2). The error is ! undefined control sequence 1.96 \hypertarget{subsection}{% {Introduction}{% This is found in the code that Pandoc writes to example.tex based on biometrics.latex (I think). I tried adding \usepackage{hyperref} to the example.tex, which seemed to work, though I still got a couple pdflatex compilation errors (I just said 'run'). I lack the understanding of Pandoc templates to fix this. I notice there have not been new commitments in about 6 years. Might you have time to revisit this code. It really is a boon to all statisticians! Best regards and thanks again for your nice contribution, --Mike

Michael L. Berbaum, Ph.D. Director, Methodology Research Core Institute for Health Research and Policy University of Illinois Chicago