Am 27.03.2012 um 06:34 schrieb John Magolske: > * Hans Hagen <[email protected]> [120322 22:24]: >> On 22-3-2012 07:32, John Magolske wrote: >>> I'm having difficulty getting straight 0x0027 apostrophes to convert >>> into typographical single-quotes when using a given typescript. >> [...] >> search the wiki for 'features' ... you need to tell context what >> features to use for an opentype font > > Thanks, I found it's trep that lets the straight apostrophes get curly: > > \definefontfeature[default][trep=yes] > > This was informative: http://wiki.contextgarden.net/Quotesingle
ConTeXt has a predefined feature set where “trep” is already set, you missed only in your typescripts to apply the features to the font. \starttypescriptcollection [lemonde] \starttypescript [serif] [lemonde] \definefontsynonym [LeMondeLivre-Roman] [name:lemondelivrenormalosf] \definefontsynonym [LeMondeLivre-Bold] [name:lemondelivreboldosf] \definefontsynonym [LeMondeLivre-Italic] [name:lemondelivreitalicosf] \stoptypescript \starttypescript [serif] [lemonde] \setups[font:fallback:serif] \definefontsynonym [Serif] [LeMondeLivre-Roman] \definefontsynonym [SerifBold] [LeMondeLivre-Bold] \definefontsynonym [SerifItalic] [LeMondeLivre-Italic] \stoptypescript \starttypescript [sans] [lemonde] \definefontsynonym [LeMondeSans-Roman] [name:lemondesansnormalosf] \definefontsynonym [LeMondeSans-Bold] [name:lemondesansboldosf] \definefontsynonym [LeMondeSans-Italic] [name:lemondesansitalicosf] \stoptypescript \starttypescript [sans] [lemonde] \setups[font:fallback:sans] \definefontsynonym [Sans] [LeMondeSans-Roman] \definefontsynonym [SansBold] [LeMondeSans-Bold] \definefontsynonym [SansItalic] [LeMondeSans-Italic] \stoptypescript \starttypescript [lemonde] \definetypeface [lemonde] [rm] [serif] [lemonde] [default] [features=default] \definetypeface [lemonde] [ss] [sans] [lemonde] [default] [features=default] \quittypescriptscanning \stoptypescript \stoptypescriptcollection Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
