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

* Re: Anyone for Garamond?
  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
  0 siblings, 1 reply; 4+ messages in thread
From: luigi scarso @ 2006-12-05 17:57 UTC (permalink / raw)


> There are no error messages, but no Garamond either. But this works:
>
>  \font\rmm 8r-raw-AGaramond-Regular at 10pt
> \rmm
>

Strange, at least your log should be report something like 'font
xxxyyy not found'
maybe
\definetypeface [AGaramond] [rm] [serif] [garamond] [default] [encoding=8r]
instead of
\definetypeface [MyGaramond] [rm] [serif] [garamond] [default] [encoding=8r]
luigi

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

* Re: Anyone for Garamond?
  2006-12-05 17:57 ` luigi scarso
@ 2006-12-05 18:01   ` Thomas A. Schmitz
  2006-12-05 22:09     ` John R. Culleton
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas A. Schmitz @ 2006-12-05 18:01 UTC (permalink / raw)



On Dec 5, 2006, at 6:57 PM, luigi scarso wrote:

>> There are no error messages, but no Garamond either. But this works:
>>
>>  \font\rmm 8r-raw-AGaramond-Regular at 10pt
>> \rmm
>>
>
> Strange, at least your log should be report something like 'font
> xxxyyy not found'
> maybe
> \definetypeface [AGaramond] [rm] [serif] [garamond] [default]  
> [encoding=8r]
> instead of
> \definetypeface [MyGaramond] [rm] [serif] [garamond] [default]  
> [encoding=8r]
> luigi

\loadmapfile[8r-adobe-garamond.map] <== Better put this in the  
typescriptfile
\usetypescriptfile[type-agaramond.tex]
\usetypescript[garamond]            <== \usetypescript[AGaramond]
\setupbodyfont[AGaramond,10pt]      <== \setupbodyfont[MyGaramond]

HTH

Thomas

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

* Re: Anyone for Garamond?
  2006-12-05 18:01   ` Thomas A. Schmitz
@ 2006-12-05 22:09     ` John R. Culleton
  0 siblings, 0 replies; 4+ messages in thread
From: John R. Culleton @ 2006-12-05 22:09 UTC (permalink / raw)
  Cc: Thomas A. Schmitz

On Tuesday 05 December 2006 13:01, Thomas A. Schmitz wrote:
> On Dec 5, 2006, at 6:57 PM, luigi scarso wrote:
> >> There are no error messages, but no Garamond either. But this works:
> >>
> >>  \font\rmm 8r-raw-AGaramond-Regular at 10pt
> >> \rmm
> >
> > Strange, at least your log should be report something like 'font
> > xxxyyy not found'
> > maybe
> > \definetypeface [AGaramond] [rm] [serif] [garamond] [default]
> > [encoding=8r]
> > instead of
> > \definetypeface [MyGaramond] [rm] [serif] [garamond] [default]
> > [encoding=8r]
> > luigi
>
> \loadmapfile[8r-adobe-garamond.map] <== Better put this in the
> typescriptfile
I still need it in the document. Otherwise it tries to make bitmap files etc.  
> \usetypescriptfile[type-agaramond.tex]
As before.
> \usetypescript[garamond]            <== \usetypescript[AGaramond]
Yes!
> \setupbodyfont[AGaramond,10pt]      <== \setupbodyfont[MyGaramond]
>
Yes!
> HTH
It did. Many thanks to both. Luigi's solution might also work.  

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