[dev-context] \dodoregister bug
Duncan Hothersall
dh at capdm.com
Wed Feb 22 13:04:02 CET 2006
With latest ConTeXt:
--
\starttext
This is a paragraph of text with an index term at the very end of it.
This is a paragraph of text with an index term at the very end of it.
\index{test}
This is another paragraph. This is another paragraph. This is another
paragraph.
\stoptext
--
These two paras run together. If I remove the recent fix (which I
requested - sorry Hans!) to \dodoregister in core-reg:
\def\dodoregister[#1]#2#3%
{\doprocesspageregister[#1]{#2}{#3}}
% intead of
%% \def\dodoregister[#1]#2#3%
%% {\doflushatpar{\doprocesspageregister[#1]{#2}{#3}}}
This makes things work correctly again, but of course it also removes
the nice fix which stopped \index calls at the start of paras causing
additional white-space.
I suggest that this is reverted though, because this is probably a more
serious and common problem than the one we were trying to fix.
Duncan
More information about the dev-context
mailing list