latexrun icon indicating copy to clipboard operation
latexrun copied to clipboard

biblatex with biber only generated correctly on first run

Open languitar opened this issue 8 years ago • 4 comments

I am using biblatex with the biber backend. The first generation of a document perfectly if passing --bibtex-cmd biber in the command line. However, all subsequent generations of the document seem to skip important aspects resulting in missing dependencies until the output folder is deleted completely.

languitar avatar Feb 22 '16 16:02 languitar

Facing the same problem. This issue has been open for close to two years -- are we the only people using biber with latexrun, and if so, have you in the mean time found a solution, @languitar?

llarsson avatar Feb 14 '18 09:02 llarsson

I am back to latexmk with the integration provided by vimtex.

languitar avatar Feb 21 '18 13:02 languitar

I still use latexrun with biber. I am using this in my Makefile and it is working for me

.PHONY: all #FORCE $(BIBFILES).bib
all :
        $(LATEXRUN) ${latexfile}.tex
        biber ${latexfile}.bcf --output-directory latex.out
        $(LATEXRUN) --clean-all
        $(LATEXRUN) ${latexfile}.tex

shuwens avatar Oct 13 '20 17:10 shuwens

It appears that the issue is fixed for me if I make the change proposed in this PR. It seems that latexrun doesn't account for the .bcf file output by biber, and so thinks the bibtex generation is done before it actually is. The linked PR fixes that.

adamheins avatar Dec 18 '20 23:12 adamheins