[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] Bug in -ms multi-column output with different odd/even page
From: |
Egil Kvaleberg |
Subject: |
[Groff] Bug in -ms multi-column output with different odd/even page |
Date: |
12 Nov 2002 07:18:33 +0100 |
I must admit fail to see the reasoning behind using a separate "save"
register for keeping the "global" page offset instead of using PO
directly.
With alternate PO's set for odd/even pages, using multi-column
multi-page output, the net effect is that the > 1st column is not
positioned correctly.
Perhaps it would be an idea to add an improved odd/even support in -ms.
It is just a matter of a couple of extra lines.
Patch follows:
------------------------------------------------------------------------
*** s.tmac.orig Tue Nov 12 05:50:30 2002
--- s.tmac Tue Nov 12 05:51:27 2002
***************
*** 499,503 ****
.nr pg*col-num 0
.nr address@hidden 0
- .nr pg*saved-po \\n[PO]
.po \\n[PO]u
.ev h
--- 499,502 ----
***************
*** 536,545 ****
.de pg*end-col
'sp |\\n[pg*col-top]u
! .po (u;\\n[pg*saved-po]+(address@hidden))
.\"po +(u;address@hidden)
.pg*start-col
..
.de pg*end-page
! .po \\n[pg*saved-po]u
.\" Make sure we don't exit if there are still floats or footnotes
left-over.
.ie address@hidden<address@hidden:address@hidden \{\
--- 535,544 ----
.de pg*end-col
'sp |\\n[pg*col-top]u
! .po (u;\\n[PO]+(address@hidden))
.\"po +(u;address@hidden)
.pg*start-col
..
.de pg*end-page
! .po \\n[PO]u
.\" Make sure we don't exit if there are still floats or footnotes
left-over.
.ie address@hidden<address@hidden:address@hidden \{\
--------------------------------------------------------------------------
Egil
--
Email: address@hidden
Voice/videophone: +47 22523641 Voice: +47 92022780 Fax: +47 22525899
Mail: Egil Kvaleberg, Husebybakken 14A, 0379 Oslo, Norway
Home: http://www.kvaleberg.com/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff] Bug in -ms multi-column output with different odd/even page,
Egil Kvaleberg <=