ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "John R. Culleton" <john@wexfordpress.com>
Subject: Anyone for Garamond?
Date: Tue, 5 Dec 2006 12:29:27 -0500	[thread overview]
Message-ID: <200612051229.27904.john@wexfordpress.com> (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

             reply	other threads:[~2006-12-05 17:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-05 17:29 John R. Culleton [this message]
2006-12-05 17:57 ` luigi scarso
2006-12-05 18:01   ` Thomas A. Schmitz
2006-12-05 22:09     ` John R. Culleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200612051229.27904.john@wexfordpress.com \
    --to=john@wexfordpress.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).