atmos eAC3 dd+ trueHDatmos eAC3 dd+ trueHDInstalling Pandoc

Download latest pandoc deb from pandoc releases and install it.

then

# note that download size is hundreds of MB
sudo apt install texlive-xetex
sudo apt install librsvg2-bin
sudo apt install texlive-science

Also need to install the source-* fonts via the script ./install_source-pro_font.sh​ in the resources/​ section.

Using Pandoc to convert Markdown to PDF

 1pandoc cv.md  \
 2--pdf-engine=xelatex \
 3--toc \
 4-V colorlinks=true \
 5-V toccolor=blue \
 6-V geometry:a4paper \
 7-V geometry:margin=2cm \
 8-V mainfont="Source Serif 4" \
 9-V monofont="Source Sans 3" \
10-V fontsize=11pt \
11-o cv_md.pdf

Tips:

  • Use \newpage and \pagebreak to insert pagebreaks. \newpage ends the current page whereas \pagebreak is a suggestion.
  • For links
-V colorlinks=true \
-V linkcolor=blue \
-V urlcolor=red \
-V toccolor=gray

References