BibTeX, biblatex and biberBibtex beginner

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
john_latex
Posts: 20
Joined: Wed Dec 22, 2010 10:21 pm

Bibtex beginner

Post by john_latex »

I'm new to Latex and learning how to write documents in Latex. Using Miktex, Winshell. I run through some example documents to know how to use Bibliography in documents. Attached is sample tex document, bibliography document. I was not able to get the references after latex run, bibtex run, latex run, latex run. Attached is output pdf document. Please help me to solve get bibliography running.
Thnx.
Attachments
Maxwell's Equations.pdf
Pdf document
(165.38 KiB) Downloaded 230 times
bibliography.bib
bib document
(1.9 KiB) Downloaded 254 times
Maxwell's Equations.tex
tex document
(27.79 KiB) Downloaded 257 times
Last edited by john_latex on Fri Dec 24, 2010 11:07 am, edited 1 time in total.

Recommended reading 2024:

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

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Bibtex beginner

Post by frabjous »

The problem doesn't seem to be with the files. When I run pdflatex, bibtex, pdflatex and pdflatex I get the output attached, which has a bibliography.

So the problem must be with the way you're running them. How are you processing them? Are you using a LaTeX editor, and is it configured right? Make sure it's not configured to delete or clean auxiliary files between runs. Can you process from the command line OK? Do you get any errors or warnings?

One thing I'd look for is whether the apostrophe in the filename is causing problems. Sometimes quotation marks are used for grouping in commands, especially to make sure that filenames with spaces in them are treated as one name rather than one than several, and I could see the apostrophe here causing a problem.
Attachments
Maxwell's Equations.pdf
(161.69 KiB) Downloaded 205 times
john_latex
Posts: 20
Joined: Wed Dec 22, 2010 10:21 pm

Re: Bibtex beginner

Post by john_latex »

@ frabjous

Thanks for your reply. I think my Latex editor is not configured. First, I was running Latex (for *.tex), Bibtex ( for *.bib), Latex (for *.tex), Latex (for *.tex). After reading your reply, I tried pdflatex (Maxwell's Equation.tex), Bibtex (bibliography.bib), pdflatex (Maxwell's Equation.tex), pdflatex (Maxwell's Equation.tex).
I got the following errors at output window of Winshell.
Please help to configure Winshell.
*********************************************************************************
Building project: Maxwell's Equations
--------------------------------------------------


--------------------------------------------------
SyncTeX cannot handle spaces in the filename.

Workaround: Either remove the spaces in the filename or
remove the '-synctex=-1' option from the cmd-line in the WinShell options for pdflatex.
*********************************************************************************
*********************************************************************************
Building project: bibliography
--------------------------------------------------


--------------------------------------------------
bibliography - 3 error(s), 0 warning(s), 0 overfull box(es), 0 underfull box(es)
*********************************************************************************
john_latex
Posts: 20
Joined: Wed Dec 22, 2010 10:21 pm

Re: Bibtex beginner

Post by john_latex »

I renamed .tex file by removing space. New file name is MaxwellsEquation.tex. Still, I have the following errors. Please help. Thanks

Building project: MaxwellsEquations
--------------------------------------------------


--------------------------------------------------
Maxwell'sEquations - 0 error(s), 7 warning(s), 0 overfull box(es), 0 underfull box(es)
-------------------------------------------------------------------------------------
Building project: bibliography
--------------------------------------------------


--------------------------------------------------
bibliography - 3 error(s), 0 warning(s), 0 overfull box(es), 0 underfull box(es)
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Bibtex beginner

Post by frabjous »

You need to run bibtex on the file "MaxwellsEquations.aux" (or whatever you've renamed it to now)--a file which is created when you run latex the first time--not on "bibliography.bib". BiBTeX will find the latter file on its own.

So the sequence is:

Code: Select all

pdflatex MaxwellsEquations.tex
bibtex MaxwellsEquations.aux
pdflatex MaxwellsEquations.tex
pdflatex MaxwellsEquations.tex
If you continue to have problems, post (copy and paste into a [ code ] box) the .blg file that is created here so we can see what those three errors were.
john_latex
Posts: 20
Joined: Wed Dec 22, 2010 10:21 pm

Re: Bibtex beginner

Post by john_latex »

Thanks for your reply. Still there is errors. I could not find .blg file, I have uploaded all the files in attachment. Please help. Thanks.
john_latex
Posts: 20
Joined: Wed Dec 22, 2010 10:21 pm

Re: Bibtex beginner

Post by john_latex »

Attached aux, text file, synctex, toc file.
Thanks.
Attachments
MaxWellsEquations.zip
Zip file
(100.37 KiB) Downloaded 147 times
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Bibtex beginner

Post by frabjous »

If there is no .blg file then BibTeX is not being run at all, or it is being run on the wrong file (or its output is being deleted somehow).

Probably Winshell is configured incorrectly. I'm not a Windows user and don't know anything about Winshell. Sorry. Maybe someone else will.
john_latex
Posts: 20
Joined: Wed Dec 22, 2010 10:21 pm

Re: Bibtex beginner

Post by john_latex »

Thank you for your direction. Tex file is running.
Post Reply