ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* What happened to the em dashes?
@ 2006-12-15 22:36 John R. Culleton
  2006-12-16  8:41 ` Taco Hoekwater
  0 siblings, 1 reply; 2+ messages in thread
From: John R. Culleton @ 2006-12-15 22:36 UTC (permalink / raw)


I just noticed on a sample chapter sent to a customer that the em dashes are 
missing. What is shown is the three hyphens instead.

In my document I have this:

\loadmapfile[8r-adobe-garamond.map]
\usetypescriptfile[type-agaramond.tex]
\usetypescript[AGaramond]
\setupbodyfont[MyGaramond,11pt]

In type-agaramond.tex I have this:
---------------------------------------
\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-AGaramond-RegularSC] 
[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
-------------------------------------------------
I intstalled the fonts by using the texfont package.

I can of course look up the glyph on the chart and do a \char thingie but the 
em dash is so basic I don't know how I messed it up. Does it have something 
to do with the 8r-raw encoding? That is what came out of texfont. 


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

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

* Re: What happened to the em dashes?
  2006-12-15 22:36 What happened to the em dashes? John R. Culleton
@ 2006-12-16  8:41 ` Taco Hoekwater
  0 siblings, 0 replies; 2+ messages in thread
From: Taco Hoekwater @ 2006-12-16  8:41 UTC (permalink / raw)


John R. Culleton wrote:
> I just noticed on a sample chapter sent to a customer that the em dashes are 
> missing. What is shown is the three hyphens instead.
> 
> In my document I have this:
> 
> \loadmapfile[8r-adobe-garamond.map]

I am almost certain that in this line (and following ones) the "8r" and
"8r-raw" should be replaced by "ec", like so:

\loadmapfile[ec-adobe-garamond.map]
\usetypescriptfile[type-agaramond.tex]
\usetypescript[AGaramond]
\setupbodyfont[MyGaramond,11pt]


\starttypescript [serif] [garamond] [ec]
   \definefontsynonym[AGaramond-Roman][ec-AGaramond-Regular][encoding=ec]
   \definefontsynonym[AGaramond-Italic][ec-AGaramond-Italic][encoding=ec]
   \definefontsynonym[AGaramond-Roman-SmallCaps] [ec-AGaramond-RegularSC]
     [encoding=ec]
\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=ec]
\stoptypescript


Best, Taco

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

end of thread, other threads:[~2006-12-16  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-15 22:36 What happened to the em dashes? John R. Culleton
2006-12-16  8:41 ` Taco Hoekwater

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