BibTeX, biblatex and biber ⇒ How to use multibib...?
How to use multibib...?
The additional bibliography does not show - I get the warnings:
Package natbib Warning: Citation 'reference' on page xx undefined
I am using documentclass{report}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to use multibib...?
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
How to use multibib...?
Main file:
Code: Select all
\documentclass[a4paper,11pt,twoside,openright,english,fleqn]{report}
\usepackage[numbers]{natbib}
\usepackage{multibib}
\newcites{dk}{Litteratur}
\begin{document}
\part{First part with bib.}
\chapter{Header I}
Some random text for part I. According to \citedk{1}
\bibliographystyledk{plain}
\bibliographydk{litteratur}
\part{Second part with bib.}
\chapter{Header II}
Some random text for part II. \cite{Galbraith}
\renewcommand{\refname}{Bibliography}
\bibliographystyle{plain}
\bibliography{litteratur}
\end{document}
Code: Select all
@article{1,
author={A. Haufe and D. Lorenz and K. Roll and P. Bogon},
year={2008},
title={Concepts to take elastic {Tool} {Deformations} in {Sheet} {Metal} {Forming} into account},
journal = {10$^{th}$ International LS-DYNA$^{\text{\textregistered}}$\ Users Conference},
pages={19--26},
note = {Metal Forming(1)},
}
@Manual{Galbraith,
author="Chris Galbraith",
title ="{Sheet Metal Forming Simulation Using {LS-DYNA}}",
organization ="\\Metal Forming Analysis Corporation",
year ="2001",
note ="Course notes",}
How to use multibib...?
in a .bib file you cannot use math mode commands (such as "$" and "^"). Change your bib database to
Code: Select all
@article{1,
author={A. Haufe and D. Lorenz and K. Roll and P. Bogon},
year={2008},
title={Concepts to take elastic {Tool} {Deformations} in {Sheet} {Metal} {Forming} into account},
journal = {10\textsuperscript{th} International LS-DYNA\textsuperscript{\textregistered}\ Users Conference},
pages={19--26},
note = {Metal Forming(1)}
}
@Manual{Galbraith,
author="Chris Galbraith",
title ="{Sheet Metal Forming Simulation Using {LS-DYNA}}",
organization ="\\Metal Forming Analysis Corporation",
year ="2001",
note ="Course notes"}
Re: How to use multibib...?
How to use multibib...?
Please, process your code (I'll refer to it as test.tex) in the standard way, using the .bib database modified as I suggested:
Code: Select all
(pdf)latex test
bibtex test
bibtex dk
(pdf)latex test
(pdf)latex test
- Attachments
-
- test.pdf
- (75.61 KiB) Downloaded 1528 times
Re: How to use multibib...?
Are u using a two-file bib-database or just one like in the documentation?
Furthermore, I have defined TWO new bibs (in the example only one extra is defined), eventhough I only need one extra - otherwise I could not compile the bib-file.
How to use multibib...?
My previous reply was crystal clear. I only used one bibliographical database.Medova wrote:...Are u using a two-file bib-database or just one like in the documentation?..