[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Refer and mysterious comma
From: |
Tadziu Hoffmann |
Subject: |
Re: [Groff] Refer and mysterious comma |
Date: |
Sun, 5 Dec 2010 01:04:42 +0100 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
> That seems to be the reason for many errors while groff runs,
> just like these:
These are not critical. They occur because -me "clears" all
relevant strings before formatting a new reference, and groff
warns you if you try to remove a string or macro that doesn't
exist.
> > It appears to be a bug in -me.
I've looked at e.tmac, and "bug" maybe is too harsh a word.
The macros just seem to expect certain fields to be defined.
You can fix the problem you have by simply redefining macro
"[3" (which typesets "article-in-book" references) to
whatever suits your needs, for example something like this:
.de [3
.(f
.ip "\\*([F.\0"
\\*([A\c
.if !"\\*([T"" , \\f2\\*([T\\f1\c
.if !"\\*([P"" , pp. \\*([P\c
in \\f2\\*([B\\f1\c
.if !"\\*([S"" , \\*([S\c
.if !"\\*([V"" , \\*([V\c
.if !"\\*([E"" , ed. \\*([E\c
.if !"\\*([I"" , \\*([I\c
.if !"\\*([C"" , \\*([C\c
(\\*([D).
.if !"\\*([O"" \\*([O
.)f
..