BibTeX, biblatex and biberProblem with texmaker and bibtex

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
izaldavid
Posts: 1
Joined: Mon May 18, 2009 10:25 am

Problem with texmaker and bibtex

Post by izaldavid »

Hi all,

I'm using texmaker under windows vista.I have a weird problem with the bibliography...when i try to compile the tex file, the bibliography doesn't appear and when i use \cite{}, it appears [?] in the document.
Anyone has the same problem...or similar? How do you use to compile (F2-F11-F2-F2)?

Code: Select all

\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{plain}
\bibliography{myref}
\end{document}
myref.bib

Code: Select all

@book{schiller,
	title ={Mobile Communications},
	author = {Jochen Schiller},
	publisher = {Addison Wesley},
	year = {2003},
	isbn = {9780321123817},
}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
Gilligan
Posts: 8
Joined: Thu Sep 24, 2009 10:39 pm

Re: Problem with texmaker and bibtex

Post by Gilligan »

Did you ever get this figured out? I am having this problem as well.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with texmaker and bibtex

Post by localghost »

A minimal working example (MWE) together with the according log file is always helpful.


Best regards and welcome to the board
Thorsten
Gilligan
Posts: 8
Joined: Thu Sep 24, 2009 10:39 pm

Problem with texmaker and bibtex

Post by Gilligan »

Ok, here is my tex file

Code: Select all

\documentclass{article}
\begin{document}
Test
\cite{Krstic95}
\bibliographystyle{plain}
\bibliography{mybib}
\end{document}
mybib is saved in the same folder as the tex file and is given as

Code: Select all

@BOOK{Krstic95,
   author = "M. Krstic and I. Kanellakopoulos and P. Kokotovic",
   title= "Nonlinear and Adaptive Control Design",
   publisher = "Wiley-Interscience",
   year = 1995 
   }
I try to build the tex, then the bib, then the tex twice and it doesnt work. I get a warning that Citation 'Krstic95' % on page 1 is undefined. I really appreciate any help ypu folks can give. Thanks
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Problem with texmaker and bibtex

Post by meho_r »

No problem here (though not on Vista but Ubuntu). I used your code and named the file test.tex, then created file mybib.bib with the entry you provided and put it at the same place as test.tex Then I ran latex-bibtex-latex-latex (F2-F11-F2-F2) in Texmaker and got full reference.

Where did you put your files? Can you tell full path? It is possible that path with spaces in it prevents from correct compiling bibliographies too as was case with including pictures in some cases on Windows (e.g. your Desktop which is on C:\Documents and Settings... which contains spaces). You may try putting your files in C:\Test or similar location without spaces in its name/path and try again.
Gilligan
Posts: 8
Joined: Thu Sep 24, 2009 10:39 pm

Re: Problem with texmaker and bibtex

Post by Gilligan »

I put the files into C:\LatexTest and I am still getting [?] on every reference and no actual references coming up in the ref section. I even tried using sumatra pdf viewer instead of acrobat to no avail. This is really frustrating, especially since you can do it with the same example code. Any other ideas out there?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Problem with texmaker and bibtex

Post by localghost »

Post the complete log file produced by the compiler with exact these prerequisites as attachment to your next post.
Gilligan
Posts: 8
Joined: Thu Sep 24, 2009 10:39 pm

Re: Problem with texmaker and bibtex

Post by Gilligan »

Here it is
Attachments
motorPaperSept16_2009.log
(27.05 KiB) Downloaded 445 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Problem with texmaker and bibtex

Post by localghost »

At first, please upload complete files as attachment to the forum server as requested. The provided log file is not produced by the code you posted above. Maybe I didn't say that clear enough. Just take your simple example from above and attach the according log file.
Gilligan
Posts: 8
Joined: Thu Sep 24, 2009 10:39 pm

Re: Problem with texmaker and bibtex

Post by Gilligan »

Sorry, I included the log of the actual file I am working on. Here is my code once again
Here is the log file as an attachment.

Here again is the code that produced it ('TestingBib.tex'), which doesn't work for me

\documentclass{article}
\begin{document}
Test
\cite{Krstic95}
\bibliographystyle{plain}
\bibliography{testingBib}
\end{document}

Here is my bib file ('testingBib.bib'), saved in the same folder as the tex file above

@BOOK{Krstic95,
author = "M. Krstic and I. Kanellakopoulos and P. Kokotovic",
title= "Nonlinear and Adaptive Control Design",
publisher = "Wiley-Interscience",
year = 1995
}


Thanks again.

Gideon
Attachments
TestingBib.log
log file
(2.59 KiB) Downloaded 392 times
Post Reply