languages,comments
This commit is contained in:
parent
ac1fee4301
commit
80d2623d70
3 changed files with 11 additions and 1 deletions
|
@ -41,7 +41,7 @@ def build(directory, sign):
|
|||
# prepare build command
|
||||
command = ['xelatex',
|
||||
'-output-directory', tmp,
|
||||
MAIN,
|
||||
f'\def\mainlanguage{{{language}}}\input{{{MAIN}}}',
|
||||
]
|
||||
# if it's the main document
|
||||
if document[ENGLISH] == 'thesis':
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
% apply settings
|
||||
\input{settings}
|
||||
|
||||
% begin document
|
||||
\begin{document}
|
||||
|
||||
…
|
||||
|
||||
% end document
|
||||
\end{document}
|
||||
|
|
|
@ -1 +1,8 @@
|
|||
% set default size and document class
|
||||
\documentclass[12pt]{extarticle}
|
||||
|
||||
% handle multiple languages
|
||||
\usepackage{polyglossia}
|
||||
|
||||
% set main language
|
||||
\setmainlanguage{\mainlanguage}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue