#!/bin/bash [[ -z $1 ]] && echo argument missing && exit 1 echo -n "${1%\.md}.slides.pdf ... " #pandoc --latex-engine=xelatex -t beamer \ # --listings -V fontsize=10pt -H ~/preamble.slides.tex \ # $1 -o ${1%\.md}.slides.tex && echo -n tex... pandoc --latex-engine=xelatex -t beamer \ --listings -V fontsize=10pt -H ~/preamble.slides.tex \ $1 -o ${1%\.md}.slides.pdf && echo done #-V lang=english,russian -V mainfont="FreeSerif" \