Search found 2 matches

by Borstenjäger
Tue Nov 10, 2015 6:45 pm
Forum: General
Topic: Combination of \addcontentsline and \subimport doesn't work?
Replies: 3
Views: 3494

Re: Combination of \addcontentsline and \subimport doesn't w

Thank you Johannes for your reply. Although the setcounter command works perfectly, unfortunately it doesn't solve my problem. Meanwhile i found out that I get the error also when I combine \subimport with any command that causes an entry in the toc.

Well, for me I found a workaround: Since I ...
by Borstenjäger
Mon Nov 09, 2015 2:28 pm
Forum: General
Topic: Combination of \addcontentsline and \subimport doesn't work?
Replies: 3
Views: 3494

Combination of \addcontentsline and \subimport doesn't work?

Hello,

in my document I want headings and table of content without numbering. The way I'm trying do make it is


\subsection*{\subimport{../texts/}{heading01_\VarLanguage.tex}}
\addcontentsline{toc}{subsection}{\subimport{../texts/}{heading01_\VarLanguage.tex}}

where "VarLanguage" contains a two ...