BibTeX, biblatex and biber ⇒ Multiple bibliographies sectioning
Multiple bibliographies sectioning
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Multiple bibliographies sectioning
I think the most simple way to achieve that is using package biblatex.
Re: Multiple bibliographies sectioning
1) Sample.tex - the main document (book document style)
2) One.tex - included file (Ch. 1)
3) Two.tex - included file (Ch. 2)
4) AppA.tex - included file (App. A)
5) AppB.tex - included file (App. B)
6) Sample.bib - the bibliography file
I have also attached the PDF file generate so you can see that to look proper, in the table of contents the bibliography in the appendices should be formatted as subsections. Thus, my question. How do you do it. I have been unable to figure it out.
- Attachments
-
- Sample.pdf
- The pdf file generated
- (32.26 KiB) Downloaded 326 times
-
- Sample.zip
- Zip file containing source files
- (125.01 KiB) Downloaded 356 times
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Multiple bibliographies sectioning
\appendix
.Re: Multiple bibliographies sectioning
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Multiple bibliographies sectioning
Code: Select all
\documentclass[final,10pt]{book}
\usepackage[title,titletoc]{appendix}
\usepackage[sectionbib]{chapterbib}
\usepackage{titlesec}
\titleformat{\chapter}[display]{\bfseries\Huge}{\thechapter}{10pt}{\Huge\bfseries}
\begin{filecontents*}{\jobname A.tex}
\chapter{Pogo Penguin}
\nocite{Paper1,Paper2}
\bibliographystyle{plain}
\bibliography{Sample}
\end{filecontents*}
\begin{filecontents*}{\jobname B.tex}
\chapter{Dixie-dancing Ducks}
\nocite{Paper3,Paper4}
\bibliographystyle{plain}
\bibliography{Sample}
\end{filecontents*}
\begin{filecontents*}{\jobname C.tex}
\chapter{Walzing Wombat}
\nocite{PaperA,PaperB}
\bibliographystyle{plain}
\bibliography{Sample}
\end{filecontents*}
\begin{filecontents*}{\jobname D.tex}
\chapter{Salsa Snake}
\nocite{PaperC,PaperD}
\bibliographystyle{plain}
\bibliography{Sample}
\end{filecontents*}
\begin{document}
\tableofcontents
\include{\jobname A}
\include{\jobname B}
\appendix
\titleformat{\chapter}{\bfseries\large}{\thechapter}{10pt}{\large\bfseries}
\titleformat{\section}{\bfseries}{\thechapter}{10pt}{\bfseries}
\addcontentsline{toc}{chapter}{Appendices}
\appendixpage
\include{\jobname C}
\include{\jobname D}
\end{document}