groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/05: [ms]: Rename internal footnote marker strings.


From: G. Branden Robinson
Subject: [groff] 01/05: [ms]: Rename internal footnote marker strings.
Date: Fri, 6 Aug 2021 07:42:51 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 0e6a445c69f20eed8b544f888368919d8849be74
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Aug 5 15:37:07 2021 +1000

    [ms]: Rename internal footnote marker strings.
    
    * tmac/refer-ms.tmac:
    * tmac/s.tmac (fn@init, @PP): Rename strings `fn@sup-{start,end}` to
      `fn@mark-{start,end}.  This makes it more clear that the strings are
      brackets for the footnote marker, and not so much to do with the note
      text.  Further, in nroff mode, they aren't superscripts at all, but
      bracket glyphs.
---
 ChangeLog          |  9 +++++++++
 tmac/refer-ms.tmac |  4 ++--
 tmac/s.tmac        | 12 ++++++------
 3 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ba6283c..8ff7512 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2021-08-05  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/refer-ms.tmac:
+       * tmac/s.tmac (fn@init, @PP): Rename strings
+       `fn@sup-{start,end}` to `fn@mark-{start,end}.  This makes it
+       more clear that the strings are brackets for the footnote
+       marker, and not so much to do with the note text.  Further, in
+       nroff mode, they aren't superscripts at all, but bracket glyphs.
+
 2021-08-02  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * src/preproc/refer/refer.1.man (Examples): Add section.
diff --git a/tmac/refer-ms.tmac b/tmac/refer-ms.tmac
index eec4820..6bf99b6 100644
--- a/tmac/refer-ms.tmac
+++ b/tmac/refer-ms.tmac
@@ -42,8 +42,8 @@
 .de ref*biblio-item-end
 ..
 .
-.als ref*refnum-start fn@sup-start
-.als ref*refnum-end   fn@sup-end
+.als ref*refnum-start fn@mark-start
+.als ref*refnum-end   fn@mark-end
 .
 .ds [. \E*[ref*refnum-start]\"
 .ds .] \E*[ref*refnum-end]\"
diff --git a/tmac/s.tmac b/tmac/s.tmac
index 9b7d0dc..0152739 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -693,11 +693,11 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>.
 .nr fn*open 0
 .\" Handle initialition tasks deferred until par module is set up.
 .de fn@init
-.ie t .als fn@sup-start par@sup-start
-.el .ds fn@sup-start [
-.ie t .als fn@sup-end par@sup-end
-.el .ds fn@sup-end ]
-.ds * \E*[fn@sup-start]\En+[fn*text-num]\E*[fn@sup-end]
+.ie t .als fn@mark-start par@sup-start
+.el .ds fn@mark-start [
+.ie t .als fn@mark-end par@sup-end
+.el .ds fn@mark-end ]
+.ds * \E*[fn@mark-start]\En+[fn*text-num]\E*[fn@mark-end]
 ..
 .\" normal FS
 .de @FS
@@ -1590,7 +1590,7 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>.
 ..
 .de par*fp!0
 .@PP
-\&\\*[fn@sup-start]\\$1\\*[fn@sup-end]\ \c
+\&\\*[fn@mark-start]\\$1\\*[fn@mark-end]\ \c
 ..
 .de par*fp!0-no
 .@PP



reply via email to

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