[OS X TeX] Using FontBook to help XeTeX find TeXLive/MacTeX distributed fonts
Herbert Schulz
herbs at wideopenwest.com
Sun Jan 31 14:49:52 CET 2016
> On Jan 31, 2016, at 3:15 AM, jfbu <jfbu at free.fr> wrote:
>
>
> Le 31 janv. 2016 à 03:07, Herbert Schulz <herbs at wideopenwest.com> a écrit :
>
>>>
>>> \usepackage{fontspec}
>>> \defaultfontfeatures{Mapping=tex-text}
>>> \setromanfont{erewhon} % reads erewhon.fontspec, extension of 'Utopia'
>>> \setsansfont[Scale=MatchLowercase]{zhv} % reads zhv.fontspec in nimbus15, 'Helvetica'
>>> \setmonofont[Scale=MatchLowercase]{zco} % reads zco.fontspec in nimbus15, 'Courier' Medium
>>>
>>> [...]
>>>
>>> Michael
>>
>> [...]
>
>> PS: I usually DON'T use \defaultfontfeatures{Mapping=tex-text} (actually, recent usage would be \defaultfontfeatures{Ligatures=TeX}) since I DON'T want my mono-spaced font to show TeX ligatures (e.g., I don't want -- to become – when using the mono-spaced font); I only give my roman and sans fonts that property.
>
> Hi, in this context, an excerpt of the fontspec README.markdown file:
>
> - v2.4 (2014/06/01)
>
> [...]
>
> * `Ligatures=TeX` is enabled by default with `\setmainfont` and `\setsansfont`.
>
> Jean-François
Howdy,
Hmmm... I wonder when this changed. At one time it certainly wasn't the default behavior.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list