-
-
Notifications
You must be signed in to change notification settings - Fork 89
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 Connection for Configuration does not seem to work for Python Project. #1208
Comments
I think you are creating the run config manually, instead of via the gutter icon next to \begin{document} or using the shortcut for that? |
Ah, unterstood. Yes, I created it manually and was confused not to find it working out of the box. Via the gutter icon everything works as expected. Thanks! |
Dear @PHPirates , Sorry for this stupid question, but with IntelliJ Utilmate I am running into similar problems on a Mac - although I generated the run-config via the gutter icon. Steps to reproduce this problem:
I also get the warning - Package natbib Warning: There were undefined citations. What am I missing? Biber is working fine, but for this paper I have to use elsearticle... Thanks for your help! |
@cbtum Thanks for the question, I never tried the elsevier class before. Can you help me by providing a minimal example of something that reproduces your problem? This works fine for me, and the
\documentclass{elsarticle}
\begin{document}
When you are not looking at it, this sentences stops citing~\cite{knuth1990}.
\bibliography{references}
\bibliographystyle{plain}
\end{document}
@book{knuth1990,
author = {Knuth, Donald E.},
title = {The {\TeX} book },
year = {1990},
isbn = {0-201-13447-0},
publisher = {Addison\,\textendash\,Wesley},
bibsource = {out/main.pdf},
} Just to be sure: what IntelliJ/IDEA and TeXiFy version are you using? I do note that the Elsevier class uses Natbib, but in your comment you are talking about biber. You cannot use biber with natbib, you have to use the bibtex compiler. (https://tex.stackexchange.com/a/299286/98850) |
Dear @PHPirates, |
@cbtum Ah I see, well TeXiFy should detect automatically that you want to use bibtex, very similar as to using biber. I still want to know: what IntelliJ/IDEA and TeXiFy version are you using? Though now I try my above example again using the latest alpha build of TeXiFy with pdflatex+bibtex instead of latexmk, it indeed doesn't work for me also (with the article class) - so at least there is a bug somewhere, though if you are using version 0.6.8 then you probably are not running into this. Two problems for me:
|
Dear @PHPirates, I don't even get a
To me it seems as if bibtex is not installed / configured properly. I don't even have a Bibtex run-config (it only creates the latex runconfig). |
Oh, wait, I forgot you had to set the path manually on a Mac. Any idea why that is? |
Dear @PHPirates , right, after configuring the bibtex manually, I at least get the following output: Do I need any compiler arguments? For biber for instance, I am using a different output directory via
In this case however, all files are in the same directory. Was just wandering, whether something should be specified in addition... |
I'm not sure what you mean, does it work now or not? |
Sorry to bother you. After starting again and doing the whole setup manually, I have a working configuration now. This is what I did:
Optionally: Create another LaTeX run-config which does not compile twice and which is not linked to a bib config. @PHPirates : Thanks again for your help and sorry for these stupid questions.. |
@cbtum Thanks, so I think the only problem was that you had to provide a path to the bibtex compiler manually? Unfortunately there's no TeXiFy developer with a Mac at the moment, so we can't easily solve that issue. |
@PHPirates , texify did not create the BibTeX runconfig, so I though the bibtex-compiler was somehow included. Still, after this problem is solved I am happy to continue using TeXiFy. Great work guys! |
Hm strange, not sure why it didn't create the bibtex run config. Maybe we can look into that another time. Good to hear the problem is solved, thanks! |
Found this issue and it set me on the right path, so leaving this here for anyone else searching. For Nixos, even if ye run from teh gutter it still fails to make the references. |
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
PyCharm 2019.3.2 Professional
Operating System
MacOS Mojave
TeXiFy IDEA version
0.6.7
What I did (steps to reproduce)
Existing Python Project. Structure:
src/
thesis/
main.tex (includes
\input{main-content}
\bibliographystyle{abbrvnat} % OR {abbrvnat}
\bibliography{mainBibliography}
main-content.tex
\cite{SourceExistingInMainBibliography}
mainBibliography.bib
...
I create a run configuration for the main.tex with pdfLatex compiler, rest default,
and compiled my main.tex file
Expected behavior
Everything should work fine, cited sources should be available and References displayed in pdf.
Actual behavior
The link to the .bib does not seem to work. Sources are never displayed and I get the below warning. In the configuration BibTex is "disabled" but without any entrees to enable it. MikTeX is installed an "bibtex --version" in console works i.e. fine.
(if applicable) The full stacktrace of the exception thrown
The text was updated successfully, but these errors were encountered: