[Tex/LaTex] Multibib doesn’t show

multibib

I want to separate my bibliography in two parts: 1) Articles, books, etc. 2) Webpages.

I am using multibib, but something is wrong. When I run my Latex, it only shows the first bibliography.

I have tried to select a single piece of my latex doc, and tried run it separate. For this part it works.

My document is as follow:

\documentclass[12pt,danish,a4paper]{article}
\usepackage[danish]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{float}
\usepackage{lastpage}
\usepackage{enumerate}
\usepackage{booktabs}
\setcounter{secnumdepth}{5}
\usepackage[font={small,it}]{caption}
\setcounter{tocdepth}{5}
\usepackage[hidelinks]{hyperref}
\usepackage{color}
\usepackage{enumitem}
\usepackage[top=3cm, bottom=3cm, left=2cm, right=2cm]{geometry}
\usepackage{setspace}
\usepackage[round]{natbib}
\usepackage{titlesec}
\usepackage[table,xcdraw]{xcolor}
\numberwithin{equation}{section}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\chead{\emph{Title of text}}
\cfoot{\thepage\ of \pageref{mylastpage}}
\linespread{1.5}
\usepackage{setspace}
\usepackage{array,booktabs,tabularx}
\newcolumntype{L}{>{\arraybackslash}X} 
\usepackage[nottoc,numbib]{tocbibind}
\usepackage[toc,page]{appendix}
\usepackage{multibib}
\newcites{web}{Webpages)

\begin{document}

text... \cite{xxx}, \citeweb{xxxx}.

\newpage
\bibliographystyle{agsm}
\bibliography{Litterature}

\bibliographystyleweb{agsm}
\bibliographyweb{Litterature}

\end{document} 

Is there something wrong with the preamble? It seems like something is annoying my second bibliography, although im not getting any errors?

Best Answer

According to the multibib-documentation you have to run bibtex for each additional bibliography created by \newcites. You are creating one additional bibliography called "web" with \newcites{web}{Webpages). So you have to run (assuming your document is called yourdoc.tex):

pdflatex yourdoc  #or equivalently "yourdoc.tex"
bibtex yourdoc    #or equivalently "yourdoc.aux"
bibtex web        #or equivalently "web.aux"
pdflatex yourdoc
pdflatex yourdoc

If you don't want to run bibtex manually, you can use latexmk, which is able to handle multibib.