BibTeX, biblatex and biber ⇒ Bibtex beginner
-
- Posts: 20
- Joined: Wed Dec 22, 2010 10:21 pm
Bibtex beginner
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.
Thnx.
- Attachments
-
- Maxwell's Equations.pdf
- Pdf document
- (165.38 KiB) Downloaded 229 times
-
- bibliography.bib
- bib document
- (1.9 KiB) Downloaded 253 times
-
- Maxwell's Equations.tex
- tex document
- (27.79 KiB) Downloaded 256 times
Last edited by john_latex on Fri Dec 24, 2010 11:07 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: Bibtex beginner
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.
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 204 times
-
- Posts: 20
- Joined: Wed Dec 22, 2010 10:21 pm
Re: Bibtex beginner
@ 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)
*********************************************************************************
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)
*********************************************************************************
-
- Posts: 20
- Joined: Wed Dec 22, 2010 10:21 pm
Re: Bibtex beginner
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)
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)
Bibtex beginner
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:
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.
So the sequence is:
Code: Select all
pdflatex MaxwellsEquations.tex
bibtex MaxwellsEquations.aux
pdflatex MaxwellsEquations.tex
pdflatex MaxwellsEquations.tex
-
- Posts: 20
- Joined: Wed Dec 22, 2010 10:21 pm
Re: Bibtex beginner
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.
-
- Posts: 20
- Joined: Wed Dec 22, 2010 10:21 pm
Re: Bibtex beginner
Attached aux, text file, synctex, toc file.
Thanks.
Thanks.
- Attachments
-
- MaxWellsEquations.zip
- Zip file
- (100.37 KiB) Downloaded 146 times
Re: Bibtex beginner
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.
Probably Winshell is configured incorrectly. I'm not a Windows user and don't know anything about Winshell. Sorry. Maybe someone else will.
-
- Posts: 20
- Joined: Wed Dec 22, 2010 10:21 pm
Re: Bibtex beginner
Thank you for your direction. Tex file is running.