I'm using the LaTeX-KOMA-template (based on KOMA-script as the name suggests) provided by Karl Voit for writing a thesis. I can compile the main.tex perfectly fine, until I import the syntax
package. This happens even if I compile the template 'as is', without any other packages imported.
I get the following errors I simply can't wrap my head around:
! Missing \endcsname inserted. \protect l.232 \input{template/declaration_TU_Graz} %% Statutory Declaration The control sequence marked should not appear between \csname and \endcsname.
! Extra \endcsname. \InputIfFileExists ...\csname #1-@alias\endcsname \relax \expandafter \@seco... l.232 \input{template/declaration_TU_Graz} %% Statutory Declaration I'm ignoring this, since I wasn't doing a \csname.
! TeX capacity exceeded, sorry [input stack size=5000]. \@inmathwarn ...latex@warning {Command \protect #1 invalid in math mode}\fi l.232 \input{template/declaration_TU_Graz} %% Statutory Declaration If you really absolutely need more capacity, you can ask a wizard to enlarge me.
How can this happen by simply importing the syntax
package?
How to reproduce:
- Download LaTeX-KOMA-template and extract it
- Typeset main.tex -> It works as expected
- Insert
\usepackage{syntax}
in designatedMISC usepackages
area of main.tex - Typeset main.tex again -> The error occurs.
System: texmaker 4.4.1 on MacTex-2015 (TeX Live 2015) without any package updates running on OS X Yosemite 10.10.3.
Please let me know if you need any additional information!
\usepackage[nounderscore]{syntax}