[OS X TeX] Problem with font AND TeX distribution pref pane

Peter Dyballa Peter_Dyballa at Web.DE
Tue Nov 12 15:46:05 EST 2013


Am 12.11.2013 um 20:29 schrieb Stephen Anderson:

> b) why can’t XeTeX find my font?

Do you see the fonts in Font Book listed and displayed? What type are they? PostScript (unusable in XeTeX)? TrueType or OpenType? Then they might be usable in theory… Fondu is an utility to extract useful True- or OpenType font files from a font suitcase.

The problem of the not working preference pane can be overcome simply on the command line: Just tell the application the proper path! For example:

	env PATH=/usr/local/texlive/2012/bin/x86_64-darwin:${PATH} <your command, for example open «whatever»>

Just use the proper subdirectory, x86_64-darwin or universal-darwin, and the proper year!


BTW,

> \usepackage[T1]{fontenc}
> \usepackage{textcomp}

are not correct for XeTeX. XeTeX does not handle TeX 8-bit text or font encodings. Using

> \usepackage{fontspec}
> \usepackage{xunicode}% provides unicode character macros 
> \usepackage{xltxtra} % provides some fixes/extras 
> 
> \usepackage{fontspec,xltxtra,xunicode}

is not necessary. XeTeX is clever enough to not load some package a second (or third) time.

--
Greetings

  Pete


"Evolution"            o           __o                     _o _
          °\___o      /0~         -\<,              ^\___ /=\\_/-%
oo~_______ /\ /\______/ \_________O/ O_______________o===>-->O--o____



More information about the MacOSX-TeX mailing list