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