Re: [dev-context] [NTG-context] sample={99}
David Arnold wrote:
All,
Was I surprised to find that my numbering went to multiples of 2 when I added the option sample={99}. Is this a bug?
Yes, a bug. The local logic in core-des.tex (\@@dostartdescription) is not taking into account trial typesetting runs, so the counter is typeset twice and incremented twice: first for the 'sampled' measuring, then for 'real'. Patched version diff in attachment. Cheers, taco
Taco Hoekwater wrote:
David Arnold wrote:
All,
Was I surprised to find that my numbering went to multiples of 2 when I added the option sample={99}. Is this a bug?
Yes, a bug. The local logic in core-des.tex (\@@dostartdescription) is not taking into account trial typesetting runs, so the counter is typeset twice and incremented twice: first for the 'sampled' measuring, then for 'real'. Patched version diff in attachment.
actually, there is already a \trialtypesettingtrue you patch the second call -) the problem is that david didn't test for a preroll Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Taco Hoekwater wrote:
Hans Hagen wrote:
actually, there is already a
\trialtypesettingtrue
you patch the second call -)
Unless I am mistaken, there is a third call below that.
the second one does not use the text (copies the box) and the #3 is only used in a special case (list mode) in which complex code fails anyway Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen wrote:
Taco Hoekwater wrote:
Unless I am mistaken, there is a third call below that.
the second one does not use the text (copies the box) and the #3 is only used in a special case (list mode) in which complex code fails anyway
Ok, got it now.
participants (2)
-
Hans Hagen
-
Taco Hoekwater