ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* XeTeX, Adobe Garmond & dash, quotes, etc.
@ 2008-11-21  4:14 Bart C. Wise
  2008-11-21  4:44 ` Mojca Miklavec
  0 siblings, 1 reply; 9+ messages in thread
From: Bart C. Wise @ 2008-11-21  4:14 UTC (permalink / raw)
  To: Context Mailing List

The code below is used to load the Adobe Garmond fonts.  The problem is that 
quotes (``) produces two single quotes.  Similar with dashes: an en dash 
produces to dashes, an em dash likewise produces three dashes.  What am I 
doing wrong (again)!


\starttypescript[serif][agaramond][ec]
  \definefontsynonym[AGaramondRegular][name:AGaramond-Regular] [encoding=ec]
  \definefontsynonym[AGaramondItalic] [name:AGaramond-Italic][encoding=ec]
  \definefontsynonym[AGaramondBold]   [name:AGaramond-Bold] [encoding=ec]
  \definefontsynonym[AGaramondBoldIt]   [name:AGaramond-BoldItalic] 
[encoding=ec]
\stoptypescript

\starttypescript[serif][agaramond][name]
  \definefontsynonym  [Serif]           [AGaramondRegular]
  \definefontsynonym  [SerifItalic]     [AGaramondItalic]
  \definefontsynonym  [SerifBold]       [AGaramondBold]
  \definefontsynonym  [SerifBoldItalic] [AGaramondBoldIt]
\stoptypescript

\starttypescript[agaramond][ec]
  \definetypeface[agaramond][rm][serif][agaramond][default][encoding=ec]
\stoptypescript

\usetypescript[agaramond][ec]
\setupbodyfont[agaramond, 12pt]

\starttext
``Here's a lousy looking quote.''
Here are a couple of dashes: --
Here are three: ---
\stoptext

Thanks,
Bart
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-11-21 18:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-21  4:14 XeTeX, Adobe Garmond & dash, quotes, etc Bart C. Wise
2008-11-21  4:44 ` Mojca Miklavec
2008-11-21  5:40   ` Bart C. Wise
2008-11-21 16:01     ` Mojca Miklavec
2008-11-21 16:47       ` Bart C. Wise
2008-11-21 17:00         ` Mojca Miklavec
2008-11-21 17:25           ` Bart C. Wise
2008-11-21 18:11             ` Wolfgang Schuster
2008-11-21 18:30               ` Bart C. Wise

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