![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Duncan Hothersall wrote:
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}}}
What about: \def\dodoregister[#1]#2#3% {\ifvmode \expandafter\doflushatpar \else \expandafter\firstofoneargument \fi {\doprocesspageregister[#1]{#2}{#3}}} Does that behave ok? Taco