[NTG-context] Apple Baskerville typescript

Adam Lindsay atl at comp.lancs.ac.uk
Thu Jun 30 10:24:53 CEST 2005


Steven Lumos said this at Wed, 29 Jun 2005 11:17:28 -0700:

>\starttypescript [serif] [baskerville] [texansi]
>  \definefontsynonym [Baskerville] [Baskerville] [encoding=texansi]
>  \definefontsynonym [Baskerville-Bold] [Baskerville-Bold] [encoding=texansi]
>  \definefontsynonym [Baskerville-Italic] [Baskerville-Italic]
>[encoding=texansi]
>  \definefontsynonym [Baskerville-BoldItalic] [Baskerville-BoldItalic]
>[encoding=texansi]
>\stoptypescript

Hi Steve,

This is the problem. This encoding typescript either 1) doesn't help
resolve to the actual filenames, or 2) sends ConTeXt into a loop. (You
are, in effect, saying "The font Baskerville-Italic resolves to the font
Baskerville-Italic"!)

Judging from the results of fondu and what texfont does, you probably
want (in the place of the above typescript):

\starttypescript [serif] [baskerville] [texansi]
  \definefontsynonym [Baskerville] [texnansi-Baskerville] [encoding=texansi]
  \definefontsynonym [Baskerville-Bold] [texnansi-BaskervilleBold]
[encoding=texansi]
  \definefontsynonym [Baskerville-Italic] [texnansi-BaskervilleItalic]
[encoding=texansi]
  \definefontsynonym [Baskerville-BoldItalic] [texnansi-BaskervilleBoldItalic]
[encoding=texansi]
\stoptypescript

>\starttypescript [baskerville] [texansi]
>  \definetypeface [baskerville] [rm] [serif] [default] [encoding=texansi]
>\stoptypescript

oops, you're missing an argument:
\definetypeface [baskerville] [rm] [serif] [baskerville] [default]
[encoding=texansi]

That should probably do you...
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl at comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the ntg-context mailing list