Mojca Miklavec wrote:
On 7/23/06, Helin Gai wrote:
Hi,
I used the following code to set up margin kerning:
\setupfontsynonym[cmr10][handling=hz] \setupfontsynonym[Serif][handling=hz] \usetypescript[cmr] \setupbodyfont[cmr,10pt] \setupalign[hz,hanging]
Can someone please tell me what is going wrong? Thanks!!
Does the recipe on http://wiki.contextgarden.net/Protrusion#Use_with_Latin_Modern help you?
because of tex's global font attribute assignments and font resource optimizations, one cannot add features after a font has been defined; so, in you rcase, the cmr fonts have already be defined try the wiki recipe instead: - tell what handlings to use which what style - then define the typeface - then invoke it \setupalign is independent of this and can be applied afterwards when needed Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------