from J.T. Conklin <conklin@kaleida.com>:

When the -mandoc macros encounter a .TH, it loads the old -man macros,
slices up a new .TH, and hands off.

But the .TH arguments are not quoted in the new .TH invokation.
Dates, section names, etc., are split up and scattered across the
headers and footers of the manpage.

Very ugly.

Fix:
The following patch to /usr/share/tmac/tmac.andoc quotes the arguments
before they are (re)interpreted by .TH.
This commit is contained in:
cgd 1993-05-13 06:08:36 +00:00
parent fc782b3ff5
commit 69d1a121b3

View File

@ -50,6 +50,6 @@
.de TH
.rn TH xX
.so /usr/share/tmac/tmac.an.old
.TH \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8
.TH "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8"
.rm xX
..