Mojca Miklavec wrote:
Hmmm ... you can use OpenType fonts in XeTeX in a plain-TeX-way like that: \font\a="[KalligraphiaLTStd]" \a
hm, weird syntax
But there's no high level interface for it yet. The relevant pieces are in font-ini.tex:
%D For \XETEX\ we need to support a bit more: %D %D \starttyping %D \definedfont[{cmr10} at 40pt] test %D \definedfont['cmss10' at 40pt] test %D \definedfont["cmtt10" at 40pt] test %D %D \definedfont[{cmr10} at 40pt] test %D \definedfont['cmss10' at 40pt] test %D \definedfont["cmtt10" at 40pt] test %D %D \definedfont["Gentium" at 40pt] test %D \stoptyping
But one would also need \definedfont["[KalligraphiaLTStd]" at 40pt] or a similar command (double brackets look ugly anyway) to pass the same font name to XeTeX. If some TeXacker knows how to fix the low level macros responsible for it ... ;)
won't work ... context cannot handle nested [] without much trickery and i' really dislike that syntax
I was silently hoping that once that Taco or Hans implement the same feature in luatex, one of them would also fix the corresponding macros for XeTeX. My knowledge doesn't suffice for it.
why are the nested [] needed (btw, later this year i may come up with an extension to the font definition macros more suitable for open type; in that case we can convert to xetex syntax behind the screens)
2. When generating the formats, texexec complained about "unknow control sequence" because of lines 25 and 26 in syst-xtx.tex
\setcclcuc 201C 201C 201C \setcclcuc 201D 201D 201D
I had to comment out these lines to generate the formats (this is with a texlive2007 snapshot of last week and the latest ConTeXt). Is this a known bug?
the enco-utf file is now shared between xetex and luatex in mkii mode; luatex in mkiv mode does things differently
Change it to \setcclcucx or wait until Hans uploads a new version ;)
done, but no upload yet Hans -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------