Hey everyone,

I've been trying to figure out how to do a couple of things for some 
time now, but haven't succeeded. Hopefully you can give me some 
pointers. I'm using a the koma-script book class along with a long list 
of packages. The relevant ones are: tocloft, bibentry (from natbib) and 
babel.

1. Is there a way to have two different tocdepths in the document? More 
specifically, for text before the appendix I need to show parts, 
chapters and sections in the ToC. For the appendix I need to show only 
parts and chapters (annoying school requirements). I tried changing the 
counter \tocdepth in ERT when the appendix starts and also by 
\addtocontents, but neither worked.

2. Koma-script book class has a "bibtotocnumbered" option that changes 
the "BIBLIOGRAPHY" environment to \chapter (instead of \chapter*). I 
need to do the same thing for the List of Figures. Tried using 
\renewcommand for the LoF and changed \chapter* to \chapter, but that 
didn't work. I also tried the koma-script "liststotoc" option (which 
uses \addchap), but the List of Figures wasn't added to the ToC. That 
doesn't tell me much, but it might ring a bell for someone else (could 
that be caused by package conflicts with babel or tocloft?). How can I 
do this?

3. I need to add some text to the ToC. Before this text I need the same 
vertical skip as there is before a \part ToC entry. I also need to use 
the same font as a \part ToC entry. Unfortunately I can't use 
\addcontentsline{toc}{part}, because I used tocloft to add some text 
before each \part entry (which I can't have for this particular entry). 
So my only option is to add the appropriate vertical skip and change the 
font manually using \addtocontents. Any ideas?

TIA,

Roberto

Reply via email to