groff
[Top][All Lists]
Advanced

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

[Groff] once more hdtbl


From: Joachim Walsdorff
Subject: [Groff] once more hdtbl
Date: Wed, 03 Feb 2010 18:45:09 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)


Larry and Werner,

thanks for spending your time to improve hdtbl. It's a good idea to seperate hdtbl- and example stuff into hdmisc.tmac respectively common.roff. But some little things now seem to be wrong.

1) In fonts_x.in und fonts_n.in:
.so examples/common.roff
is missing.

2) I would remove line 87 in Makefile.sub to prevent common.roff from beeing deleted by make clean.

3) In common.roff the traps for makros HM and BM are missing:
.wh 0 HM und .wh 0-1.5i BM

4) Also the initialization for t*HM nd t*BM (running title, running footer):
.ds t*HM //arbitrary text for pageheader, except on the first page//\"
.ds t*BM //arbitrary text for pagefooter, except on the last page/\\n[%]/\"

5) initialization of registers s and v in hdmisc.tmac is lost (necessary for proper work of macro pv):
.nr s \n[.ps] and .nr v \n[.v]
Also registers l, p and o should be set, for example:
.nr l \n[.l], .nr p \n[.p] and .nr o \n[.o]

6) In common.roff the line .mso hdtbl.tmac must be placed at the beginning (or before the refence to pv).

7) Macro EM and .em EM should remain in hdmisc.tmac.

Larry, furthermore no initialization is necessary before creating tables! And in groff_hdtbl.man should be described only hdtbl specific things and not utility macros like pv and other. pv is used by hdtbl, but it is useful independent from hdtbl, like others as P1, PN, getarg, index, SP, DI, time... And the naming convention is simply, that only hdtbl specific/exclusive names are preceeded by t*. (Most of the other names are historic, taken from an elder macropackage which run under AIX-troff; therefore the one and two character names.)

Joachim

--
Dr. Joachim Walsdorff
Hauptstraße 225
D 69117 Heidelberg
Tel. 06221-28680



reply via email to

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