<div dir="ltr">What differences do you see?<br><div><br>With my TeX Live 2013, the xelatex example used Latin Modern while pdflatex used cm-super. Adding "\usepackage{lmodern}" gives the same fonts. The xelatex output has a bit of extra space before the "?" in "anyone?". <br>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 24, 2013 at 12:52 PM, Herbert Schulz <span dir="ltr"><<a href="mailto:herbs@wideopenwest.com" target="_blank">herbs@wideopenwest.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
On Sep 24, 2013, at 2:28 AM, Joel GOMBIN <<a href="mailto:joel.gombin@gmail.com">joel.gombin@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> I encountered a small issue while trying to use biblatex with xetex. I reported it to biblatex but they said it wasn't a biblatex-related issue (see <a href="https://github.com/plk/biblatex/issues/162#issuecomment-24971883" target="_blank">https://github.com/plk/biblatex/issues/162#issuecomment-24971883</a>)<br>
><br>
> With the exact same params passed to biblatex, when I compile with pdflatex and xelatex, I get different results with regards to the way punctuation is handled inside bibitems titles. Let me provide MWEs. This is the file compiled with xelatex :<br>
><br>
> \usepackage{fontspec}<br>
> \usepackage{xunicode}<br>
> \usepackage{xltxtra}<br>
> \usepackage[british,french]{babel}<br>
> \usepackage[citestyle=authoryear-comp, bibstyle=authoryear, natbib=true, babel=hyphen, language=auto]{biblatex}<br>
> \usepackage{csquotes}<br>
><br>
> \usepackage{filecontents}<br>
> \begin{filecontents}{\jobname.bib}<br>
> @ARTICLE{agnew_iv._1987,<br>
> author = {Agnew, John},<br>
> title = {{IV.} Place anyone? A comment on the {McAllister} and Johnston papers},<br>
> journal = {Political Geography Quarterly},<br>
> year = {1987},<br>
> volume = {6},<br>
> pages = {39--40},<br>
> number = {1},<br>
> month = jan,<br>
> doi = {10.1016/0260-9827(87)90030-9},<br>
> file = {Agnew - 1987 - IV. Place anyone A comment on the McAllister and.pdf:/home/joel/.zotero/zotero/lkxpsie2.default/zotero/storage/WWPCJ577/Agnew - 1987 - IV. Place anyone A comment on the McAllister and.pdf:application/pdf;ScienceDirect Snapshot:/home/joel/.zotero/zotero/lkxpsie2.default/zotero/storage/VB7RPMZE/login.html:text/html},<br>
> hyphenation = {english},<br>
> issn = {0260-9827},<br>
> shorttitle = {{IV.} Place anyone?},<br>
> url = {<a href="http://www.sciencedirect.com/science/article/pii/0260982787900309" target="_blank">http://www.sciencedirect.com/science/article/pii/0260982787900309</a>},<br>
> urldate = {2012-08-02}<br>
> }<br>
> @ARTICLE{bussi_repenser_2007,<br>
> author = {Bussi, Michel},<br>
> title = {Repenser les territoires ensemble : une inflexion paradigmatique<br>
> pour la géographie politique ?},<br>
> journal = {{L'Espace} Politique},<br>
> year = {2007},<br>
> number = {3},<br>
> month = sep,<br>
> note = {La géographie dans sa dimension politique a été longtemps assimilée<br>
> à une science stratégique, utile à la conquête d'un territoire,à<br>
> sa maîtrise ou à sa gestion… La géographie politique s'intéresse<br>
> ainsi classiquement aux conflits territoriaux ou pour le moins aux<br>
> rapports de force exprimés dans un contexte spatial. Il existe assurément<br>
> suffisamment de conflits, de violences ou de rapports de force à<br>
> arbitrer dans le monde pour justifier pleinement de l'utilité d'un<br>
> tel objet scientifique pour d (...)},<br>
> abstract = {La géographie dans sa dimension politique a été longtemps assimilée<br>
> à une science stratégique, utile à la conquête d'un territoire,à<br>
> sa maîtrise ou à sa gestion… La géographie politique s'intéresse<br>
> ainsi classiquement aux conflits territoriaux ou pour le moins aux<br>
> rapports de force exprimés dans un contexte spatial. Il existe assurément<br>
> suffisamment de conflits, de violences ou de rapports de force à<br>
> arbitrer dans le monde pour justifier pleinement de l'utilité d'un<br>
> tel objet scientifique pour d [...]},<br>
> copyright = {Tous droits réservés},<br>
> editor = {Bussi, Michel},<br>
> hyphenation = {fr},<br>
> issn = {1958-5500},<br>
> shorttitle = {Repenser les territoires ensemble},<br>
> url = {<a href="http://espacepolitique.revues.org/index648.html" target="_blank">http://espacepolitique.revues.org/index648.html</a>},<br>
> urldate = {2011-11-16}<br>
> }<br>
> \end{filecontents}<br>
><br>
> \addbibresource{\jobname.bib}<br>
><br>
> \begin{document}<br>
><br>
> Some text.<br>
><br>
> Some text, with a citation \citep{agnew_iv._1987}. Et une autre citation \citep{bussi_repenser_2007}.<br>
><br>
> And now a bibliography.<br>
><br>
> \printbibliography<br>
> \end{document}<br>
><br>
><br>
> And now here is the MWE code for pdflatex:<br>
><br>
><br>
> \documentclass{article}<br>
> \usepackage[T1]{fontenc}<br>
> \usepackage[utf8]{inputenc}<br>
> \usepackage[british,french]{babel}<br>
> \usepackage[citestyle=authoryear-comp, bibstyle=authoryear, natbib=true, babel=hyphen, language=auto]{biblatex}<br>
> \usepackage{csquotes}<br>
><br>
> \usepackage{filecontents}<br>
> \begin{filecontents}{\jobname.bib}<br>
> @ARTICLE{agnew_iv._1987,<br>
> author = {Agnew, John},<br>
> title = {{IV.} Place anyone? A comment on the {McAllister} and Johnston papers},<br>
> journal = {Political Geography Quarterly},<br>
> year = {1987},<br>
> volume = {6},<br>
> pages = {39--40},<br>
> number = {1},<br>
> month = jan,<br>
> doi = {10.1016/0260-9827(87)90030-9},<br>
> file = {Agnew - 1987 - IV. Place anyone A comment on the McAllister and.pdf:/home/joel/.zotero/zotero/lkxpsie2.default/zotero/storage/WWPCJ577/Agnew - 1987 - IV. Place anyone A comment on the McAllister and.pdf:application/pdf;ScienceDirect Snapshot:/home/joel/.zotero/zotero/lkxpsie2.default/zotero/storage/VB7RPMZE/login.html:text/html},<br>
> hyphenation = {english},<br>
> issn = {0260-9827},<br>
> shorttitle = {{IV.} Place anyone?},<br>
> url = {<a href="http://www.sciencedirect.com/science/article/pii/0260982787900309" target="_blank">http://www.sciencedirect.com/science/article/pii/0260982787900309</a>},<br>
> urldate = {2012-08-02}<br>
> }<br>
> @ARTICLE{bussi_repenser_2007,<br>
> author = {Bussi, Michel},<br>
> title = {Repenser les territoires ensemble : une inflexion paradigmatique<br>
> pour la géographie politique ?},<br>
> journal = {{L'Espace} Politique},<br>
> year = {2007},<br>
> number = {3},<br>
> month = sep,<br>
> note = {La géographie dans sa dimension politique a été longtemps assimilée<br>
> à une science stratégique, utile à la conquête d'un territoire,à<br>
> sa maîtrise ou à sa gestion… La géographie politique s'intéresse<br>
> ainsi classiquement aux conflits territoriaux ou pour le moins aux<br>
> rapports de force exprimés dans un contexte spatial. Il existe assurément<br>
> suffisamment de conflits, de violences ou de rapports de force à<br>
> arbitrer dans le monde pour justifier pleinement de l'utilité d'un<br>
> tel objet scientifique pour d (...)},<br>
> abstract = {La géographie dans sa dimension politique a été longtemps assimilée<br>
> à une science stratégique, utile à la conquête d'un territoire,à<br>
> sa maîtrise ou à sa gestion… La géographie politique s'intéresse<br>
> ainsi classiquement aux conflits territoriaux ou pour le moins aux<br>
> rapports de force exprimés dans un contexte spatial. Il existe assurément<br>
> suffisamment de conflits, de violences ou de rapports de force à<br>
> arbitrer dans le monde pour justifier pleinement de l'utilité d'un<br>
> tel objet scientifique pour d [...]},<br>
> copyright = {Tous droits réservés},<br>
> editor = {Bussi, Michel},<br>
> hyphenation = {fr},<br>
> issn = {1958-5500},<br>
> shorttitle = {Repenser les territoires ensemble},<br>
> url = {<a href="http://espacepolitique.revues.org/index648.html" target="_blank">http://espacepolitique.revues.org/index648.html</a>},<br>
> urldate = {2011-11-16}<br>
> }<br>
> \end{filecontents}<br>
><br>
> \addbibresource{\jobname.bib}<br>
><br>
> \begin{document}<br>
><br>
> Some text.<br>
><br>
> Some text, with a citation \citep{agnew_iv._1987}. Et une autre citation \citep{bussi_repenser_2007}.<br>
><br>
> And now a bibliography.<br>
><br>
> \printbibliography<br>
> \end{document}<br>
><br>
><br>
> You can see the difference in the first reference title (using polyglossia instead of babel doesn't change anything). I believe the expected behaviour is the one that pdflatex gives. Any idea how to fix this?<br>
><br>
> Thanks,<br>
><br>
> Joel<br>
><br>
> --<br>
> Joël Gombin<br>
><br>
<br>
</div></div>Howdy,<br>
<br>
I see no difference at all between the xelatex and pdflatex documents! This is with TeX Live 2013 with all updates as of today. Placing a \listfiles at the top of the xelatex source I get<br>
<br>
*File List*<br>
article.cls 2007/10/19 v1.4h Standard LaTeX document class<br>
size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)<br>
fontspec.sty 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTeX<br>
expl3.sty 2013/07/28 v4582 L3 Experimental code bundle wrapper<br>
l3names.sty 2012/12/07 v4346 L3 Namespace for primitives<br>
l3bootstrap.sty 2013/07/28 v4581 L3 Experimental bootstrap code<br>
etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)<br>
l3basics.sty 2013/07/28 v4581 L3 Basic definitions<br>
l3expan.sty 2013/07/24 v4565 L3 Argument expansion<br>
l3tl.sty 2013/07/28 v4581 L3 Token lists<br>
l3seq.sty 2013/07/28 v4581 L3 Sequences and stacks<br>
l3int.sty 2013/07/28 v4581 L3 Integers<br>
l3quark.sty 2013/07/21 v4564 L3 Quarks<br>
l3prg.sty 2013/07/28 v4581 L3 Control structures<br>
l3clist.sty 2013/07/28 v4581 L3 Comma separated lists<br>
l3token.sty 2013/07/28 v4581 L3 Experimental token manipulation<br>
l3prop.sty 2013/07/28 v4581 L3 Property lists<br>
l3msg.sty 2013/07/28 v4581 L3 Messages<br>
l3file.sty 2013/07/28 v4581 L3 File and I/O operations<br>
l3skip.sty 2013/07/28 v4581 L3 Dimensions and skips<br>
l3keys.sty 2013/07/28 v4581 L3 Experimental key-value interfaces<br>
l3fp.sty 2013/07/09 v4521 L3 Floating points<br>
l3box.sty 2013/07/28 v4581 L3 Experimental boxes<br>
l3coffins.sty 2012/09/09 v4212 L3 Coffin code layer<br>
l3color.sty 2012/08/29 v4156 L3 Experimental color support<br>
l3luatex.sty 2013/07/28 v4581 L3 Experimental LuaTeX-specific functions<br>
l3candidates.sty 2013/07/24 v4576 L3 Experimental additions to l3kernel<br>
ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)<br>
xparse.sty 2013/07/28 v4582 L3 Experimental document command parser<br>
fontspec-patches.sty 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTe<br>
X<br>
fixltx2e.sty 2008/08/10 v1.1mf fixes to LaTeX<br>
fontspec-xetex.sty 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTeX<br>
fontenc.sty<br>
eu1enc.def 2010/05/27 v0.1h Experimental Unicode font encodings<br>
eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern<br>
xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many oth<br>
er characters in Unicode lower plane<br>
eu1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern<br>
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)<br>
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)<br>
graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)<br>
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)<br>
graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live<br>
xetex.def 2013/04/29 v0.96 LaTeX color/graphics driver for XeTeX (RRM/JK)<br>
<br>
fontspec.cfg<br>
xltxtra.sty 2010/09/20 v0.5e Improvements for the "XeLaTeX" format<br>
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)<br>
ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional<br>
realscripts.sty 2013/03/18 v0.3c Access OpenType subscripts and superscripts<br>
<br>
metalogo.sty 2010/05/29 v0.12 Extended TeX logo macros<br>
babel.sty 2013/05/16 v3.9f The Babel package<br>
english.ldf 2012/08/20 v3.3p English support from the babel system<br>
frenchb.ldf 2013/07/06 v2.6e French support from the babel system<br>
scalefnt.sty<br>
biblatex.sty 2013/07/15 v2.7a programmable bibliographies (PK/JW/AB)<br>
biblatex2.sty 2013/07/15 v2.7a programmable bibliographies (biber) (PK/JW/AB<br>
)<br>
etoolbox.sty 2011/01/03 v2.1 e-TeX tools for LaTeX<br>
kvoptions.sty 2011/06/30 v3.11 Key value format for package options (HO)<br>
ltxcmds.sty 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)<br>
kvsetkeys.sty 2012/04/25 v1.16 Key value parser (HO)<br>
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/error messages (HO)<br>
etexcmds.sty 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)<br>
logreq.sty 2010/08/04 v1.0 xml request logger<br>
logreq.def 2010/08/04 v1.0 logreq spec v1.0<br>
ifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)<br>
url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc.<br>
blx-dm.def<br>
authoryear-comp.dbx<br>
authoryear.dbx<br>
biblatex-dm.cfg<br>
blx-compat.def 2013/07/15 v2.7a biblatex compatibility (PK/JW/AB)<br>
biblatex.def<br>
blx-natbib.def 2013/07/15 v2.7a biblatex compatibility (PK/JW/AB)<br>
standard.bbx 2013/07/15 v2.7a biblatex bibliography style (PK/JW/AB)<br>
authoryear.bbx 2013/07/15 v2.7a biblatex bibliography style (PK/JW/AB)<br>
authoryear-comp.cbx 2013/07/15 v2.7a biblatex citation style (PK/JW/AB)<br>
biblatex.cfg<br>
csquotes.sty 2011/10/22 v5.1d context-sensitive quotations<br>
csquotes.def 2011/10/22 v5.1d csquotes generic definitions<br>
csquotes.cfg<br>
filecontents.sty 2011/10/08 v1.3 Create an external file from within a LaTeX<br>
document<br>
french.lbx 2013/07/15 v2.7a biblatex localization (PK/JW/AB)<br>
t3cmr.fd 2001/12/31 TIPA font definitions<br>
Xtest.bbl<br>
eu1lmtt.fd 2009/10/30 v1.6 Font defs for Latin Modern<br>
***********<br>
<br>
for the version list.<br>
<br>
Good Luck,<br>
<br>
Herb Schulz<br>
(herbs at wideopenwest dot com)<br>
<br>
<br>
<br>
<br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>George N. White III <<a href="mailto:aa056@chebucto.ns.ca">aa056@chebucto.ns.ca</a>><br>Head of St. Margarets Bay, Nova Scotia
</div>