[XeTeX] : Temporarily disable Mapping=tex-text

Fr. Michael Gilmary FrMichaelGilmary at MaroniteMonks.org
Wed Sep 9 16:59:38 CEST 2009


Sven Siegmund wrote:


> I have selected my fonts with the optional feature Mapping=tex-text:
>
> \setmainfont[Mapping=tex-text]{Charis SIL}
>
> but somewhere in text I wand to temporarily disable it, e.g. when I
> want to write the U+0027 APOSTROPHE which shall not be converted to
> U+02BC MODIFIER LETTER APOSTROPHE. How can I do that?
>
> I figure it can be done with \addfontfeatures{Mapping=??} but what to
> write as the value of Mapping? I cannot find the default value (e.g.
> the non-tex-text) in fontspec documentation. /-:
>   


One way you could do that is to drop the {Mapping=tex-text} for the main 
font (or any other you define) and enter directly the apostrophe '  
(U+0027) as desired as well as entering directly the ’ U+2019 from the 
keyboard.



-- 
United in adoration of Jesus, 



fr. michael gilmary, mma

Most Holy Trinity Monastery
67 Dugway Road
Petersham, MA 01366-9725





More information about the XeTeX mailing list