in my document I want headings and table of content without numbering. The way I'm trying do make it is
Code: Select all
\subsection*{\subimport{../texts/}{heading01_\VarLanguage.tex}}
\addcontentsline{toc}{subsection}{\subimport{../texts/}{heading01_\VarLanguage.tex}}
The first line works perfectly and makes the heading in the document. The second line should bring thesame heading into the toc but instead it causes the following error:
Code: Select all
TeX capacity exceeded, sorry [parameter stack size=10000]. ...texts/}{heading01_\VarLanguage.tex}}
By the way, the document class is article.
Thank you!
Mark