[dev-context] Register page number collapse patch

Mike Bird mgb-debian at yosemite.net
Tue Nov 14 21:08:21 CET 2006


On Tuesday 14 November 2006 07:17, Hans Hagen wrote:
> Mike Bird wrote:
> > Attached please find a small patch against the Nov 5th beta
> > which fixes a few bugs in register page number compression.
>
> ok, i'll have a look
>
> btw, next time, just send me the changed files, which i will then
> compare in a visual diff ; i never managed to get patch working under
> windows

Hi Hans,

Sorry you're stuck in Windows.  Updated core-reg.tex attached.

> is there also a tex test file?

Short answer: No.

Long answer: A substantial test file is needed to demonstrate all
the page collapsing problems.  I do not have time to produce a
public domain test.  I have tested it on a 35-page document which
is not releasable.  On that document it fixes the all of the known
bugs and does not break register placement when compress is off.

Here is a part of a register placement from the 35-page document.
The item names have been changed.

Uncompressed:
A . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
B . . . . . . . . . . . . . . . . . . . . . . . . 2, 3, 7
C . . . . . . . . . . . . . . . . . . . . . . . . . .  15
D . . . . . . . . . . . . . . . . . . . . . . . . . .  20
E . . . . . . . . . . . . . . . . . . . . . . . .  16, 18
F . . . . . . . . . . . . . . . . . . . . . . . .  18, 19
G . . . . . . . . . . . . . . . . . . . . . . . . . .  24
H . . . . . .  13, 14, 14, 14, 14, 15, 15, 16, 16, 16, 16,
   23, 24, 25, 25, 25
I . . . . . . . . . . . . . . . . . . .  6, 7, 18, 22, 22
J . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
K . . . . . . . . . . . .  2, 3, 6, 7, 20, 21, 22, 22, 27

Compressed, using Nov 3rd beta:
A . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
B . . . . . . . . . . . . . . . . . . . . . . . . .  2, 3
C . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
D . . . . . . . . . . . . . . . . . . . . . . . . . .  15
E . . . . . . . . . . . . . . . . . . . . . . . .  20, 16
F . . . . . . . . . . . . . . . . . . . . . . . .  18, 19
G . . . . . . . . . . . . . . . . . . . . . . . . . .  24
H . . . . . . . . . . . . . . . . . . .  13, 14–23, 23–25
I . . . . . . . . . . . . . . . . . . . . .  6, 7, 18, 22
J . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
K . . . . . . . . . . . . . . . . . . . 2, 3, 6–20, 20–27

Compressed, with patch:
A . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
B . . . . . . . . . . . . . . . . . . . . . . . .  2–3, 7
C . . . . . . . . . . . . . . . . . . . . . . . . . .  15
D . . . . . . . . . . . . . . . . . . . . . . . . . .  20
E . . . . . . . . . . . . . . . . . . . . . . . .  16, 18
F . . . . . . . . . . . . . . . . . . . . . . . . . 18–19
G . . . . . . . . . . . . . . . . . . . . . . . . . .  24
H . . . . . . . . . . . . . . . . . . . . .  13–16, 23–25
I . . . . . . . . . . . . . . . . . . . . . . 6–7, 18, 22
J . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
K . . . . . . . . . . . . . . . . . . 2–3, 6–7, 20–22, 27

--Mike Bird
-------------- next part --------------
A non-text attachment was scrubbed...
Name: core-reg.tex
Type: text/x-tex
Size: 38381 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/dev-context/attachments/20061114/62dd5b87/attachment.tex>


More information about the dev-context mailing list