[NTG-context] How to define Small Caps when installing a new font (repost)

Matt Gushee ntg-context@ntg.nl
Thu Jul 8 03:11:47 CEST 2004


On Wed, Jul 07, 2004 at 06:37:12PM +0200, Fabio Fogliuzzi wrote:
> 
> A question about fonts. I have successfully installed (for the first  
> time) a font using the texfont utility and creating both small caps and  
> slanted variants of the font.
> I wrote the following typescript saved in a file named 'Typeface.tex':

> All seems to work as expected, except for the use of the  
> SansItalicCaps, SansBoldCaps and SansBoldItalicCaps variants.

I don't have a definitive answer, but looking at the built-in ConTeXt
modules will give you an important clue: the names SerifCaps, SansCaps,
and MonoCaps appear in a number of places, e.g. in font-map.tex:

    \definebodyfont [14.4pt,...]
      [tf=Serif      sa 1.06,
       ....
       sc=SerifCaps  sa 1.06]

But the variants you are trying to use don't occur at all, which
suggests that ConTeXt has no way to recognize the combination of
small caps with bold or italic. It would be nice if it did.

-- 
Matt Gushee                 When a nation follows the Way,
Englewood, Colorado, USA    Horses bear manure through
mgushee@havenrock.com           its fields;
http://www.havenrock.com/   When a nation ignores the Way,
                            Horses bear soldiers through
                                its streets.
                                
                            --Lao Tzu (Peter Merel, trans.)



More information about the ntg-context mailing list