Having issue including graphics (logo) in my pdf report #276
Unanswered
packaging03
asked this question in
Q&A
Replies: 1 comment
-
The issue is that you are using a character unknown to the PDF generator in that line |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I ran this PDF generation code:
audit-data % pandoc report-sample.md -o report.pdf --from markdown --template=eisvogel --listings
with my markdown containing
\begin{titlepage}
\centering
\begin{figure}[h]
\centering
\includegraphics[width=0.5\textwidth]{logo.pdf}
\end{figure}
\vspace*{2cm}
{\Huge\bfseries Protocol Audit Report\par}
\vspace{1cm}
{\Large Version 1.0\par}
\vspace{2cm}
{\Large\itshape Adeyemi Olaoye\par}
\vfill
{\large \today\par}
\end{titlepage}
\maketitle
but I got this error message
Error producing PDF.
! Undefined control sequence.
l.399 \includegraphics
pointing specifically to line 5 as the issue
However, when I removed line 5 completely
I was able to generate the pdf without any issue.
Can anyone help me with this?
Beta Was this translation helpful? Give feedback.
All reactions