2007/11/7, Hans Hagen <[EMAIL PROTECTED]>:
>
> Duncan Hothersall wrote:
> > Hans said:
> >> \definefontsize[e]
> >>
> >> \setupfontenvironment
> >>    [default]
> >>    [e=4]
> >>
> > Ah, thanks. Using \setupbodyfontenvironment as the second command did
> > the trick.
> >
> > I guess there is no easy way of directly calling a specific font at a
> > specific size? No worry, this sort of solution will allow me to do what
> > I need for now. Thanks Hans.
>
> chinese in mkii is kind of special, i.e. all kind of mappings to ranges
> of fonts; in mkiv chines is easier (i still have to finish some spacing
> issues)


How about a little appetizer from mkiv.

\definefontfeature[chinese][analyze=yes,language=dflt,mode=node,script=hani]

\starttypescript[sans][arial]
\definefontsynonym[Sans][Arial][features=chinese]
\stoptypescript

\starttypescript[sans][arial]
\definefontsynonym[Arial][file:ARIALUNI][features=default]
\stoptypescript

\definetypeface[arial][ss][sans][arial][default]

\setupbodyfont[arial,ss]

% alternative to the typescript solution
%\definefont[Normal][ARIALUNI*chinese at 12pt][line=16pt]

\starttext

write your chinese text here

\stoptext

There will be no longer any big difference in defining fonts for latin or
any
other language. A few things are to achive than with the current code from
the
chinese module like opening and closing braces in vertical mode.

Wolfgang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to