[NTG-context] Apple Baskerville typescript

2005-06-30 Thread Steven Lumos
Does someone happen to have a typescript for Apple's Baskerville? My
own attempt is below.
I installed the font using fondu and texfont.  The example file output
by texfont works.  I don't see anything obviously helpful in the log
file.

\starttypescript [serif] [baskerville] [name]
  \setups [font:fallback:serif]
  \definefontsynonym [Serif] [Baskerville]
  \definefontsynonym [SerifBold] [Baskerville-Bold]
  \definefontsynonym [SerifItalic] [Baskerville-Italic]
  \definefontsynonym [SerifBoldItalic] [Baskerville-BoldItalic]
\stoptypescript

\starttypescript [map] [baskerville] [texansi]
  \loadmapfile [texansi-apple-baskerville.map]
\stoptypescript

\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

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


Thanks in advance.

Steve
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Apple Baskerville typescript

2005-06-30 Thread Thomas A. Schmitz
Your typescript is missing one step: you have to connect the symbolic  
names (like Baskerville-Roman) with the names of the tfm-files you  
generated (and there are some typos in it). Here's my own typescript,  
which works:



\loadmapfile[texnansi-apple-baskerville.map]

\usetypescriptfile[type-buy]

\starttypescript [serif] [baskerville] [texnansi]
  \definefontsynonym [Baskerville-Roman]  [texnansi- 
baskerville]  [encoding=texnansi]
  \definefontsynonym [Baskerville-Bold]   [texnansi- 
baskervillebo]  [encoding=texnansi]
  \definefontsynonym [Baskerville-Italic] [texnansi- 
baskervilleit]  [encoding=texnansi]
  \definefontsynonym [Baskerville-Bold-Italic][texnansi- 
baskervilleboit] [encoding=texnansi]

\stoptypescript

\starttypescript [serif] [baskerville] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]   [Baskerville-Roman]
  \definefontsynonym [SerifItalic] [Baskerville-Italic]
  \definefontsynonym [SerifBold]  [Baskerville-Bold]
  \definefontsynonym  [SerifBoldItalic] [Baskerville-Bold-Italic]
\stoptypescript

\starttypescript [Baskerville]
  \definetypeface [MyBaskerville] [rm] [serif] [baskerville]  
[default] [encoding=texnansi]



HTH

Thomas

On Jun 29, 2005, at 8:17 PM, Steven Lumos wrote:


Does someone happen to have a typescript for Apple's Baskerville? My
own attempt is below.
I installed the font using fondu and texfont.  The example file output
by texfont works.  I don't see anything obviously helpful in the log
file.

\starttypescript [serif] [baskerville] [name]
  \setups [font:fallback:serif]
  \definefontsynonym [Serif] [Baskerville]
  \definefontsynonym [SerifBold] [Baskerville-Bold]
  \definefontsynonym [SerifItalic] [Baskerville-Italic]
  \definefontsynonym [SerifBoldItalic] [Baskerville-BoldItalic]
\stoptypescript

\starttypescript [map] [baskerville] [texansi]
  \loadmapfile [texansi-apple-baskerville.map]
\stoptypescript

\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

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

\stoptypescript


Thanks in advance.

Steve
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Apple Baskerville typescript

2005-06-30 Thread Adam Lindsay
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. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context