bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

groff: macro MC in ms, second column starts one line higher than the fir


From: Bjarni Ingi Gislason
Subject: groff: macro MC in ms, second column starts one line higher than the first one
Date: Sat, 29 Aug 2009 20:18:09 +0000
User-agent: Mutt/1.4.2.2i

                           Groff Bug Report

GROFF VERSION:
1.19.2

MACHINE:
Laptop, AMD-K6

OS:
Debian GNU/Linux 2.6.8

COMPILER:
gcc 3.3.5

INPUT FILES:
.nh
.nf
.kern 0
.pl 6c
.ll 70n
.MC 30n
Text for multiple columns.
Text for multiple columns.
Text for multiple columns.
Text for multiple columns.
Text for multiple columns.


COMMAND LINE:
groff -ms -Z -ww

  uses groff version of ms macro.

DESCRIPTION OF INCORRECT BEHAVIOUR:
  Error in macro MC in the file "s.tmac"

  The first line in column one starts at V96000, in the second
column at V84000 H354000

OUTPUT:
x T ps
x res 72000 1 1
x init
F ./columns.gro
p1
V84000
H72000
x X devtag:.mc 2 150000 132000
V84000
H72000
n12000 0
x font 5 TR
f5
s10000
V96000
H72000
md
DFd
tText
wh3558
tfor
wh3558
tmultiple
wh3558
tcolumns.
wh6058
tText
wh3558
tfor
n12000 0
V108000
H72000
tmultiple
wh3610
tcolumns.
wh6110
tText
wh3610
tfor
wh3610
tmultiple
n12000 0
V84000
H354000
tcolumns.
wh5348
tText
wh2848
tfor
wh2847
tmultiple
wh2847
tcolumns.
n12000 0
V96000
H354000
tText
wh2500
tfor
wh2500
tmultiple
wh2500
tcolumns.
n12000 0
V146078
H504000
n12000 0
x trailer
V170078
x stop

SUGGESTED FIX [optional]:
  Define "pg*col-top" after the paragraph has been initialized.

Patch:

--- s.tmac      2009-08-29 15:28:25.000000000 +0000
+++ s.tmac_patched      2009-08-29 15:49:23.000000000 +0000
@@ -502,11 +502,11 @@
 .      el .nr pg*gutw 0
 .\}
 .DEVTAG ".mc address@hidden address@hidden \\n[pg*gutw]"
-.mk pg*col-top
 .ns
 .nr pg*col-num 0
 .nr address@hidden address@hidden/6
 address@hidden
+.mk pg*col-top
 ..
 .de 2C
 .MC

  After this, the second column starts at the same vertical
place as the first column.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]