[NTG-context] StretchedBox broken in mkiv

2011-09-26 Thread Michael Guravage
Several years ago Hans cooked up a fix using \CapStretch that allowed me to
stretch words. That early version of \stretchedbox appeared in later ConTeXt
versions as \StretchedBox as described in strc-sec.mkii and strc-ren.mkiv.
This feature worked in the ConTeXt version dated 2011.07.26, but does not
work in my current ConTeXt version dated 2011.09.10. I have attached an
example file that works with mkii and with earlier mkiv versions, but not
with the current mkiv.

I am curious to know what has changed to break this functionality.
Initially, I thought it had to do with \setuphead's definition of
'deeptextcommand', but since there are no difference in the files
strc-sec-mkii and strc-ren.mkiv between these two releases, the reason must
lie elsewhere. If anyone can explain what has changed, an more importantly
how to reinstate it, I would be most grateful.

With kind regards,

Michael Guravage


stretchMe.tex
Description: TeX document
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] StretchedBox broken in mkiv

2011-09-26 Thread Wolfgang Schuster

Am 26.09.2011 um 19:56 schrieb Michael Guravage:

 
 Several years ago Hans cooked up a fix using \CapStretch that allowed me to 
 stretch words. That early version of \stretchedbox appeared in later ConTeXt 
 versions as \StretchedBox as described in strc-sec.mkii and strc-ren.mkiv. 
 This feature worked in the ConTeXt version dated 2011.07.26, but does not 
 work in my current ConTeXt version dated 2011.09.10. I have attached an 
 example file that works with mkii and with earlier mkiv versions, but not 
 with the current mkiv. 
 
 I am curious to know what has changed to break this functionality. Initially, 
 I thought it had to do with \setuphead's definition of 'deeptextcommand', but 
 since there are no difference in the files strc-sec-mkii and strc-ren.mkiv 
 between these two releases, the reason must lie elsewhere. If anyone can 
 explain what has changed, an more importantly how to reinstate it, I would be 
 most grateful.

Use \kerncharacters etc. instead of \stretchednormalcase.

Wolfgang
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___