Am 26.06.2011 um 22:18 schrieb Thomas Schmitz:
\setuplayout[width=6.3cm]\showframe %\let\forcecolorhack\relax \starttext This is a short sentence to check \index{test}the \tex{index} command. This is another sentence for the test\index{test}. \stoptext The problem when you put the \index command before a word is that it can end in a visible space at the end of the previous line. Wolfgang Thanks, Wolfgang. Just to confirm: yes, this short test does indeed show exactly the effects I was referring to. So question to Taco: could some lua trickery somehow get around these nasty effects? Because they really make finishing a long project somewhat difficult...
The effect is caused by \forcecolorhack and when uncomment my redefinition you can see that the output is as expected but there has to be a reason why Hans use it. Wolfgang