Multibib doesn't show











up vote
0
down vote

favorite












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?










share|improve this question
























  • I am using bibtex, by the way.
    – Christine
    Sep 4 '16 at 18:37










  • There is a typo in your code newcites should end with } not ). Leaving this aside: Are you running bibtex on web.aux?
    – DG'
    Sep 4 '16 at 19:11










  • Im not sure what you mean by running web.aux? Do I have to make two separate bibtex files, in order make two separate bibliography? I only have a bibtex file called Litterature, but have runned bibtex several times on that.
    – Christine
    Sep 5 '16 at 9:58










  • According to the documentation, you have tor run bibtex for each bibliography created by newcites. In your case this is web.
    – DG'
    Sep 5 '16 at 15:23















up vote
0
down vote

favorite












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?










share|improve this question
























  • I am using bibtex, by the way.
    – Christine
    Sep 4 '16 at 18:37










  • There is a typo in your code newcites should end with } not ). Leaving this aside: Are you running bibtex on web.aux?
    – DG'
    Sep 4 '16 at 19:11










  • Im not sure what you mean by running web.aux? Do I have to make two separate bibtex files, in order make two separate bibliography? I only have a bibtex file called Litterature, but have runned bibtex several times on that.
    – Christine
    Sep 5 '16 at 9:58










  • According to the documentation, you have tor run bibtex for each bibliography created by newcites. In your case this is web.
    – DG'
    Sep 5 '16 at 15:23













up vote
0
down vote

favorite









up vote
0
down vote

favorite











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?










share|improve this question















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?







multibib






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 4 '16 at 18:34

























asked Sep 4 '16 at 18:30









Christine

84




84












  • I am using bibtex, by the way.
    – Christine
    Sep 4 '16 at 18:37










  • There is a typo in your code newcites should end with } not ). Leaving this aside: Are you running bibtex on web.aux?
    – DG'
    Sep 4 '16 at 19:11










  • Im not sure what you mean by running web.aux? Do I have to make two separate bibtex files, in order make two separate bibliography? I only have a bibtex file called Litterature, but have runned bibtex several times on that.
    – Christine
    Sep 5 '16 at 9:58










  • According to the documentation, you have tor run bibtex for each bibliography created by newcites. In your case this is web.
    – DG'
    Sep 5 '16 at 15:23


















  • I am using bibtex, by the way.
    – Christine
    Sep 4 '16 at 18:37










  • There is a typo in your code newcites should end with } not ). Leaving this aside: Are you running bibtex on web.aux?
    – DG'
    Sep 4 '16 at 19:11










  • Im not sure what you mean by running web.aux? Do I have to make two separate bibtex files, in order make two separate bibliography? I only have a bibtex file called Litterature, but have runned bibtex several times on that.
    – Christine
    Sep 5 '16 at 9:58










  • According to the documentation, you have tor run bibtex for each bibliography created by newcites. In your case this is web.
    – DG'
    Sep 5 '16 at 15:23
















I am using bibtex, by the way.
– Christine
Sep 4 '16 at 18:37




I am using bibtex, by the way.
– Christine
Sep 4 '16 at 18:37












There is a typo in your code newcites should end with } not ). Leaving this aside: Are you running bibtex on web.aux?
– DG'
Sep 4 '16 at 19:11




There is a typo in your code newcites should end with } not ). Leaving this aside: Are you running bibtex on web.aux?
– DG'
Sep 4 '16 at 19:11












Im not sure what you mean by running web.aux? Do I have to make two separate bibtex files, in order make two separate bibliography? I only have a bibtex file called Litterature, but have runned bibtex several times on that.
– Christine
Sep 5 '16 at 9:58




Im not sure what you mean by running web.aux? Do I have to make two separate bibtex files, in order make two separate bibliography? I only have a bibtex file called Litterature, but have runned bibtex several times on that.
– Christine
Sep 5 '16 at 9:58












According to the documentation, you have tor run bibtex for each bibliography created by newcites. In your case this is web.
– DG'
Sep 5 '16 at 15:23




According to the documentation, you have tor run bibtex for each bibliography created by newcites. In your case this is web.
– DG'
Sep 5 '16 at 15:23










2 Answers
2






active

oldest

votes

















up vote
0
down vote



accepted










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
bibtex yourdoc
bibtex web
pdflatex yourdoc
pdflatex yourdoc


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






share|improve this answer























  • I have now created two separate bibtex files. One called "Literature" and one called "Web". When I run my doc and bibtex as you described, it still doesn't work. It only shows "Literature". Also, bibtex "web" doesn't show up in my structure.
    – Christine
    Sep 6 '16 at 8:19












  • You do not have to create two bibtex files. You just have to run bibtex twice, i.e. once for each .aux-file.
    – DG'
    Sep 6 '16 at 8:21


















up vote
0
down vote













Still not working for me. I got The same problem.
It’s Printing only The first bibliography. When I run on Overleaf it works perfectly but when I compile on Texniccenter it only prints The first.



The best I got was for The program To read The citations in The second bibliography but does not print the references page.



I run The bibtex several times as You guys told here to but still didn’t work on texniccenter. Someone knows why?






share|improve this answer








New contributor




Mayra Madeira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • Sorry, but here is not quite the place to ask a question, as not many people will see it here. If you have a new question, click the Ask Question button instead.
    – Phelype Oleinik
    9 mins ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f327976%2fmultibib-doesnt-show%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










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
bibtex yourdoc
bibtex web
pdflatex yourdoc
pdflatex yourdoc


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






share|improve this answer























  • I have now created two separate bibtex files. One called "Literature" and one called "Web". When I run my doc and bibtex as you described, it still doesn't work. It only shows "Literature". Also, bibtex "web" doesn't show up in my structure.
    – Christine
    Sep 6 '16 at 8:19












  • You do not have to create two bibtex files. You just have to run bibtex twice, i.e. once for each .aux-file.
    – DG'
    Sep 6 '16 at 8:21















up vote
0
down vote



accepted










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
bibtex yourdoc
bibtex web
pdflatex yourdoc
pdflatex yourdoc


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






share|improve this answer























  • I have now created two separate bibtex files. One called "Literature" and one called "Web". When I run my doc and bibtex as you described, it still doesn't work. It only shows "Literature". Also, bibtex "web" doesn't show up in my structure.
    – Christine
    Sep 6 '16 at 8:19












  • You do not have to create two bibtex files. You just have to run bibtex twice, i.e. once for each .aux-file.
    – DG'
    Sep 6 '16 at 8:21













up vote
0
down vote



accepted







up vote
0
down vote



accepted






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
bibtex yourdoc
bibtex web
pdflatex yourdoc
pdflatex yourdoc


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






share|improve this 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
bibtex yourdoc
bibtex web
pdflatex yourdoc
pdflatex yourdoc


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







share|improve this answer














share|improve this answer



share|improve this answer








edited Sep 6 '16 at 8:31

























answered Sep 5 '16 at 15:27









DG'

9,12011741




9,12011741












  • I have now created two separate bibtex files. One called "Literature" and one called "Web". When I run my doc and bibtex as you described, it still doesn't work. It only shows "Literature". Also, bibtex "web" doesn't show up in my structure.
    – Christine
    Sep 6 '16 at 8:19












  • You do not have to create two bibtex files. You just have to run bibtex twice, i.e. once for each .aux-file.
    – DG'
    Sep 6 '16 at 8:21


















  • I have now created two separate bibtex files. One called "Literature" and one called "Web". When I run my doc and bibtex as you described, it still doesn't work. It only shows "Literature". Also, bibtex "web" doesn't show up in my structure.
    – Christine
    Sep 6 '16 at 8:19












  • You do not have to create two bibtex files. You just have to run bibtex twice, i.e. once for each .aux-file.
    – DG'
    Sep 6 '16 at 8:21
















I have now created two separate bibtex files. One called "Literature" and one called "Web". When I run my doc and bibtex as you described, it still doesn't work. It only shows "Literature". Also, bibtex "web" doesn't show up in my structure.
– Christine
Sep 6 '16 at 8:19






I have now created two separate bibtex files. One called "Literature" and one called "Web". When I run my doc and bibtex as you described, it still doesn't work. It only shows "Literature". Also, bibtex "web" doesn't show up in my structure.
– Christine
Sep 6 '16 at 8:19














You do not have to create two bibtex files. You just have to run bibtex twice, i.e. once for each .aux-file.
– DG'
Sep 6 '16 at 8:21




You do not have to create two bibtex files. You just have to run bibtex twice, i.e. once for each .aux-file.
– DG'
Sep 6 '16 at 8:21










up vote
0
down vote













Still not working for me. I got The same problem.
It’s Printing only The first bibliography. When I run on Overleaf it works perfectly but when I compile on Texniccenter it only prints The first.



The best I got was for The program To read The citations in The second bibliography but does not print the references page.



I run The bibtex several times as You guys told here to but still didn’t work on texniccenter. Someone knows why?






share|improve this answer








New contributor




Mayra Madeira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • Sorry, but here is not quite the place to ask a question, as not many people will see it here. If you have a new question, click the Ask Question button instead.
    – Phelype Oleinik
    9 mins ago















up vote
0
down vote













Still not working for me. I got The same problem.
It’s Printing only The first bibliography. When I run on Overleaf it works perfectly but when I compile on Texniccenter it only prints The first.



The best I got was for The program To read The citations in The second bibliography but does not print the references page.



I run The bibtex several times as You guys told here to but still didn’t work on texniccenter. Someone knows why?






share|improve this answer








New contributor




Mayra Madeira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • Sorry, but here is not quite the place to ask a question, as not many people will see it here. If you have a new question, click the Ask Question button instead.
    – Phelype Oleinik
    9 mins ago













up vote
0
down vote










up vote
0
down vote









Still not working for me. I got The same problem.
It’s Printing only The first bibliography. When I run on Overleaf it works perfectly but when I compile on Texniccenter it only prints The first.



The best I got was for The program To read The citations in The second bibliography but does not print the references page.



I run The bibtex several times as You guys told here to but still didn’t work on texniccenter. Someone knows why?






share|improve this answer








New contributor




Mayra Madeira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









Still not working for me. I got The same problem.
It’s Printing only The first bibliography. When I run on Overleaf it works perfectly but when I compile on Texniccenter it only prints The first.



The best I got was for The program To read The citations in The second bibliography but does not print the references page.



I run The bibtex several times as You guys told here to but still didn’t work on texniccenter. Someone knows why?







share|improve this answer








New contributor




Mayra Madeira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer






New contributor




Mayra Madeira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered 31 mins ago









Mayra Madeira

1




1




New contributor




Mayra Madeira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Mayra Madeira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Mayra Madeira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Sorry, but here is not quite the place to ask a question, as not many people will see it here. If you have a new question, click the Ask Question button instead.
    – Phelype Oleinik
    9 mins ago


















  • Sorry, but here is not quite the place to ask a question, as not many people will see it here. If you have a new question, click the Ask Question button instead.
    – Phelype Oleinik
    9 mins ago
















Sorry, but here is not quite the place to ask a question, as not many people will see it here. If you have a new question, click the Ask Question button instead.
– Phelype Oleinik
9 mins ago




Sorry, but here is not quite the place to ask a question, as not many people will see it here. If you have a new question, click the Ask Question button instead.
– Phelype Oleinik
9 mins ago


















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f327976%2fmultibib-doesnt-show%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Lallio

Unable to find Lightning Node

Futebolista