On 12/20/2014 07:31 PM, j. van den hoff wrote:
newbie question:
how can I get access to fonts installed outside the TeX tree under MacOSX (10.9 to be precise)?
mtxrun --script font --list --name --pattern=*
shows lots of fonts (so they are recognized by context, I'd guess)
but the simple-minded approach, namely to trying something like
\starttypescript [stix] \definetypeface [stix] [rm] [serif] [stix] [default] \definetypeface [stix] [ss] [sans] [adventor] [default] \definetypeface [stix] [tt] [mono] [cursor] [default] \definetypeface [stix] [mm] [math] [stix] [default] \stoptypescript
\usetypescript[stix] \setupbodyfont[stix,12pt]
fails with `unknown library stix'.
obviously I am doing something wrong -- or is this a luatex problem not being able to find the system fonts?
Hi Jörg, I don’t have a Mac, but this works in ConTeXt: \definefontfamily [mainface] [serif] [TeX Gyre Pagella] \definefontfamily [mainface] [sans] [Helvetica] \definefontfamily [mainface] [mono] [Courier] \definefontfamily [mainface] [math] [TeX Gyre Pagella Math] \setupbodyfont[mainface] You don’t need to define a typescript. \definefontfamily is the command you need. Typeface should be defined only once ([rm] and [serif] are redundant). Default body font size is 12pt. I think it is easier to invoke typefaces with the system font name. I mean, use the same name as you use in Word or any other MacOS X program. I hope this helps. Don’t hesitate to ask, if you have further questions. Pablo -- http://www.ousia.tk