bug-groff
[Top][All Lists]
Advanced

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

Line continuation in unstripped doc.tmac


From: Gunnar Ritter
Subject: Line continuation in unstripped doc.tmac
Date: Sat, 20 Oct 2007 14:09:55 +0200
User-agent: Heirloom mailx 12.4pre 10/1/07

Hi,

doc.tmac contains the following lines:

.    ie (\n[doc-reg-dpr1] == 2) \
.      \" the `\%' prevents hyphenation on a dash (`-')
.      nop \%\*[doc-str-dpr]\&\c
.    el \{\
.      \" punctuation character
.      nop \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]\c
.      nop \)\*[doc-str-dpr]\f[]\s[0]\c
.    \}

The continuation at the beginning does not work as
expected since it ends with the comment, and the third
line is executed in any case. However, since the macro
file is normally processed by strip.sed before it is
installed, this problem disappears for the installed
version.

Still, when using the macro file directly within the
source directory, \*[doc-str-dpr] is printed twice,
e.g. for .Xr with a comma as its third argument.

The issue can easily be fixed by using \{\ of course.

        Gunnar




reply via email to

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