Hi!
Yes you are right! And I also managed to find the culprit on the weekend. It’s this piece of code which stops me from compiling:
\renewcommandx*{\chapter}[6][1,2,3,4]{% 1: alternativer TOC-Eintrag, 2: alternativer "TOC-Autor", 3: alternative Kopfzeile, 4: alternativer Autor in der Kopfzeile 5: Titel, 6: Autor
\setcounter{footnote}{0}
\ifthenelse{\isempty{#1}}%ifelsethen1.if
{%ifelsethen1.then START:
\ifthenelse{\isempty{#6}}%ifthenelse1.1.if
{\addchap[\normalsize #5]{#5}\addtocontents{toc}{\vspace*{2pt}}}%ifthenelse1.1.then
{\addchap[\normalsize #5 {\footnotesize\textit{(#6)}}]{#5}\addtocontents{toc}{\vspace*{2pt}}}%ifthenelse1.1.else
}%ifelsethen1.then STOP
{%ifelsethen1.else START:
\ifthenelse{\isempty{#6}}%ifthenelse1.2.if
{\addchap[\normalsize #5]{#5}\addtocontents{toc}{\vspace*{2pt}}}%ifthenelse1.2.then
{%ifelsethen1.2.else START:
\ifthenelse{\isempty{#2}}%ifthenelse1.2.1.if
{\addchap[\normalsize #1 {\footnotesize\textit{(#6)}}]{#5}\addtocontents{toc}{\vspace*{2pt}}}%ifthenelse1.2.1.then
{\addchap[\normalsize #1 {\footnotesize\textit{(#2)}}]{#5}\addtocontents{toc}{\vspace*{2pt}}}%ifthenelse1.2.1.else
}%ifelsethen1.2.else STOP
}%ifelsethen1.else STOP
%\vspace*{28pt}
\setcounter{section}{0}
\ifthenelse{\isempty{#6}}
{}
{\centerline{{\Large\textit{#6}}}%
\ifthenelse{\isempty{#4}}
{\TextAuthor{#6}}
{\TextAuthor{#4}}
\ifthenelse{\isempty{#3}}
{\ifthenelse{\isempty{#2}}
{\TextTitel{#5}}
{\TextTitel{#1}}}
{\TextTitel{#3}}
\vspace*{26pt}}
}
If I edit it out everything works fine, except of course the parts where this new command is used. I seriously don't understand how this new command messes with the addchap command. I mean it's not redefining it or anything right? This is really where my understanding of latex coding stops when it comes to define new commands and stuff so I can really only guess from here. I also forgot to mention earlier that as soon as I edited out all the addchap commads it stops as soon as this new command is used. I didn't notice it at first. Now I’m working on a minimal example I just need some time to get together all the relevant things since they are all located in may different files. But I will definitely come back to you as soon as I have one! Still be reminded though that this line of code WORKS on other machines using a Windows+MiKTeX+TeXstudio configuration and also on my Ubuntu distribution using texlife+kile (without any preparation). So this is really weird to me.
Cheers,
Marius
Von: [email protected]
Gesendet: Sonntag, 11. Oktober 2015 22:13
An: [email protected]
Am Sat, 10 Oct 2015 09:06:26 +0000 schrieb [email protected]:
> UPDATE #2
>
>
> I managed to narrow down the problem to the following:
> I can avoid the error message ʽtex capacity exceededʼ (and
> actually compile the document YAY) if I comment out the command
> ʽ\addchapʼ which appears in several subfiles that are added to
> the main file via ʽ\inputʼ. So for some reason the ʽ\addchapʼ
> command doesn't execute correctly (I also tried putting the
> command directly in the main file, just to find the same error;
> so it probably doesn't have to to with the way itʼs put in to the
> document but rather with the command itself).
Well the document must do something special too. If the \addchap
command were broken completly more people would complain.
So try to make an complete (but small) example that allows other to
reproduce your problem.
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
------------------------------------------------------------------------------
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
------------------------------------------------------------------------------
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.