Hi,
I have read there were troubles with |-| in MkIV last year.
I found another one: the hyphen set by |-| doesn't get protruded.
See example below, please:
\startluacode
fonts.protrusions.vectors['stpure'] = {
[0x002D] = { 0, 0.50 }, -- hyphen
}
fonts.protrusions.classes['stwpure'] = {
vector = 'stpure', factor = 1
}
\stopluacode
\definefontfeature[default][default]
[mode=node,protrusion=stwpure,script=latn]% extend=2,slant=.2,
\usetypescript[postscript]
\definetypeface[postscript][rm][serif][times][default]
\setupbodyfont[postscript,18pt]
\setupalign[line,block,hanging]
\showframe
\starttext
\dorecurse{13}{test } test|-|text test
\dorecurse{13}{test } test- text test
\stoptext
Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________