On Wed, Mar 18, 2009 at 9:23 AM, Hans Hagen <pragma@wxs.nl> wrote:
[...]
(there's also Normal, Bold etc that is even more generic in the sense that it can be sans or serif depending of the situation)

these symbolic names are there for a reason as i never want to see hard coded font names (and features) in my document styles more than once
 
What I'm looking for...
 
With:
 
\starttypescript [serif/sans] [somefont]
 \definefontsynonym [SomeFontRegular]  [name:somefont]        [features=default]
 \definefontsynonym [SomeFontItalic]   [name:somefontitalic]   [features=default]
 \definefontsynonym [SomeFontBold]    [name:somefontbold]   [features=default]
 \definefontsynonym [SomeFontBoldItalic] [name:somefontbolditalic] [features=default]
\stoptypescript
 
\starttypescript [serif/sans] [somefont]
 \setups [font:fallback:sans]
 \definefontsynonym [Regular]   [SomeFontRegular]
 \definefontsynonym [Italic]    [SomeFontItalic]
 \definefontsynonym [Bold]    [SomeFontBold]
 \definefontsynonym [BoldItalic]  [SomeFontBoldItalic]
\stoptypescript
 
\starttypescript [somefont]
 \definetypeface [somefont] [rm/ss] [serif/sans] [somefont] [default]
\stoptypescript
\usetypescriptfile[tps_somefont]
\usetypescript[somefont]
\definetypeface[myXTypeface][somefont]
 
and...
 
* somefont = arial, times, tahoma, courrier, ...
 
* X = Body/Chapter/Section/.../Header/Footer/...
 
how to...
 
\def\myXSymbolicName=\somecommandRegular/Bold/Italic{myXTypeface}
 
for...
 
\definefont[myXFont][myXSymbolicName sa myXScale]
 
Alan