xelatex works now with ttf fonts
fixes to inline code
template and css
removed spaces from filename