Mojca Miklavec wrote:
On 7/12/06, Paul Hoffman wrote:
The example on the _Fonts in XeTeX_ page in the wiki works fine except for small caps, which (not surprisingly) don't show up in this first attempt:
\definetypeface[bembo][rm][Xserif][Bembo Std] \setupbodyfont[bembo] \starttext Bembo {\bf Bembo} {\it Bembo} {\sc Bembo} Bembo. \stoptext
[minimal fix]
In type-xtx.tex add the following line: \definefontsynonym[DummyCaps]['\typescripttwo:mapping=tex-text;+smcp'][encoding=uc]
Hmm. Clever approach, but that puts a strong bias on loading fonts by the OpenType method, only. That assumption isn't valid with XeTeX on Mac (fast heading to being a minority ;) -- there's the ATSUI font loading syntax as well, which looks very different. That said, now that I'm kind of back (hi), type-xtx and basically all the XeTeX stuff needs a radical re-think, as I had used the \ifXeTeX switch as a sign we were on a specific platform, not running a specific TeX. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-