\documentclass{scrartcl}
\BeforeTOCHead{toc}{\bfseries}
\begin{document}
\listoftoc{toc}
\end{document}
! TeX capacity exceeded, sorry [input stack size=5000].
\tb@@beforehead@hook ->\tb@@beforehead@hook
toc
l.6 \listoftoc{toc}
! ==> Fatal error occurred, no output PDF file produced!
There is the same bug when using \BeforeStartingTOC,\AfterStartingTOC,
\AfterTOCHead.
I can solve the bug by setting
\def\tb@toc@beforehead@hook{}%
(And the same for the other commands to work:
\def\tb@toc@before@hook{}
...)
I use an up to date texlive2009 with KOMA version:
{2009/07/24 v3.04a KOMA-Script}%
Another bug is that this document:
\documentclass{scrartcl}
\begin{document}
\listofeachtoc{toc}
\end{document}
the compilation hangs indefinitely.
Is this corrected in newer versions of koma script?
Thanks in advance!
> There is a bug with package toc basic, when using \BeforeTOCHead:
The author of KOMA-Script doesn't read this group, please submit a bug
report at http://developer.berlios.de/bugs/?group_id=4307.
--
Change “LookInSig” to “tcalveu” to answer by mail.
You are already using the newest version of koma script.
==> http://developer.berlios.de/projects/koma-script3/
...Rolf