texstudio-org / texstudio

TeXstudio is a fully featured LaTeX editor. Our goal is to make writing LaTeX documents as easy and comfortable as possible.
http://www.texstudio.org/
GNU General Public License v3.0
2.79k stars 344 forks source link

bibtex doesn't work when aux files separated: couldn't open file name 'main.aux' #3542

Closed DiffPetrovich closed 7 months ago

DiffPetrovich commented 7 months ago

Hello!

Seems bibtex doesn't work when aux files stored in separate folder. The command I use in settings: bibtex.exe -include-directory=E:\LaTeX\Temp %

(But it's somewhat unclear what the syntax of this particular command should be from the guide)

I thought the problem is with bibtex.exe itself, but somehow it works fine when I use SublimeText + LaTeXTools + aux file storing in \<<temp>>.

Environment

Additional:

Expected behavior

Should work as with no aux separation: fully ready document

Actual behavior

I receive message:

I couldn't open file name `main.aux'

Bibliography doesn't compile, citation numbers are ?

Additional

Related LaTeXTools settings: "aux_directory": "\<<temp>>" "output_directory": "\<<temp>>" (use to hide synctex.gz) "copy_output_on_build": true (get pdf only) "builder": "basic"

Content of \<<temp>> folder used for Sublime after compilation: image

Content of my custom temp folder used for TeXstudio: image

sunderme commented 7 months ago

this is a general latex set-up question. I propose to ask on tex.stackexchange This list is focused on texstudio, the editor, issues.