shiblon / latex-makefile

A Makefile for LaTeX - drop it in, type make, and magic happens.
Other
185 stars 30 forks source link

support for biblatex #155

Open shiblon opened 8 years ago

shiblon commented 8 years ago

Originally reported on Google Code with ID 142

I actually don't know if this is a makefile... well...

The expected way:
--snip--
$ make clean
$ make
NOTE: You may ignore warnings about the following files:

     01-introduction.d

Makefile:2741: 01-introduction.d: No such file or directory
= 01-introduction.tex --> 01-introduction.d 01-introduction.pdf.1st.make (0-1) =
= 01-introduction-blx.bib biblatex-examples.bib 01-introduction.aux --> 01-introduction.bbl
=
REQ:1:latex:REQ
make: *** [01-introduction.pdf] Error 1
--snap--

The working way:
--snip--
$ make clean
$ pdflatex 01-introduction.tex 
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(./01-introduction.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech, slov
ak, danish, dutch, finnish, french, basque, ngerman, german, german-x-2009-06-1
9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, san
skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian, bokmal, nyn
orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto, uppersorbian
, estonian, indonesian, interlingua, icelandic, kurmanji, slovenian, polish, po
rtuguese, spanish, galician, catalan, swedish, ukenglish, pinyin, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
(/var/lib/texmf/tex/generic/babel/babel.sty
(/usr/share/texmf-texlive/tex/generic/babel/english.ldf
(/usr/share/texmf-texlive/tex/generic/babel/babel.def)))
(/usr/share/texmf-texlive/tex/latex/csquotes/csquotes.sty
(/usr/share/texmf-texlive/tex/latex/etoolbox/etoolbox.sty
(/usr/share/texmf-texlive/tex/latex/etex-pkg/etex.sty))
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/latex/csquotes/csquotes.def)
(/usr/share/texmf-texlive/tex/latex/csquotes/csquotes.cfg))
(/usr/share/texmf/tex/latex/biblatex/biblatex.sty
(/usr/share/texmf-texlive/tex/latex/base/ifthen.sty)
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty)
(/usr/share/texmf/tex/latex/biblatex/blx-compat.def)
(/usr/share/texmf/tex/latex/biblatex/biblatex.def)
(/usr/share/texmf/tex/latex/biblatex/bbx/authoryear.bbx
(/usr/share/texmf/tex/latex/biblatex/bbx/standard.bbx))
(/usr/share/texmf/tex/latex/biblatex/cbx/authoryear.cbx)
(/usr/share/texmf/tex/latex/biblatex/biblatex.cfg))
(/usr/share/texmf/tex/latex/biblatex/lbx/american.lbx
(/usr/share/texmf/tex/latex/biblatex/lbx/english.lbx))
No file 01-introduction.aux.
No file 01-introduction.bbl.
(/usr/share/texmf-texlive/tex/latex/base/t1cmtt.fd)
REQ:2:bibtex:
binary=bibtex
option=-min-crossrefs=2
infile=01-introduction
:REQ

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 40.

REQ:1:latex:REQ

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 42.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 44.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 46.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 54.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 56.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 58.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 60.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 67.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 69.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 71.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 73.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 80.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 82.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 88.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 90.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 104.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 112.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 117.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 122.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 124.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 124.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 125.

LaTeX Warning: Citation 'knuth:ct' undefined on input line 134.

LaTeX Warning: Citation 'companion' on page 1 undefined on input line 139.

[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]

LaTeX Warning: Citation 'companion' on page 2 undefined on input line 144.

LaTeX Warning: Citation 'companion' on page 2 undefined on input line 156.

LaTeX Warning: Citation 'companion' on page 2 undefined on input line 161.

LaTeX Warning: Citation 'companion' on page 2 undefined on input line 167.

LaTeX Warning: Empty bibliography on input line 171.

[2] (./01-introduction.aux)

LaTeX Warning: There were undefined references.

Package biblatex Warning: Please (re)run BibTeX on the file(s):
(biblatex)                01-introduction.aux
(biblatex)                and rerun LaTeX afterwards.

 ){/usr/share/texmf/fonts/enc/dvips/cm-super/cm-super-t1.enc}</usr/share/texmf/
fonts/type1/public/cm-super/sfbx0800.pfb></usr/share/texmf/fonts/type1/public/c
m-super/sfbx1000.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfbx1200.pfb
></usr/share/texmf/fonts/type1/public/cm-super/sfbx1440.pfb></usr/share/texmf/f
onts/type1/public/cm-super/sfrm0600.pfb></usr/share/texmf/fonts/type1/public/cm
-super/sfrm0700.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfrm0800.pfb>
</usr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb></usr/share/texmf/fo
nts/type1/public/cm-super/sftt1200.pfb>
Output written on 01-introduction.pdf (2 pages, 146478 bytes).
Transcript written on 01-introduction.log.

$ bibtex 01-introduction.aux 
This is BibTeX, Version 0.99c (TeX Live 2009/Debian)
The top-level auxiliary file: 01-introduction.aux
The style file: biblatex.bst
Database file #1: 01-introduction-blx.bib
Database file #2: biblatex-examples.bib
Biblatex version: 0.9
marc@deimos:/tmp/biblatex-sample$ make
NOTE: You may ignore warnings about the following files:

     01-introduction.d

Makefile:2741: 01-introduction.d: No such file or directory
= 01-introduction.tex --> 01-introduction.d 01-introduction.pdf.1st.make (0-1) =
= 01-introduction-blx.bib 01-introduction.aux --> 01-introduction.bbl =
= 01-introduction.tex --> 01-introduction.pdf (1-2) =
Success!  Wrote 2 pages, 173824 bytes to 01-introduction.pdf
--snap--

Reported by arudil on 2011-11-05 13:28:31


shiblon commented 8 years ago
Just so I understand - the problem here is that the makefile fails to build the sample
you attached, and that the error message doesn't make any sense, right?

I may or may not have time to do triage on this in the next few days, but hopefully
I will.

Reported by shiblon on 2011-11-10 22:56:36

shiblon commented 8 years ago
yes. on the one hand, the error message is not very verbose; at the other hand, it should
just compile ;-)

but as the workaround described is very simple, this issue is not that important

Reported by arudil on 2011-11-10 23:55:45

shiblon commented 8 years ago
So, I downloaded your attachment, ran "make" and everything just worked.

I'm unable to reproduce your error.  Do you have some log or something that has this
mysterious REQ line in it?  I can't seem to get it to show up on my machine (Mac, using
pdflatex).

Reported by shiblon on 2011-11-11 19:13:29

shiblon commented 8 years ago
I just attached the whole directory after I ran "make".

Reported by arudil on 2011-11-13 21:19:39


shiblon commented 8 years ago
I'm on it.

Reported by Holger.Dell on 2012-05-16 18:57:55

shiblon commented 8 years ago

Reported by Holger.Dell on 2013-05-21 16:52:16