We are currently planning to migrate to a different platform for the forum. We will announce this fact both here and on Twitter, once we have settled on a solution.

# Export - Template (spanish)

Hi.
Thanks to Hendrik and his whole team of collaborators.

Version: 1.7.3
When I export a small test project, the syllabic division in the documents is not always correct. Also, the TOC appears in English.
I guess that's because the file export.tex I have to modify it to use Spanish.

This is how I have edited that part of the export.tex

$if(lang)$
\ifxetex
\usepackage{polyglossia}
\setmainlanguage{es}
$for(polyglossia-otherlangs)$
\setotherlanguage{en}
$endfor$
\else
\usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
\fi
$endif$

but it doesn't work for me.

Is there an export.tex template to use with Spanish language?

Thank you.

Tagged:

pandoc "$infile$" -f markdown $outflag$ $tpl$ $toc$ $tocdepth$ $citeproc$ $standalone$ --pdf-engine=xelatex -V lang=es --mathjax -o "$outfile$"