sachsmc / pandoc-journal-templates

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

biometrical-journal problems #11

Open saintland opened 3 years ago

saintland commented 3 years ago

Dear Sir: Thanks for creating the latex template for biometrical journal. I found two errors popped

  1. when I specify leadauthor, the email trigger an error, "! Undefined control sequence. \mailto(XX@gmail.com)
  2. When I comment out the leadauthor part, a second error came out ! Undefined control sequence. l.57 \hypertarget {introduction}{%

You can see it the document body, % appears after \hypertarget before \section. Is it a pandoc 2 problem? Please give a look. I run Rmd on Rstudio to generate tex and pdf files. biometricalJournalError

Thanks,

Han Sun

han.sunny@gmail.com

Martin1887 commented 1 year ago

This error is solved adding the following line near top (line 8 for example) in the template (the same happens in other templates when using links):

\usepackage{hyperref}

Regards,