Texmaker and TeXstudioMultibib problem with TexMaker

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
texic
Posts: 3
Joined: Sun May 15, 2011 7:21 pm

Multibib problem with TexMaker

Post by texic »

Hi

I'm using TexMaker, Miktex on Windows 7 but I can't create the bibliography with the multibib package. I created a short example which I think should be correct. It would be great if someone could help me this problem drives me crazy. I don't care if I have to use another package but right now multibib is the onle package I know that can create mutliple bibliographies.

I'd like to create one bibliography for the figgures one for the literature. So these are my files:
bibTest.tex
fig.bib
lit.bib

The content of the files:

bibTest.tex

Code: Select all

\documentclass{article}
\usepackage{url}
\usepackage{multibib}
\newcites{lit}{Literature References}
\newcites{fig}{Figure References}

\begin{document}
This is a cite from Lisa \citelit{Lisa1995}. This one is from Bart \citelit{Bart2001}. And this is Bart \citefig{PicBart}. Here comes Lisa \citefig{PicLisa}

\bibliographystylel[code]
it{alpha}
\bibliographylit{lit}
\renewcommand{\refname}{Figures}
\bibliographystylefig{plain}
\bibliographyfig{fig}

\end{document}
[/code]

lit.bib

Code: Select all

@Book{Lisa1995,
author = {Lisa},
title = {The Saxophone},
publisher = {Sprinfield},
year = {2001}
}

@Book{Bart2001,
author = {Bart},
title = {School is great},
publisher = {},
year = {1956}
}
fig.bib

Code: Select all

@Misc{PicBart,
author = {Homer},
title = {Barts Picture},
howpublished = {WWW Document},
year = {2008},
note = {Bla bla  Pic One}
}

@Misc{PicLisa,
author = {Marge},
title = {Lisas Picture},
howpublished = {WWW Document},
year = {1990},
note = {bla bla Pic Two}
}
I'll get the following errors:
...bibTest.tex | Warning | line 8 | Citation ' Lisa1995' on page 1 undefined
this error for all citations plus one Warning:
...bibTest.tex | Warning | line 8 | There were undefined references

Creating Bibliographies without mutlibib works fine. (The multibib package should be installed (how can I check that? -> the multibib.sty is in the latex folder))

any suggestion is recomended :)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Multibib problem with TexMaker

Post by Stefan Kottwitz »

Hi texic,

welcome to the board!
texic wrote:The multibib package should be installed (how can I check that? -> the multibib.sty is in the latex folder)
you can check it by kpsewhich:

Code: Select all

kpsewhich multibib.sty
Stefan
LaTeX.org admin
texic
Posts: 3
Joined: Sun May 15, 2011 7:21 pm

Re: Multibib problem with TexMaker

Post by texic »

thanks stefan
multibib is installed :)
texic
Posts: 3
Joined: Sun May 15, 2011 7:21 pm

Re: Multibib problem with TexMaker

Post by texic »

hmm... I just tried it with TechnixCenter and it worked, except the pdf looks weired - some text looks like bold.

The other thing is that I actually wanna use TexMaker because I'm already used to it and sometimes I use my Mac and there is no TechnixCenter for MacOsX.

So if anyone has a solution for multibib and TexMaker... :)
Post Reply