BibTeX, biblatex and biber ⇒ Problem with aux file for .bib file
-
- Posts: 3
- Joined: Sun Jun 12, 2011 12:10 am
Problem with aux file for .bib file
This is my first time posting on here, I don't know how to search for the solution to this. I've tried! So my apologies if I should be able to figure this out easily. Any help would be greatly appreciated.
I was told in order to get the references, I should pdflatex my file, bibtex my .bib file, and pdflatex my file twice.
At first this worked, but I changed my .bib file. When I tried to recompile my file, I got an error message which said:
This is BibTeX, Version 0.99d (TeX Live 2010)
The top-level auxiliary file: references.aux
I found no \citation commands---while reading file references.aux
I found no \bibdata command---while reading file references.aux
I found no \bibstyle command---while reading file references.aux
(There were 3 error messages)
I was then told by someone else that there is a known problem with Mac being able to properly replace the old aux file with the new one. I should delete the aux file and recompile. However, when I tried that, it creates a new aux file for all the other components in my root file. However, it doesn't create an aux file for my .bib file. So when i attempt to bibtex my references, it says there is no aux file.
Please help! Thanks!
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
Problem with aux file for .bib file
It's a bit unclear to me what you are really doing. The usual process is to run BibTeX on the *.aux file.spicycameldish wrote:[…] I was told in order to get the references, I should pdflatex my file, bibtex my .bib file, and pdflatex my file twice. […]
Code: Select all
pdflatex jobname
bibtex jobname
pdflatex jobname
pdflatex jobname
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 3
- Joined: Sun Jun 12, 2011 12:10 am
Re: Problem with aux file for .bib file
My friend says that the mac version of latex ( i'm using texshop) sometimes doesn't update the aux file properly.
I'm not sure what else to do.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problem with aux file for .bib file
Then ask the same friend for a remedy.spicycameldish wrote:[…] My friend says that the mac version of latex ( i'm using texshop) sometimes doesn't update the aux file properly. […]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 3
- Joined: Sun Jun 12, 2011 12:10 am
Re: Problem with aux file for .bib file
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problem with aux file for .bib file
Then you will have to wait until an adept Mac user comes along here.spicycameldish wrote:well i'm posting here for a reason. As I posted above, I did that. If my friend had a solution, do you think I would be asking for help?
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Problem with aux file for .bib file
delete all aux files to begin with.
put only your file.tex in a new map, together with library.bib (the database).
you run file.tex, there will be a file.aux but no library.aux, but that's ok.
run bibtex file. So don't run the library.bib. Just write:
\bibliographystyle{ieeetr}
\bibliography{library}
\end{document}
in file.tex
run file.tex again and it hopefully works.
I put it in new maps because maybe some .synctex ruin the whole thing.
good luck.
Problem with aux file for .bib file
On the main file I got:
Code: Select all
\bibliographystyle{plain}
\bibliography{Ref1}
\bibliography{Ref2}
I received this message:
Already delete .aux files, without any success.This is BibTeX, Version 0.99d (MiKTeX 2.9)
The top-level auxiliary file: aa.aux
I found no \bibdata command---while reading file aa.aux
I found no \bibstyle command---while reading file aa.aux
(There were 2 error messages)
I googled A LOT and didn't find any correct solution about this problem.
Regards
-
- Posts: 1
- Joined: Tue Mar 20, 2012 7:39 am
Problem with aux file for .bib file
Code: Select all
pdflatex myfile
bibtex myfile
pdflatex myfile
pdflatex myfile
- myfile builds correctly in
LaTeX => DVI
profile, including bibliography. - In
LaTeX => PDF
profile, BiBTeX reports that it cannot find\citation
,\bibdata
or\bibstyle
commands. - On opening up the myfile.aux file, there is only the text
\relax
and no othe contents. - When running MiKTeX from the command prompt, the file compiled correctly. In particular, the .aux had the
\citation
,\bibdata
or\bibstyle
commands. Command prompt entries were
- pdfTeX was trying to load a package for PDF, which it hadn't needed for DVI output.
- When running inside TeXnicCenter, since the GUI framework couldn't initialise, pdfTeX didn't complete building the .aux file. Thus (I theorise) BiBTeX could not find its commands.
- When running at the Command prompt, I clicked off the "Always show this dialog before installing packages". Net result is that pdfTeX (MiKTeX) is not waiting for user interaction, so the .aux file gets built.
Re: Problem with aux file for .bib file
And then just realised that my latex file had an error in a footnote (forgot to close).
So it is perfectly normal that some of these described errors are not GUI errors neither Latex errors but a mistake in any place of the file.
If you got an error and it did work before, try to remember what were the last things you did on the file and try to go back.
Good luck!
Mariana