[XeTeX] Re: Trouble with XeLaTeX and Jurabib

Stuart Robertson stuartrobertson1 at gmail.com
Mon Feb 6 16:06:38 CET 2006


Thank you Jonathan,

I recognise the option from the documentation but didn't understand  
what it did. Will this be the case also for Open Type fonts used with  
XeLaTeX?

Yours appreciatively,

Stuart

>> I'm trying to typeset an article with XeLaTeX and Jurabib and have
>> run into a problem with errant quotation marks. In the example
>> below the first single quotation that prefaces the article title
>> remains the usual TeX Grave or  ` mark rather than becoming a
>> single opening quote or ‘.
>
> Xe(La)TeX is faithfully reproducing the characters it is given to
> print; but your bibliography style uses `...' around titles, on the
> assumption that the font used will have the proper quotation marks in
> place of these characters. Traditional TeX fonts do, but Unicode
> fonts don't.
>
> To handle this, you can use the "Mapping=tex-text" option when
> loading your fonts. This activates a mapping process that replaces
> TeX-style quotes with the proper Unicode characters, as well as
> dealing with "the TeX way" of typing en- and em-dashes and a few
> other things.
>
>

Only one line needed!

> 	\defaultfontfeatures{Mapping=tex-text}
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20060206/e1c60bd9/attachment.htm


More information about the XeTeX mailing list