Markdown to PDF with Pandoc

install

get the Pandoc and friends,

apt install pandoc lmodern texlive-latex-base texlive-fonts-recommended pandoc-citeproc apt-get install texlive-xetex
apt install texlive-plain-generic #ulem.py

helper scripts

script for generating PDFs,

wget https://raw.githubusercontent.com/pbraun9/bin/master/pandocw
wget https://raw.githubusercontent.com/pbraun9/bin/master/pandocslides

chmod +x pandoc
chmod +x pandocslides

for beamer presentations,

vi preamble.tex

\setbeamercolor{normal text}{fg=white,bg=black!90}
\setbeamercolor*{structure}{fg=blue!33!white}
\setbeamercolor{alerted text}{use=structure,fg=structure.fg}
\setbeamercolor*{palette primary}{use=structure,fg=structure.fg}
\setbeamercolor*{palette secondary}{use=structure,fg=structure.fg!95!black}
\setbeamercolor*{palette tertiary}{use=structure,fg=structure.fg!90!black}
\setbeamercolor*{palette quaternary}{use=structure,fg=structure.fg!95!black,bg=black!80}
\setbeamercolor*{framesubtitle}{fg=white}

references


Last update: 2018-12-11 | home | html | css