URL:
<https://savannah.gnu.org/bugs/?61407>
Summary: [mom] Remove default error messages from mom-files.
Project: GNU troff
Submitted by: bjarniig
Submitted on: Mon 01 Nov 2021 12:22:31 AM UTC
Category: None
Severity: 3 - Normal
Item Group: New feature
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
Remove default error messages from mom-files.
1) Error message from "doc/automake.mom"
Fix in "doc/doc.am" with something like
.ms.ps:
$(GROFF_V)$(MKDIR_P) `dirname $@` \
&& $(DOC_GROFF) $(GROFF_PAPER_FLAG) -Tps -ms 2>&1 $< >$@ | \
**** ***
+ if test $< = ms.ms ; then \
+ sed -f <filter> >&2 ; \
+ fi
With file <filter> containing
/^error: can't transparently output node at top level$/d
2) Error messages from "contrib/mom/*.mom"
Fix in "contrib/mom/mom.am" with something like
.mom.pdf:
$(GROFF_V)$(MKDIR_P) `dirname $@` \
&& LC_ALL=C $(MOMPDFMOM) 2>&1 $< >$@ | \
**** ***
+ sed -f <filter> >&2
With file <filter> containing
/error: can't transparently output node at top level$/d
/error: can't translate character code /d
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61407>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/