Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BibTex cannot export the default-working-dir to .run when store as files #3354

Closed
e71828 opened this issue Dec 11, 2023 · 4 comments · Fixed by #3536
Closed

BibTex cannot export the default-working-dir to .run when store as files #3354

e71828 opened this issue Dec 11, 2023 · 4 comments · Fixed by #3536
Labels
bug Deficiencies in TeXiFy behaviour.
Milestone

Comments

@e71828
Copy link

e71828 commented Dec 11, 2023

Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version

Operating System

Windows

TeXiFy IDEA version

0.9.2

What I did (steps to reproduce)

store as the project file
git push
git clone somewhere

Minimal example to reproduce the problem

\documentclass{article}
\begin{document}
    
\end{document}

Expected behavior

auto detect the working dir, default out

compile with my references.

ref and citition show in PDF

Actual behavior

compile without my references, the pdf not show the cititions.

and I find the BibTex confiugration show the working dir is empty.

(if applicable) The full stacktrace of the exception thrown


@e71828 e71828 added bug Deficiencies in TeXiFy behaviour. untriaged Issue type still needs to be triaged or verified. labels Dec 11, 2023
@PHPirates
Copy link
Collaborator

Can you give the full xml? For me the working directory is there:

...
<aux-dir>$PROJECT_DIR$/out</aux-dir>
...

@PHPirates PHPirates added more-info-needed More information is needed from the person filing the issue. and removed untriaged Issue type still needs to be triaged or verified. labels Dec 12, 2023
@e71828
Copy link
Author

e71828 commented Dec 13, 2023

Yes, thank you.

I found that when PyCharm reads the run configuration file in XML, it didn't retrieve the out directory, so I opened configuration and the working-directory was blank. My previous statement about the absence of the working-dir was inaccurate.

@e71828
Copy link
Author

e71828 commented Dec 13, 2023

this is my .run/BibLatex.run.xml

and the xml was modified afte I cloned and pushed. I think is wired, Because obviously I would not modify that line.

image

@PHPirates PHPirates removed the more-info-needed More information is needed from the person filing the issue. label Dec 13, 2023
@PHPirates
Copy link
Collaborator

Thanks a lot! You are right, the path $APPLICATION_HOME_DIR$/jbr/bin clearly does not make any sense and should never have been put there by TeXiFy. I will have a look how this can happen, I think it occurs if somehow the path becomes empty.

As a workaround, if you change it manually in the run configuration UI it should be fixed, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Deficiencies in TeXiFy behaviour.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants