i try to get out of a 3 days trouble, hope for your help !
I just want to find my bibliography in my font without bug...
I'm using \documentclass{scrbook}
, & {Adobe Garamond Pro}
font with \fontspec
for writing my thesis, but I have a problem with my bibtex bibliography : two ways.
- when I compile xelatex-biblatex-xelatex,
\printbibliography
is done, it's printed in a font I don't know (may be a original font of Latex), - and after if I try to force my
{Adobe Garamond Pro}
font with\renewcommand*{\bibfont}{\fontspec{Adobe Garamond Pro}}
- or with
\newfontfamily\normalfont{Adobe Garamond Pro}
,
when I compile xelatex-biblatex-xelatex, come a lot of "Missing \endcsname inserted. \char"
Of course, I use accents in my Biblio.bib because my literacy is in french & I work with the Papers2 bibliography application…
I don't know if I have to search in any direction :
- why
\bibfont
\natbib
or\bibtex
didn't accept accents ? - may
\frenchb
of\babel
have a solution with a\frenchbsetup
? I don't think - or in
\fontenc
or\fontspec
directions
Please help. Thanks
That's my config :
\documentclass[12pt]{scrbook}
\addtokomafont{disposition}{\vfamily}
\addtokomafont{pageheadfoot}{\vfamily}
\addtokomafont{pagenumber}{\vfamily\small}
\addtokomafont{footnote}{\vfamily}
\usepackage{fontspec}
\usepackage[T1]{fontenc}
\usepackage{xltxtra}
\newfontfamily\vfamily{Adobe Garamond Pro}
% \newfontfamily\normalfont{Adobe Garamond Pro} % or point 3
\usepackage{xunicode}
\usepackage[applemac]{inputenc}
\usepackage{lmodern, textcomp}
\usepackage[english,frenchb]{babel}
\frenchbsetup{FrenchFootnotes=false}
\usepackage[babel,french=guillemets*]{csquotes}
\MakeOuterQuote{"}
\frenchspacing
\usepackage[automark]{scrpage2}
\usepackage{lipsum}
\usepackage[natbib=true,style=authortitle-icomp,doi=false]{biblatex}
\addbibresource{Biblio.bib}
\AtBeginBibliography{\def\UrlFont{\\\scriptsize}}
%\renewcommand*{\bibfont}{\normalfont} % point 2
\begin{document}
\fontspec{Adobe Garamond Pro}
\lipsum[1]\footcite[13]{Deotte:1993ve}\lipsum[2]\footcite[13]{Ricoeur:2000ga}
\printbibliography % point 1
\end{document}
And my Biblio.bib
@article{Ricoeur:2000ga,
author = {Ric{\oe}ur, Paul}, % I know that the problem is here :s
title = {{L'{\'e}criture de l'histoire et la repr{\'e}sentation du pass{\'e}}},
journal = {ahess},
year = {2000},
volume = {55},
number = {4},
pages = {731--747},
doi = {10.3406/ahess.2000.279877},
rating = {0},
date-added = {2014-01-29T09:45:37GMT},
date-modified = {2014-01-29T09:46:30GMT},
url = {http://www.persee.fr/web/revues/home/prescript/article/ahess_0395- 2649_2000_num_55_4_279877},
uri = {\url{papers2://publication/doi/10.3406/ahess.2000.279877}}
}
@book{Deotte:1993ve,
author = {D{\'e}otte, Jean-Louis},
title = {{Le mus{\'e}e, l'origine de l'esth{\'e}tique}},
publisher = {L'Harmattan},
year = {1993},
address = {Paris},
language = {fran{\c c}ais},
rating = {0},
date-added = {2013-07-08T22:13:04GMT},
date-modified = {2014-01-29T10:03:20GMT},
uri = {\url{papers2://publication/uuid/4A77F971-C505-4B1A-AB84-6647B00EAAF0}}
}
inputenc
) and drop the loading of packagefontenc
asfontspec
does the right thing for you. – Johannes_B Jan 31 '14 at 18:38bibtex
but I'm migrating tobiber
according yours advices. For answer yours questions : - I don't know my .bib encoding, but now I try[bibencoding=utf8]{biblatex}
to attempt respond to your recommendations ;). I don't know why I uselmodern
, is it outdated ? I suppose. – Zouib Feb 2 '14 at 10:32