Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

tocbasic and BeforeTOCHead

14 views
Skip to first unread message

Damien

unread,
Jan 5, 2010, 6:02:06 AM1/5/10
to
There is a bug with package toc basic, when using \BeforeTOCHead:

\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!

Philipp Stephani

unread,
Jan 5, 2010, 6:36:48 AM1/5/10
to
Damien <robert...@yahoo.com> writes:

> 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.

Rolf Niepraschk

unread,
Jan 5, 2010, 8:44:28 AM1/5/10
to
Am 05.01.2010 12:02, schrieb Damien:
...

>
> Is this corrected in newer versions of koma script?
> Thanks in advance!

You are already using the newest version of koma script.

==> http://developer.berlios.de/projects/koma-script3/

...Rolf

0 new messages