View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000381 | context | public | 2010-04-12 11:07 | 2017-03-27 17:11 | |
Reporter | steffen | Assigned To | Hans Hagen | ||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Summary | 0000381: line-break after \index mark | ||||
Description | MkIV allows a line-break before a dot when there is an \index{keyword} in front of that dot. | ||||
Steps To Reproduce | See minimal example (here), see PDF attached. \setuplayout [width=113mm,location=middle] \usetypescript[postscript] \definetypeface[postscript][rm][serif][times][default] \mainlanguage[de] \setupbodyfont[postscript,10pt] \setupinterlinespace[line=12pt] \setupalign[line,block] \starttext dieses ist dabei typisch für den Bereich der Architekten- oder Ingenieurleistungen\index{Ingenieurleistungen}. Warum? \stoptext | ||||
Tags | No tags attached. | ||||
|
|
|
There is a great hack from Wolfgang that lets line-break work ok again: \unexpanded\def\forcecolorhack{\penalty9999\leaders\hrule\normalhskip\zeropoint} |
|
This patch cannot be applied as it's just solving your case. You should have used \index{Ingenieurleistungen}Ingenieurleistungen. as normally you want he index to refer to the start of the word. As we don't want to break compatibility, and as we want words to get hyphenated a generic solution needs some thinking. |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-04-12 11:07 | steffen | New Issue | |
2010-04-12 11:07 | steffen | File Added: index_bug.pdf | |
2010-04-12 16:10 | steffen | Note Added: 0000533 | |
2010-08-02 18:07 | Hans Hagen | Note Added: 0000581 | |
2013-04-05 19:48 | Hans Hagen | Status | new => resolved |
2013-04-05 19:48 | Hans Hagen | Resolution | open => fixed |
2013-04-05 19:48 | Hans Hagen | Assigned To | => Hans Hagen |
2017-03-27 17:11 | Hans Hagen | Status | resolved => closed |