On Tue, Apr 27, 2010 at 00:44, Scott Steele wrote:
>
> 6
> Does Xetex or Context have a facility for positioning accents over letters
> when those particular combinations are not in the font? (Or should I just go
> ahead and do this manually in Fontforge?)

In LuaTeX (ConTeXt MKIV) you can simply say compose=yes when defining
font features (assuming that this still works). If you'll want to use
LuaTeX and need the exact definition, I'll look it up.

Else here's the solution that should work in XeTeX:

\starttext
% this one will be taken from the font
Č
% but you can also define the character to be active
\catcode`Č=\active
% and then use the "ConTeXt" way of composing accents
\defČ{\buildtextaccent\textcaron C}
% and every letter will be composed from that moment on
Č
\stoptext

With pdfTeX you would typically redefine \ccaron instead. (The letter
itself is already active and \defČ might not work there.)

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to