Cyfrin / audit-report-templating

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues generating PDF

alexroan opened this issue · comments

System: Macos

After following the instructions in the readme, running this command:

pandoc initial-report.md -o initial-report.pdf --from markdown --template=eisvogel --listings

produces this output:

pdflatex not found. Please select a different --pdf-engine or install pdflatex

Installing TexLive seemed to make some progress (brew install texlive - it's a biggy). Now when running the pandoc command I get this error:

Error producing PDF.
! LaTeX Error: Invalid UTF-8 byte sequence (�\lst@FillFixed@\lst@EC�).

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.834 [⠆]

Looks like you have an issue with your markdown file. Do you have a sample minimal file that reproduces the issue?

Ah, this is because is not a recognized character by pandoc. You'll need to remove it. I'll add this to the FAQ