groff
[Top][All Lists]
Advanced

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

Re: problem with mm macros


From: Tadziu Hoffmann
Subject: Re: problem with mm macros
Date: Tue, 16 Mar 2021 12:38:41 +0100
User-agent: Mutt/1.11.4 (2019-03-13)

> I've attached your patch to http://savannah.gnu.org/bugs/?57034.

Just a brief follow-up to this: the test in the patch is
for a string expansion that returns nothing, in this case
usually because the string is not defined, and then groff
gives a warning.

There are two obvious ways to fix this: either an explicit
empty string that signifies the end of the author's titles,
or storing the number of titles in a register.  Both require
one extra register per author, but I think the latter is better,
since it easily allows using .ne to request enough space to
output an author's signature block without page breaks.

With that in mind, here's a better patch (relative to the
original m.tmac).  No provision is made for single titles
that are so long that they take more than one line to print.


Attachment: m.tmac.patch
Description: Text document


reply via email to

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