On 2014-06-25 Jan Tosovsky wrote:
On 2014-06-23 Jan Tosovsky wrote:
On 2014-04-23 Jan Tosovsky wrote:
There are also few cases of orphans: ... ... Josef 29
K Karel 69 (! alone !) ---------------- (end page) ---------
I've found the corresponding code in strc-reg.mkiv:
\setvalue{\??registerindicator a}#1% {\registerparameter\c!before % bugged, why does leftskip gets set: \vskip\lineheight\goodbreak\vskip-\lineheight \begingroup \useregisterstyleandcolor\c!style\c!color \dontleavehmode \strut \iflocation \dosetdirectpagereference{\currentregister:\v!section:#1}% \fi \registerparameter\c!command{#1}% \endgroup \blank[\v!samepage]% \registerparameter\c!after \par \nobreak}
That (2) case can be fixed by a small change: \testcolumn[3]\registerparameter\c!command{#1}%
But when tested on this MWE, you can see a drawback - the first letter (p) starts always on the second line (not on the first one):
\setupregister[balance=yes] \starttext \index{primary+secondary+tertiary} \index[primary long]{\dorecurse{5}{primary long }} \index[primary longer]{\dorecurse{5}{primary longer }} \input{tufte} \completeindex \stoptext
I've realized that empty line is placed before every Index section where \testcolumn command is placed (by my patch). Is there any way to use \testcolumn and avoid producing that empty line? Thanks, Jan