Microbiology / Helpful_Lab_Materials

Easily write cover letters for submitting your academic manuscripts
61 stars 59 forks source link

Example does not work #1

Open jona-sassenhagen opened 6 years ago

jona-sassenhagen commented 6 years ago

The example looks great, but I'm running into errors reproducing it:

$bash renderletter
Running Pandoc...
! Undefined control sequence.
<argument> \includegraphics
                            [height=1in]{./Michigan.pdf}
l.60 ...igan, PhD}{Microbiology \& Bioinformatics}

pandoc: Error producing PDF
Done
annaweichselbraun commented 6 years ago

Same!

Microbiology commented 6 years ago

Thanks for flagging this up. It looks like it is still running on my computer. I wonder if it has something to do with differences in the Pandoc installation? Did you install Pandoc through Homebrew?

It might be different if you are on a Windows machine (I haven't tried this on Windows). Maybe try out the info in these links and see how it works?

https://tex.stackexchange.com/questions/25665/undefined-control-sequence-includegraphics

https://tex.stackexchange.com/questions/186396/undefined-control-sequence-includegraphics

annaweichselbraun commented 6 years ago

Hi, thanks for your reply. I'm running Windows 10 and installed Pandoc through the .msi installer file.

On Sun, Aug 26, 2018 at 6:53 PM Geoffrey Hannigan, PhD < notifications@github.com> wrote:

Thanks for flagging this up. It looks like it is still running on my computer. I wonder if it has something to do with differences in the Pandoc installation? Did you install Pandoc through Homebrew?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Microbiology/PandocAcademicCoverLetter/issues/1#issuecomment-416092654, or mute the thread https://github.com/notifications/unsubscribe-auth/ATPUIpLTSDfzSp36MBZRyG2lEyH8xmpBks5uU1EkgaJpZM4UiTY5 .

baydina commented 5 years ago

\usepackage{graphicx} solved the problem for me.