ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* style fallbacks
@ 2002-01-28 22:55 Bill McClain
  2002-01-29 10:36 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Bill McClain @ 2002-01-28 22:55 UTC (permalink / raw)


Are style fallbacks a supported part of the system, or are they local to
type-buy.tex?

This typescript doesn't work because of missing Slant styles:

\starttypescript [serif] [charter] [name]
  \definefontsynonym [Serif]           [Charter-Roman]
  \definefontsynonym [SerifBold]       [Charter-Bold]
  \definefontsynonym [SerifItalic]     [Charter-Italic]
  \definefontsynonym [SerifBoldItalic] [Charter-Bold-Italic]
\stoptypescript

Adding \usetypescriptfile[type-buy] at the top and
\usetypescript[serif][fallback] within the typescript fixes that
problem, but the job still fails because of missing SerifCaps
definition, which isn't in the fallback typescript.

Adding this fixes it:

\starttypescript [serif] [fallback]
  \definefontsynonym [SerifCaps] [Serif]
\stoptypescript

Or, I could add dummy SerifCaps to the definition. Using the fallback
mechanism is more elegant. Is there a reason SmallCaps should be treated
differently than the Slant styles?

-Bill


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-29 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-28 22:55 style fallbacks Bill McClain
2002-01-29 10:36 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).