I am currently working on a LATEX template to convert markdown/yaml documents into pdf resume through Latex and pandoc, via xetex. However the bold and emphasis commands are not translating through to pdf. An example script within the latex template (template.tex) is:
$if(education)$
\section*{Education}
\noindent
$for(education)$
\note{$education.year$}\textbf{$education.subject$}$if(education.degree)$,$education.degree$$endif$\\
\emph{$education.institute$}$if(education.city)$, $education.city$$endif$\\[.2cm]
$endfor$
$endif$
The YAML source is:
education:
- year: 1867
subject: Philology
institute: Leipzig Universität
city: Leipzig
- year: 1864
subject: Abitur
institute: Schulpforta
city: Naumburg
However within the output pdf no text is bold or italic.
Any help would be greatly appreciated
pandoc
build command are you using? You have to specify your template explicitly when you are using custom template. Also, for debugging you should not outputpdf
right away, but you can write onlytex
file itself and inspect that.