LaTeX forum ⇒ BibTeX, biblatex and biberBibliography & Filmography

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
ciema7
Posts: 21
Joined: Sat Nov 10, 2018 2:31 am

Bibliography & Filmography

Postby ciema7 » Wed Jul 31, 2019 5:37 pm

Hello Community,

need some help with creating two references list on the end of document. I would like to create bibliography list and filmography list. Here is my attempt:


  1. \newpage
  2.  
  3. \renewcommand{\bibsection}{\section*{Bibliografia}}
  4. \renewcommand{\bibpreamble}{\vskip0.7cm}
  5. \nocite{*}
  6. \bibliographystyle{plain}
  7. \addtocontents{toc}{\protect\addvspace{8pt}}
  8. \phantomsection
  9. \addcontentsline{toc}{section}{\bibname}
  10. \bibliography{bibliografia/biblio}
  11.  
  12.  
  13. \newpage
  14.  
  15. \renewcommand{\bibsection}{\section*{Filmografia}}
  16. \renewcommand{\bibpreamble}{\vskip0.7cm}
  17. \nocite{*}
  18. \bibliographystyle{plain}
  19. \addtocontents{toc}{\protect\addvspace{8pt}}
  20. \phantomsection
  21. \addcontentsline{toc}{section}{\bibname}
  22. \bibliography{filmografia/filmo}


Unfortunately it does not work, because it repeat twice "Bibliography". Can someone help me to find easy way to seperate it to 2 diffrent references?

User avatar
Ijon Tichy
Posts: 92
Joined: Mon Dec 24, 2018 10:12 am

Postby Ijon Tichy » Thu Aug 01, 2019 8:36 am

I would recommend to use biblatex with biber to generate more then one bibliography. Also adding a ToC entry is much more easy with biblatex.

Currently your question is not clear, because the code is to minimal and not working, e.g., it is completely unclear which package you use to provide multiple bibliographies (multibib?). Maybe you are using an additional incompatible bibliography package? And it is unclear which class you are using. And have you done the correct bibtex runs? …

ciema7
Posts: 21
Joined: Sat Nov 10, 2018 2:31 am

Postby ciema7 » Thu Aug 01, 2019 10:08 am

Thanks for reply. I just want to find simply way to add two different references lists one behind another.
Sorry, thought it will be much easier. Here is the minimal working example (if only you create "biblio" .bib file in "bibliografia" file location):

  1. \documentclass[12pt]{article}
  2. \usepackage[table,xcdraw]{xcolor}
  3. \usepackage{listings}
  4. \usepackage{inputenc}
  5. \usepackage{graphicx}
  6. \usepackage{polski}
  7. \usepackage{geometry}
  8. \usepackage{textcomp}
  9. \usepackage{gensymb}
  10. \usepackage{parskip}
  11. \usepackage{multirow}
  12. \usepackage{tabularx}
  13. \usepackage{enumitem}
  14. \usepackage{booktabs,arydshln}
  15. \usepackage{array}
  16. \usepackage{caption}
  17. \usepackage{amsmath}
  18. \usepackage{scrextend}
  19. \usepackage{mwe}
  20. \usepackage[export]{adjustbox}
  21. \usepackage{setspace}
  22. \usepackage{stanli}
  23. \usepackage{tikz}
  24. \usepackage{wrapfig}
  25. \usepackage{hyperref}
  26. \usepackage[numbers,sort&compress]{natbib}
  27. \usepackage[,framed]{matlab-prettifier}
  28. \usepackage{pdfpages}
  29. \usepackage{placeins}
  30. \usepackage{bm}
  31. \usepackage{float}
  32. \usepackage{changepage}
  33. \usepackage[font=small,tableposition=top]{caption}
  34. \setlist[enumerate,1]{leftmargin=0.5cm}
  35. \pagenumbering{arabic}
  36. \usepackage{leading}
  37. \leading{18pt}
  38.  
  39.  
  40. \captionsetup[figure]{font=footnotesize,labelfont=footnotesize,justification=centering}
  41. \captionsetup[table]{singlelinecheck=off,skip=0pt}
  42. \lstset{language=matlab,basicstyle=\footnotesize,showstringspaces=false,style = Matlab-editor,basicstyle=\mlttfamily,
  43. escapechar= ",mlshowsectionrules = true}
  44.  
  45.  
  46. \graphicspath{ {figures/} }
  47. \newcommand\VRule[1][\arrayrulewidth]{\vrule width #1}
  48.  
  49. \begin{document}
  50.  
  51. \newgeometry{tmargin=2.5cm, bmargin=2.5cm, lmargin=3.5cm, rmargin=2.5cm}
  52.  
  53. \tableofcontents
  54.  
  55. \newpage
  56. \section{random section}
  57. \subsection{random subsection}
  58.  
  59. \newpage
  60.  
  61. \renewcommand{\bibsection}{\section*{Bibliografia}}
  62. \renewcommand{\bibpreamble}{\vskip0.7cm}
  63. \nocite{*}
  64. \bibliographystyle{plain}
  65. \addtocontents{toc}{\protect\addvspace{8pt}}
  66. \phantomsection
  67. \addcontentsline{toc}{section}{\bibname}
  68. \bibliography{bibliografia/biblio}
  69.  
  70. \end{document}


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 5 guests