groff-commit
[Top][All Lists]
Advanced

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

[groff] 04/05: tmac/an-ext.tmac: Replace .nop requests.


From: G. Branden Robinson
Subject: [groff] 04/05: tmac/an-ext.tmac: Replace .nop requests.
Date: Sat, 22 May 2021 22:29:35 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 01edc79f70aa4ab5e05506f464ac6d9a47fa55cb
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun May 23 01:44:26 2021 +1000

    tmac/an-ext.tmac: Replace .nop requests.
    
    * tmac/an-ext.tmac (UE, ME): Replace .nop requests with text lines since
      this file is supposed to be maximally portable to other *roffs.
---
 ChangeLog        |  3 ++-
 tmac/an-ext.tmac | 12 ++++++------
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5b2b024..76da883 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,7 +2,8 @@
 
        * tmac/an-ext.tmac (UE, ME): Replace calls to HTML-NS macro for
        emissions of HTML 'A' tags with direct usage of \X device
-       control escapes.
+       control escapes.  Replace .nop requests with text lines since
+       this file is supposed to be maximally portable to other *roffs.
 
 2021-05-22  G. Branden Robinson <g.branden.robinson@gmail.com>
 
diff --git a/tmac/an-ext.tmac b/tmac/an-ext.tmac
index 1a7abf0..d33a490 100644
--- a/tmac/an-ext.tmac
+++ b/tmac/an-ext.tmac
@@ -114,15 +114,15 @@
 .
 .    \" Has there been one or more input lines for the link text?
 .    ie \\n(dn \{\
-.      nop \X^html:<a href="\\*(m1">^\c
+\X^html:<a href="\\*(m1">^\c
 .      \" Yes, strip off final newline of diversion and emit it.
 .      do chop link-text-div
 .      do link-text-div
 \c
-.      nop \X^html:</a>^\c
+\X^html:</a>^\c
 .    \}
 .    el \
-.      nop \X^html:<a href="\\*(m1">\\*(m1</a>^\c
+\X^html:<a href="\\*(m1">\\*(m1</a>^\c
 \&\\$*\"
 .  \}
 .  el \{\
@@ -155,15 +155,15 @@
 .
 .    \" Has there been one or more input lines for the link text?
 .    ie \\n(dn \{\
-.      nop \X^html:<a href="mailto:\\*(m1">^\c
+\X^html:<a href="mailto:\\*(m1">^\c
 .      \" Yes, strip off final newline of diversion and emit it.
 .      do chop link-text-div
 .      do link-text-div
 \c
-.      nop \X^html:</a>^\c
+\X^html:</a>^\c
 .    \}
 .    el \
-.      nop \X^html:<a href="mailto:\\*(m1">\\*(m1</a>^\c
+\X^html:<a href="mailto:\\*(m1">\\*(m1</a>^\c
 \&\\$*\"
 .  \}
 .  el \{\



reply via email to

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