bugGNU troff - Bugs: bug #52333, [PATCH] om.tmac-u: Compatibility...

 
 

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

Submitted by:  Bjarni Ingi Gislason <bjarniig>
Submitted on:  Fri 03 Nov 2017 02:23:32 AM UTC  
 
Category:  Macro - mom Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  Fixed
Privacy:  Public Assigned to:  G. Branden Robinson <gbranden>
Open/Closed:  Closed Planned Release:  None

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 03 Nov 2017 02:23:32 AM UTC, original submission:  

From 62fd1826751cbb2979187ade88fb7a9821584cf8 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
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 <bjarniig@rhi.hi.is>
---
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

Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bgarrigues (Updated the item)
  • -email is unavailable- added by gbranden (Updated the item)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-07-02 bgarrigues Open/ClosedOpen => Closed
    2017-11-10 gbranden SummaryPATCH] om.tmac-u: Compatibility mode demands either name '(.C' or '.do ...' => [PATCH] om.tmac-u: Compatibility mode demands either name '(.C' or '.do ...'
    2017-11-10 gbranden StatusIn Progress => Fixed
    2017-11-10 gbranden StatusNone => In Progress
        Assigned toNone => gbranden

    Back to the top


    Powered by Savane 3.5