[NTG-context] multi column index register broken

2012-07-16 Thread Andreas Mang
Dear all,

Firstly, thanks for the fixes in the index register. Works nicely...

However, I am facing an new problem with this very register: It seems that the 
current beta only works for index registers put in a single column (see below) 
or did the interface change?

Cheers,
Andreas

VERSION: ConTeXt  ver: 2012.07.16 20:58 MKIV  fmt: 2012.7.16

MINIMAL EXAMPLE:

%
\starttext
ABC\index{ABC}
DEF\index{DEF}
GHI\index{GHI}
JKL\index{JKL}
MNO\index{MNO}

% \placeindex[n=1] % works
% \completeindex[n=1] % works

\completeindex % does not work
%\placeindex[n=2] % does not work
%\completeindex[n=2] % does not work
\stoptext
%

ERROR MESSAGE:

Illegal unit of measure (pt inserted) …

to be read again 
   \relax 
\settotalinsertionheight ...on_height \s!topfloat 
  +\page_insert_insertion_he...
\page_mul_set_n_of_lines ...ttotalinsertionheight 
  \d_page_mul_temp \dimexpr ...
\page_otr_command_set_vsize ...mul_set_n_of_lines 
  \d_page_mul_temp \nofcolum...
\page_mul_start ... \plusone \page_mul_start_yes 
  \else \page_mul_start_nop ...
\strc_registers_place ...rparameter \c!tolerance ]
  \strc_registers_place_inde...
…

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] multi column index register broken

2012-07-16 Thread Hans Hagen

On 16-7-2012 23:44, Andreas Mang wrote:

Dear all,

Firstly, thanks for the fixes in the index register. Works nicely...

However, I am facing an new problem with this very register: It seems that the 
current beta only works for index registers put in a single column (see below) 
or did the interface change?


must be

\def\page_insert_insertion_height_indeed#1%
  {\ifvoid#1\zeropoint\else1\skip#1+\ht#1\fi}


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___