Am 05.04.2009 um 15:07 schrieb Yanrui Li:
I want to know why I can not override the preloading rm font.
Dunno but it works for a complete definition.
\definefontsynonym [Song] [file:AdobeSongStd-Light]
\definefontsynonym [Hei] [file:AdobeHeitiStd-Regular]
\definefontsynonym [FangSong] [file:AdobeFangsongStd-Regular]
\definefontsynonym [Kai] [file:AdobeKaitiStd-Regular]
\starttypescript [serif] [default] [size]
\definebodyfont [12pt] [rm]
[tf=Song sa 1,
bf=Hei sa 1,
it=Kai sa 1,
sl=FangSong sa 1]
\stoptypescript
\starttypescript [serif] [chinese]
\definefontsynonym [Serif] [Song]
\stoptypescript
\definetypeface [chinese] [rm] [serif] [chinese] [default]
\setscript[hanzi]
\setupbodyfont[chinese,rm,12pt]
\starttext
\startlines
\tf 今时之人不然也,以酒为浆,以妄为常,
\bf 醉以入房,以欲竭其精,以耗散其真,
\it 不知持满,不时御神,
\sl 务快其心,逆于生乐,起居无节,故半百而衰也。
\stoplines
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________