[NTG-context] placed tabulations broken when ended with \HL in MkIV

John Devereux john at devereux.me.uk
Tue Sep 27 12:58:59 CEST 2016


Wolfgang Schuster <schuster.wolfgang at gmail.com> writes:

     
>     
>     John Devereux
>     26. September 2016 um 13:20
>     
>     Hi,
>     
>     I updated my context (IV) installation recently and most of my
>     tabulations are not working when they are placed with \placetable.
>     
>     Even the examples on the wiki do not work e.g. this aborts with an
>     undefined control sequence error for the \stoptabulate:
>     
>     \starttext
>     This is a very long text, longer than the width of the table.
>     It must be long enough to flow to the next line to see the effect.
>     
>     \startplacetable[location=force,number=no]
>     \starttabulate[|r|l|]
>     \HL
>     \NC I want this table \NC aligned in the center.\NC\NR
>     \HL
>     \stoptabulate
>     \stopplacetable
>     \stoptext
>     
>     
>     I traced it to ending with a \HL. It can be made to work if I add
>     an
>     extra \AR after the final \HL
>     
> tabl-tbl.mkiv:
>
> \def\tabl_tabulate_inside_before
> {\ifhmode\par\fi
> \ifhmode
> \ifinsidesplitfloat
> \let\tabl_tabulate_inside_after \relax
> + \let\tabl_tabulate_inside_inbetween\relax
> \else
> \vbox\bgroup
> \let\tabl_tabulate_inside_after \egroup
> + \let\tabl_tabulate_inside_inbetween\relax
> \fi
> \else
> \let\tabl_tabulate_inside_after \relax
> + \let\tabl_tabulate_inside_inbetween\relax
> \fi}

Thanks Wolfgang, that works.

John


-- 

John Devereux


More information about the ntg-context mailing list