bug-groff
[Top][All Lists]
Advanced

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

[bug #52333] PATCH] om.tmac-u: Compatibility mode demands either name '(


From: Bjarni Ingi Gislason
Subject: [bug #52333] PATCH] om.tmac-u: Compatibility mode demands either name '(.C' or '.do ...'
Date: Thu, 2 Nov 2017 22:23:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?52333>

                 Summary: PATCH] om.tmac-u: Compatibility mode demands either
name '(.C' or '.do ...'
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Fri 03 Nov 2017 02:23:32 AM UTC
                Category: Macro - mom
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:


>From 62fd1826751cbb2979187ade88fb7a9821584cf8 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <address@hidden>
Date: Fri, 3 Nov 2017 01:57:14 +0000
Subject: [PATCH] om.tmac-u: Compatibility mode demands either name '(.C' or
'.do ...'

  Some tests are rearanged so they will be a valid code and more logical(?).

  Tested with "groff -C -ww om.tmac-u".

Signed-off-by: Bjarni Ingi Gislason <address@hidden>
---
 contrib/mom/om.tmac-u | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/contrib/mom/om.tmac-u b/contrib/mom/om.tmac-u
index c20510e9..2425340a 100644
--- a/contrib/mom/om.tmac-u
+++ b/contrib/mom/om.tmac-u
@@ -46,20 +46,20 @@ extensions, and float management).
 \#
 \# ====================================================================
 \#
+.if \n(.C \
+.   ab [mom]: The groff mom macros do not work in compatibility mode.
+\# Check that GNU troff is being run
+.if !\n[.g]=1 \
+.   ab [mom]: The mom macros require that you be running GNU troff.
+\# Check which version of groff is being run
+.if (\n[.x]\n[.y] < 118) \
+.   ab [mom]: You need GNU troff version 1.18 or higher to run this version
of mom.
 \# Mom version
 .ds version 2.2-a
 .if dVERSION \{\
 .   ab [mom]: Version \*[version]
 .\}
 \#
-\# Check which version of groff is being run
-.if (\n[.x]\n[.y] < 118) \
-.   ab [mom]: You need GNU troff version 1.18 or higher to run this version
of mom.
-\# Check that GNU troff is being run
-.if !\n[.g]=1 \
-.   ab [mom]: The mom macros require that you be running GNU troff.
-.if \n[.C] \
-.   ab [mom]: The groff mom macros do not work in compatibility mode.
 \# Add supplementary styles
 .sty \n[.fp] UL      \"  Ultra Light
 .sty \n[.fp] ULI     \"  Ultra Light Italic
-- 
2.14.2







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52333>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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