Open pmaurel35 opened 8 years ago
Lots of things could be going on here. Can you post the output to the LaTeXTools console of an attempt to compile the document and maybe the log file as well? Also, what settings have you adjusted?
ok thanks for you answer .... I was indeed not really clear .... I tried to narrow the problem... apparently something is going wrong with (at least) the biblio... For example I have a very simple file:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\begin{document}
test ss \cite{550}
\bibliographystyle{plain}
\bibliography{example}
\end{document}
and the corresponding example.bib
@BOOK{550,
title = {MY TITLE},
author = {Nom1, Prenom1 and Nom2, Prenom2 and Nom3, Prenom3}
}
When I build via ST3 everything works fine but if I change the style from plain to abbrv, the style does not change. If I compile manually (through the command line with pdflatex and bibtex) the style DOES change....
The build console does not show any error or warning and I attached the log file test.log.txt
edit: oh and if delete temporary file through ST3, of course the style change normally
That is an odd issue... Are you using the traditional builder or one of the other builders?
I am using the traditional builder ...
Dont know if related but when I try to compile my actual file I have this kind of errors
[no file]: Package natbib Warning: There were undefined citations.
[no file]: Package rerunfilecheck Warning: File `MaThese.out' has changed.
[no file]: LaTeX Warning: There were undefined references.
[no file]: LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
Can you post the blg
file? Also, it might be helpful to try the basic
builder instead of the traditional
one, since that just runs pdflatex
-> bibtex
-> pdflatex
-> pdflatex
.
I tried with the basic
builder and there is no difference ...
Please find below the files I get when I:
test.bbl
\begin{thebibliography}{1}
\bibitem{550}
Prenom1 Nom1, Prenom2 Nom2, and Prenom3 Nom3.
\newblock {\em MY TITLE}.
\newblock publi, 2016.
\end{thebibliography}
test.blg
This is BibTeX, Version 0.99dThe top-level auxiliary file: test.aux
The style file: plain.bst
Database file #1: example.bib
these two files DID NOT change after second compilation (the one after modification of the style), I can see this on the "last modification time" ... and not surprisingly the still style plain.bst in the test.blg file ....
test.aux
(dont know if relevant) DID change and contain abbrv reference:\relax
\citation{550}
\bibstyle{abbrv}
\bibdata{example}
\bibcite{550}{1}
and again, the test.log.txt
edit: and if after this process (compile with plain style and recompile with abbrv style), I go to the command line and run bibtex test
, the output contains the right style: The style file: abbrv.bst
and if I compile again (through ST or directly pdflatex on command line) the pdf changes accordingly
Looking at this again, it appears that changing the bibstyle isn't enough to get LaTeX to complain about missing citations, and so none of the build tools will detect that bibtex needs to be run, hence the lack of updates. There are at least two options you can pursue here, depending on your preferences:
C-l, backspace
) after updating the bibstyle and re-run the build. Things should work as expected from there.script
builder to always run the sequence pdflatex
> bibtex
> pdflatex
> pdflatex
, which should always update regardless of any changes, etc. (See the section on the Script Builder in the README that explains exactly how to do that)ok thanks for your answer, this was just an small file of what I thought was a "minimal working example" of something bigger ... I dont really need that to change :)
however, what is weird is that when I try to make the same code compile on MacOs everything works fine : the change of style is well taken into account
On macOS, the traditional
builder uses latexmk
, which may be smart enough to detect this change. The traditional
builder with MiKTeX uses a different engine (texify
) which isn't nearly as clever, nor is our basic
builder.
oh ok, thanks for your help ! I thought it was latexmk on both :)
Hello everyone,
I had to reinstall my latex install on windows 10... I installed ST3, latextools and miktex and it's working almost fine ... The only thing is that when I modify the .tex file it just reopen the previous version of the pdf (it does not recompile). If I delete the temp files and recompile, the changes are taken into account. I am guessing some problems with latexmk but I cant see what to do ... any suggestion ?
I tried to uninstall/reinstall everything but without success ...
thanks