Hi Mojca

let me show you a neat trick ... just as distraction of your thesis work ...

\starttypescript[serif] [modern]
  \definefontsynonym [Whatever] [file:AdobeSongStd-Light]
\stoptypescript
\starttypescript[zhfont]
  \definetypeface [zhfont] [rm] [serif] [modern] [default]
\stoptypescript

\definebodyfont [default] [rm] [wh=Whatever sa 1]

\edef\fontalternativetextlist{\fontalternativetextlist,wh}

% no chinese in math anyway
%
% \let\whfam\nnfam
%
% \appendtoks
%   \dosettextfamily\c!wh
% \to \textstrategies

\usetypescript[zhfont] \setupbodyfont[zhfont,10pt]

\starttext

\dorecurse{10000}{ hello {\wh 你好}}

\tfd \dorecurse{10000}{ hello {\wh 你好}}

\stoptext

this works because the low level system is not frozen but extensible by design (or a feature); of course, the more such extra alternatives we define by default (which we therefore don't) the slower slovenian typesetting becomes when again we do a full bodyfont switch -)

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