ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* starttypescript question...
@ 2002-06-10 23:55 Randall Skelton
  2002-06-11 11:47 ` Bill McClain
  0 siblings, 1 reply; 2+ messages in thread
From: Randall Skelton @ 2002-06-10 23:55 UTC (permalink / raw)


I am trying to define a set of 'OldStyle' Adobe fonts for the 'Aldus'
family similar to what Bill McClain has shown on his web site
(http://home.salamander.com/~wmcclain/context-help.html)

My problem is that when I do what Bill did and define use starttypescript 
to define an 'aldus-oldstyle' type, I get an error with mktextmf 
generating the font.

mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input Aldus-Roman' 
failed. kpathsea: Appending font creation commands to missfont.log.

My testing aldus.tex file contains:

\starttypescript [serif] [aldus] [texnansi]
  \definefontsynonym [Aldus-Roman] [texnansi-aldusroman] [encoding=texnansi]
  \definefontsynonym [Aldus-Italic] [texnansi-aldusitalic] [encoding=texnansi]
  \definefontsynonym [Aldus-ItalicOsF] [texnansi-aldusitalicoldstyle] [encoding=texnansi]
  \definefontsynonym [Aldus-RomanSC] [texnansi-aldusromanscoldstyle] [encoding=texnansi]
\stoptypescript

\starttypescript [serif] [aldus-oldstyle] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]           [Aldus-Roman]
  \definefontsynonym [SerifBold]       [Aldus-Roman]
  \definefontsynonym [SerifItalic]     [Aldus-ItalicOsF]
  \definefontsynonym [SerifBoldItalic] [Aldus-ItalicOsF]
  \definefontsynonym [SerifCaps]       [Aldus-RomanSC]
  % the regular old-style figures are in the small-caps file
  \definefontsynonym [OldStyle]        [Aldus-RomanSC]
\stoptypescript

\starttypescript [AldusOldStyle]
  \definetypeface [AldusOldStyle] [rm] [serif] [aldus-oldstyle] [default] 
[encoding=texnansi]
\stoptypescript

Note that if I change 'aldus-oldstyle' to 'aldus' then everything works
fine??!! The trouble is, I already have a typescript block defined as
'aldus' to contain the non-old-style synonyms.  As I understand it,
'aldus-oldstyle' is an internal reference for the font so I really don't
understand why it works in the once case, but not the other.

Cheers,
Randall


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

* Re: starttypescript question...
  2002-06-10 23:55 starttypescript question Randall Skelton
@ 2002-06-11 11:47 ` Bill McClain
  0 siblings, 0 replies; 2+ messages in thread
From: Bill McClain @ 2002-06-11 11:47 UTC (permalink / raw)
  Cc: ntg-context

On Tue, 11 Jun 2002 00:55:53 +0100 (BST)
Randall Skelton <rhskelto@atm.ox.ac.uk> wrote:

> I am trying to define a set of 'OldStyle' Adobe fonts for the 'Aldus'
> family similar to what Bill McClain has shown on his web site
> (http://home.salamander.com/~wmcclain/context-help.html)
> 
> My problem is that when I do what Bill did and define use
> starttypescript to define an 'aldus-oldstyle' type, I get an error
> with mktextmf generating the font.

I think the problem is that there is no "link" between your second
typescript and the first:

> \starttypescript [serif] [aldus] [texnansi]
> \starttypescript [serif] [aldus-oldstyle] [name]

The second depends on the first. It is searching for "aldus-oldstyle"
and can't find it. But typscripts allow a list of matches on their
fields. Use this for the first one:

    \starttypescript [serif] [aldus, aldus-oldstyle] [texnansi]

Now you have one set of font declarations that can be shared by multiple
(in this case two) other declarations.

-Bill
-- 
Sattre Press                                The King in Yellow
http://sattre-press.com/                 by Robert W. Chambers
info@sattre-press.com             http://kiy.sattre-press.com/ 


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

end of thread, other threads:[~2002-06-11 11:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-10 23:55 starttypescript question Randall Skelton
2002-06-11 11:47 ` Bill McClain

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).