Bonjour,
J’écris actuellement un gros document avec LaTeX en français, avec tout plein de caractères pas ASCII, y compris dans ma bibliographie. Comme ça semblait poser problème, j’ai lu sur internet que la solution pour les éviter était de passer à biber
plutôt que bibtex8
.
Malheureusement, même les exemples de bases ne fonctionnent pas chez moi. Partant d’un document minimal
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | \documentclass{report} \usepackage{biblatex} \usepackage[french]{babel} \addbibresource{jabref.bib} \begin{document} Dubois et Rousseau~\cite{FascinNano} proposent de ne considérer... \printbibliography \end{document} |
avec FascinNano
qui est bien dans le fichier bib(la)tex jabref.bib
, qui est bien dans le même dossier. Je compile, par exemple avec pdflatex
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | > pdflatex mainP.tex This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/TeX Live for SUSE Linux) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./mainP.tex LaTeX2e <2016/03/31> Babel <3.9r> and hyphenation patterns for 51 language(s) loaded. (/usr/share/texmf/tex/latex/base/report.cls Document Class: report 2014/09/29 v1.4h Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) (/usr/share/texmf/tex/latex/biblatex/biblatex.sty (/usr/share/texmf/tex/generic/iftex/iftex.sty) (/usr/share/texmf/tex/generic/oberdiek/pdftexcmds.sty (/usr/share/texmf/tex/generic/oberdiek/infwarerr.sty) (/usr/share/texmf/tex/generic/oberdiek/ifluatex.sty) (/usr/share/texmf/tex/generic/oberdiek/ltxcmds.sty) (/usr/share/texmf/tex/generic/oberdiek/ifpdf.sty)) (/usr/share/texmf/tex/latex/etoolbox/etoolbox.sty) (/usr/share/texmf/tex/latex/graphics/keyval.sty) (/usr/share/texmf/tex/latex/oberdiek/kvoptions.sty (/usr/share/texmf/tex/generic/oberdiek/kvsetkeys.sty (/usr/share/texmf/tex/generic/oberdiek/etexcmds.sty))) (/usr/share/texmf/tex/latex/logreq/logreq.sty (/usr/share/texmf/tex/latex/logreq/logreq.def)) (/usr/share/texmf/tex/latex/base/ifthen.sty) (/usr/share/texmf/tex/latex/url/url.sty) (/usr/share/texmf/tex/generic/xstring/xstring.sty (/usr/share/texmf/tex/generic/xstring/xstring.tex)) (/usr/share/texmf/tex/latex/biblatex/blx-dm.def) (/usr/share/texmf/tex/latex/biblatex/blx-compat.def) (/usr/share/texmf/tex/latex/biblatex/biblatex.def) (/usr/share/texmf/tex/latex/biblatex/bbx/numeric.bbx (/usr/share/texmf/tex/latex/biblatex/bbx/standard.bbx)) (/usr/share/texmf/tex/latex/biblatex/cbx/numeric.cbx) (/usr/share/texmf/tex/latex/biblatex/biblatex.cfg)) (/usr/share/texmf/tex/latex/csquotes/csquotes.sty (/usr/share/texmf/tex/latex/csquotes/csquotes.def) (/usr/share/texmf/tex/latex/csquotes/csquotes.cfg)) (/usr/share/texmf/tex/generic/babel/babel.sty (/usr/share/texmf/tex/generic/babel-french/frenchb.ldf (/usr/share/texmf/tex/generic/babel/babel.def))) (/usr/share/texmf/tex/latex/carlisle/scalefnt.sty) (/usr/share/texmf/tex/latex/biblatex/lbx/french.lbx) (./mainP.aux) (./mainP.bbl ) Package frenchb.ldf Warning: OT1 encoding should not be used for French. (frenchb.ldf) Add \usepackage[T1]{fontenc} to the preamble (frenchb.ldf) of your document, on input line 11. LaTeX Warning: Citation 'FascinNano' on page 1 undefined on input line 13. LaTeX Warning: Empty bibliography on input line 15. [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./mainP.aux) LaTeX Warning: There were undefined references. Package biblatex Warning: Please (re)run Biber on the file: (biblatex) mainP (biblatex) and rerun LaTeX afterwards. ) (see the transcript file for additional information)</usr/share/texmf/fonts/typ e1/public/amsfonts/cm/cmbx10.pfb></usr/share/texmf/fonts/type1/public/amsfonts/ cm/cmr10.pfb> Output written on mainP.pdf (1 page, 24011 bytes). Transcript written on mainP.log. |
Lance bibtex
:
1 2 3 4 5 6 7 8 9 10 11 | > biber mainP INFO - This is Biber 2.5 INFO - Logfile is 'mainP.blg' INFO - Reading 'mainP.bcf' INFO - Found 1 citekeys in bib section 0 INFO - Processing section 0 INFO - Looking for bibtex format file 'jabref.bib' for section 0 INFO - Decoding LaTeX character macros into UTF-8 INFO - Found BibTeX data source 'jabref.bib' [1] 15909 exit 2 biber mainP |
Puis je relance pdflatex
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | > pdflatex mainP.tex This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/TeX Live for SUSE Linux) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./mainP.tex LaTeX2e <2016/03/31> Babel <3.9r> and hyphenation patterns for 51 language(s) loaded. (/usr/share/texmf/tex/latex/base/report.cls Document Class: report 2014/09/29 v1.4h Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) (/usr/share/texmf/tex/latex/biblatex/biblatex.sty (/usr/share/texmf/tex/generic/iftex/iftex.sty) (/usr/share/texmf/tex/generic/oberdiek/pdftexcmds.sty (/usr/share/texmf/tex/generic/oberdiek/infwarerr.sty) (/usr/share/texmf/tex/generic/oberdiek/ifluatex.sty) (/usr/share/texmf/tex/generic/oberdiek/ltxcmds.sty) (/usr/share/texmf/tex/generic/oberdiek/ifpdf.sty)) (/usr/share/texmf/tex/latex/etoolbox/etoolbox.sty) (/usr/share/texmf/tex/latex/graphics/keyval.sty) (/usr/share/texmf/tex/latex/oberdiek/kvoptions.sty (/usr/share/texmf/tex/generic/oberdiek/kvsetkeys.sty (/usr/share/texmf/tex/generic/oberdiek/etexcmds.sty))) (/usr/share/texmf/tex/latex/logreq/logreq.sty (/usr/share/texmf/tex/latex/logreq/logreq.def)) (/usr/share/texmf/tex/latex/base/ifthen.sty) (/usr/share/texmf/tex/latex/url/url.sty) (/usr/share/texmf/tex/generic/xstring/xstring.sty (/usr/share/texmf/tex/generic/xstring/xstring.tex)) (/usr/share/texmf/tex/latex/biblatex/blx-dm.def) (/usr/share/texmf/tex/latex/biblatex/blx-compat.def) (/usr/share/texmf/tex/latex/biblatex/biblatex.def) (/usr/share/texmf/tex/latex/biblatex/bbx/numeric.bbx (/usr/share/texmf/tex/latex/biblatex/bbx/standard.bbx)) (/usr/share/texmf/tex/latex/biblatex/cbx/numeric.cbx) (/usr/share/texmf/tex/latex/biblatex/biblatex.cfg)) (/usr/share/texmf/tex/latex/csquotes/csquotes.sty (/usr/share/texmf/tex/latex/csquotes/csquotes.def) (/usr/share/texmf/tex/latex/csquotes/csquotes.cfg)) (/usr/share/texmf/tex/generic/babel/babel.sty (/usr/share/texmf/tex/generic/babel-french/frenchb.ldf (/usr/share/texmf/tex/generic/babel/babel.def))) (/usr/share/texmf/tex/latex/carlisle/scalefnt.sty) (/usr/share/texmf/tex/latex/biblatex/lbx/french.lbx) (./mainP.aux) (./mainP.bbl ) Package frenchb.ldf Warning: OT1 encoding should not be used for French. (frenchb.ldf) Add \usepackage[T1]{fontenc} to the preamble (frenchb.ldf) of your document, on input line 11. LaTeX Warning: Citation 'FascinNano' on page 1 undefined on input line 13. LaTeX Warning: Empty bibliography on input line 15. [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./mainP.aux) LaTeX Warning: There were undefined references. Package biblatex Warning: Please (re)run Biber on the file: (biblatex) mainP (biblatex) and rerun LaTeX afterwards. ) (see the transcript file for additional information)</usr/share/texmf/fonts/typ e1/public/amsfonts/cm/cmbx10.pfb></usr/share/texmf/fonts/type1/public/amsfonts/ cm/cmr10.pfb> Output written on mainP.pdf (1 page, 24011 bytes). Transcript written on mainP.log. |
Quoique je fasse, il me demande toujours de relancer biber
( « Please (re)run Biber on the file: mainP » ) ! C’est comme si biber
ne faisait pas son taf… Notez que j’ai bien un .blg, .bbl et .bcf dans le répertoire.
Je suis sous Linux Opensuse, et j’ai tout installé via mon gestionnaire de paquet.
Malheureusement, la recherche de la ligne d’erreur ne me fait tomber que sur la procédure normal, qui est, sauf erreur de ma part, très exactement ce que je fais.
Par avance, merci.