Dear friendly fellow LaTex users,
I currently write my thesis consisting of several introductory chapters (Part I) and a series of papers (Part II). Part I has a bibliography and in addition, each paper has its own bibliography. That works using the package multibib.
The bibliography is not added automatically to the table of contents-like I would like it to-so, I use the koma-script Option bibtotoc:
\documentclass[...,bibtotoc]{scrreprt}
This adds all bibliographies as unnumbered CHAPTERS into the table of contents. However, I only want the bibliography for Part I as a chapter-entry and those for the papers as SECTION entries. CAN I RENEW THE BIBTOTOC-OPTION SO THAT BIBLIOGRAPHIES ARE TREATED AS SECTIONS???
Your help is very much appreciated - THANKS!
I tried the following alternative but this produces wrong page numbering in TOC. If \cleardoublepage is added before each bibliography call, page numers in TOC are correct, but my document gets additional (unwanted) pages.
In case of Part I, I wrote:
(\cleardouoblepage)
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{thesis_style}
\bibliography{thesis_bib}
and in case of the bibliographies for each paper:
(\cleardouoblepage)
\addcontentsline{toc}{section}{References}
\bibliographystyle{paper_style}
\bibliography{paper_bib}
...and not using the bibtotoc option
Graphics, Figures & Tables ⇒ bibtotoc: how to treat bibliographies as sections in TOC
NEW: TikZ book now 40% off at Amazon.com for a short time.

bibtotoc: how to treat bibliographies as sections in TOC
Hi,
since one biliography must appear as a chapter and the remining ones as sections, using the bibliography=totoc (bibtotoc is obsolete) option won't produce the desired result (as you've already experienced).
If you are loading the hyperref package, use its \phantomsection command to get the right page numbers:
since one biliography must appear as a chapter and the remining ones as sections, using the bibliography=totoc (bibtotoc is obsolete) option won't produce the desired result (as you've already experienced).
If you are loading the hyperref package, use its \phantomsection command to get the right page numbers:
Code: Select all
\phantomsection
\addcontentsline{toc}{section}{References}
\bibliographystyle{paper_style}
\bibliography{paper_bib}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: bibtotoc: how to treat bibliographies as sections in TOC
thanks for the advise to use hyperref. I gave it a go, however, it doesn't seem to solve my problem:
\package{usehyperref}
\phantomsection
\addcontentsline{toc}{section}{References}
\bibliographystyle{paper_style}
\bibliography{paper_bib}
produces the same wrong page numbering as without hyperref and phantomsection:
\addcontentsline{toc}{section}{References}
\bibliographystyle{paper_style}
\bibliography{paper_bib}
The page number in the contents is not the first page of the reference, but the previous page (last page of previous chapter or section), while
\phantomsection
\cleardoublepage
\addcontentsline{toc}{section}{References}
\bibliographystyle{paper_style}
\bibliography{paper_bib}
produces additional pages (but giving correct page numbers)
Further suggestions anyone???
\package{usehyperref}
\phantomsection
\addcontentsline{toc}{section}{References}
\bibliographystyle{paper_style}
\bibliography{paper_bib}
produces the same wrong page numbering as without hyperref and phantomsection:
\addcontentsline{toc}{section}{References}
\bibliographystyle{paper_style}
\bibliography{paper_bib}
The page number in the contents is not the first page of the reference, but the previous page (last page of previous chapter or section), while
\phantomsection
\cleardoublepage
\addcontentsline{toc}{section}{References}
\bibliographystyle{paper_style}
\bibliography{paper_bib}
produces additional pages (but giving correct page numbers)
Further suggestions anyone???