BibTeX can't find aux file.
See original GitHub issueType of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
IntelliJ IDEA 2022.1.1 (Ultimate Edition)
Operating System
Windows 10
TeXiFy IDEA version
0.7.19
What I did (steps to reproduce)
- Create new project (MiKTeX Windows SDK (MiKTeX 21.10), Configure with BibTeX support)
- Project format .idea (directory-based)
- Add some text to the default
main.tex
file. - Add an entry to the default
main.bib
file. - Use the
\cite{}
command in themain.tex
file. - Run ‘main’
The result is I couldn't open file name 'main.aux'
on the bibtex command, and undefined references in the produced PDF. Note that the bibtex command is
bibtex -include-directory=C:/Users/User/Documents/LaTeX_Projects/bibibibib/src -include-directory=C:/Users/User/Documents/LaTeX_Projects/bibibibib/src main
It seems to me that instead of including the src and auxil directory, the src is included twice, though I have tried running the command manually with the auxil directory included and I get the same result. Copying the main.aux
file into the out folder makes the bibtex command work and the bibliography is printed, but the references are still undefined, copying it again after the second compilation makes the references work as well.
Issue Analytics
- State:
- Created a year ago
- Comments:6
Ok I can confirm that changing the Working directory for bibtex to auxil works. Thank you for the quick replies and help!
Oh, I see. The auto-generated working directory for bibtex is
out
but that should beauxil
. You can change that in the bibtex run configuration under ‘Working directory for bibtex’ for now, I will make sure to change the default. Thanks for noticing!