ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Anyone for Garamond?
@ 2006-12-05 17:29 John R. Culleton
  2006-12-05 17:57 ` luigi scarso
  0 siblings, 1 reply; 4+ messages in thread
From: John R. Culleton @ 2006-12-05 17:29 UTC (permalink / raw)


I am able to establish Adobe Garamond as my body type with just a couple of 
TeXish commands. But my maneuvering though the maze of typescripts and 
synonymns yields no results. Here is my current typescript 
type-agaramond.tex:
-------------------------------------------------------------
\usetypescriptfile[type-buy]
\starttypescript [serif] [garamond] [8r]
  \definefontsynonym [AGaramond-Roman]           [8r-raw-AGaramond-Regular]  
[encoding=8r]
  \definefontsynonym [AGaramond-Italic]          [8r-raw-AGaramond-Italic] 
[encoding=8r]
  \definefontsynonym [AGaramond-Roman-SmallCaps] [8r-raw-gdsc] [encoding=8r]
\stoptypescript

\starttypescript [serif] [garamond] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]           [AGaramond-Roman]
  \definefontsynonym [SerifItalic]     [AGaramond-Italic]
  \definefontsynonym [SerifCaps]       [AGaramond-Roman-SmallCaps]  
\stoptypescript

\starttypescript [AGaramond] 
  \definetypeface [MyGaramond] [rm] [serif] [garamond] [default] [encoding=8r]
\stoptypescript
----------------------
And here are the commands in the file:
----------------------------------
\loadmapfile[8r-adobe-garamond.map]
\usetypescriptfile[type-agaramond.tex]
\usetypescript[garamond]
\setupbodyfont[AGaramond,10pt]
--------------------------------
The map file referenced above and  produced by the Texfonts utility is:
--------------------------------------------------------------------
% This file is generated by the TeXFont Perl script.
%
% You need to add the following line to pdftex.cfg:
%
%   map +8r-adobe-garamond.map
%
% Alternatively in your TeX source you can say:
%
%   \pdf    {+8r-adobe-garamond.map}
%
% In ConTeXt you can best use:
%
%   \loadmapfile[8r-adobe-garamond.map]

8r-raw-AGaramond-Italic AGaramond-Italic 4 < AGaramond-Italic.pfb 8r.enc
8r-raw-AGaramond-Regular AGaramond-Regular 4 < AGaramond-Regular.pfb 8r.enc
8r-raw-AGaramond-RegularSC AGaramond-RegularSC 4 < AGaramond-RegularSC.pfb 
8r.enc
8r-raw-gdsc AGaramond-RegularSC 4 < gdsc____.pfb 8r.enc
--------------------------------------------------------------------------

There are no error messages, but no Garamond either. But this works:

 \font\rmm 8r-raw-AGaramond-Regular at 10pt
\rmm

If anyone can spot the fatal flaw or has a correct typescript etc. please 
advise.


-- 
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed. 
http://wexfordpress.com

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

end of thread, other threads:[~2006-12-05 22:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-05 17:29 Anyone for Garamond? John R. Culleton
2006-12-05 17:57 ` luigi scarso
2006-12-05 18:01   ` Thomas A. Schmitz
2006-12-05 22:09     ` John R. Culleton

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