On 1/21/07, Thomas A. Schmitz wrote:
> I'm trying (once again) to find out if learning something about XeTeX
> is worth the trouble. So far, I haven't seen any compelling reason,
> but I'd like to experiment a bit more. Here are two questions I have
> run into:
>
> 1. in the wiki pages "Talk:XeTeX," there's this anonymous piece of
> wisdom:

Perhaps I forgot to log in when I've put that note to the wiki ;)

I requested that feature in XeTeX and yet: it's now implemented in
LaTeX, but not in ConTeXt. (When Adam became a father, sad times have
started for fonts in ConTeXt ;)

> Referencing fonts by filenames
>
> (just a note from the XeTeX mailing list as a reminder for later)
>
> in texmf.cnf:
>
> OPENTYPEFONTS = .;$TEXMF/fonts/opentype//;c:/Resources/Fonts//
> Then
>
> \setromanfont{[KalligraphiaLTStd.otf]}
>
> Is this possible or usable in ConTeXt? I have lots of OpenType fonts
> in ~/texmf/fonts/opentype, but not installed as system fonts, and
> would  like to see whether they can just be used with XeTeX as with
> vanilla pdftex. texmf.cnf is set up accordingly, but so far, I
> haven't had any success.

Hmmm ... you can use OpenType fonts in XeTeX in a plain-TeX-way like that:
\font\a="[KalligraphiaLTStd]" \a

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 ... ;)
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.

> 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?

Change it to \setcclcucx or wait until Hans uploads a new version ;)

Mojca
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to