URL:
<https://savannah.gnu.org/bugs/?59608>
Summary: sample_docs.mom: new error: an argument has a 'p'
unit attached
Project: GNU troff
Submitted by: bjarniig
Submitted on: Wed 02 Dec 2020 11:30:24 PM UTC
Category: Macro - mom
Severity: 3 - Normal
Item Group: Warning/Suspicious behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
sample_docs.mom: new error: an argument has a 'p' unit attached
From a make-run:
GROFF contrib/mom/examples/sample_docs.pdf
[mom]: The argument to DOC_COVER_TITLE_UNDERLINE_WEIGHT must not have a
unit of measure appended.
[mom]: Aborting '../contrib/mom/examples/sample_docs.mom' at
DOC_COVER_TITLE_UNDERLINE_WEIGHT, line 86.
This is new.
1) The message comes from the macro RULE_WEIGHT.
The message should contain the name of this macro
(the creator of the message should identify itself).
It should mention the offending argument.
Add (\\$1) after the word "argument".
2) I have not seen this until recently.
.DOC_COVER_TITLE_STYLE \
SIZE +8 \
SMALLCAPS \
UNDERLINE 1 3p <---- line 86
First notice of this was 29th November.
Last time without error was 24th November.
Got a new version of the compiler, gcc-10_10.2.0-19 (Debian), 25th
November.
Removing the 'p ' silences the warning.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59608>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/