bug-groff
[Top][All Lists]
Advanced

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

[bug #60637] [man] HTML rendering of multiple documents doesn't make muc


From: G. Branden Robinson
Subject: [bug #60637] [man] HTML rendering of multiple documents doesn't make much sense
Date: Tue, 15 Jun 2021 19:43:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Update of bug #60637 (project groff):

                  Status:                    None => Postponed              

    _______________________________________________________

Follow-up Comment #1:

Here's a patch, but it doesn't work because of bug #60782.

groff -Thtml happily renders all documents anyway and exits with status zero.


diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index 44ff676c..b9f6b536 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -171,6 +171,10 @@
 .  if !\\n[an-is-first-page-of-document] \{\
 .    ie \\n[cR] .an-end
 .    el         .an-start-new-document
+.    if \\n[an-is-output-html] \{\
+.      ds an-msg fatal error: cannot render multiple documents to HTML
+.      ab \\*[an-old]: \\*[an-msg]
+.    \}
 .    nr an-is-first-page-of-document 1
 .  \}
 .


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60637>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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