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}
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
- 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 testbibtex testbibtex dk(pdf)latex test(pdf)latex test
- Attachments
-
- test.pdf
- (75.61 KiB) Downloaded 1478 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?..