groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/02: tmac/tests/e_footnote-marks-work.sh: Enhance test.


From: G. Branden Robinson
Subject: [groff] 01/02: tmac/tests/e_footnote-marks-work.sh: Enhance test.
Date: Sun, 2 Jan 2022 15:50:22 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 96c817cf3e70a64175bf551928714bcde1cc9415
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Jan 3 07:30:10 2022 +1100

    tmac/tests/e_footnote-marks-work.sh: Enhance test.
    
    * tmac/tests/e_footnote-marks-work.sh: Enhance test.  Confirm that the
      automatic footnote number is reset to 1 by starting a new chapter with
      the `+c` macro.
---
 ChangeLog                           |  6 ++++++
 tmac/tests/e_footnote-marks-work.sh | 12 ++++++++++++
 2 files changed, 18 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 165a2a6b..81e36bb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-01-03  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/tests/e_footnote-marks-work.sh: Enhance test.  Confirm
+       that the automatic footnote number is reset to 1 by starting a
+       new chapter with the `+c` macro.
+
 2022-01-02  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [me]: Revise `n1` and `n2` interface and behavior.
diff --git a/tmac/tests/e_footnote-marks-work.sh 
b/tmac/tests/e_footnote-marks-work.sh
index 616fa9c7..38f1d9fe 100755
--- a/tmac/tests/e_footnote-marks-work.sh
+++ b/tmac/tests/e_footnote-marks-work.sh
@@ -40,6 +40,12 @@ sphinx**
 of quartz.\**
 .(f
 \** qux
+.)f
+.+c
+.pp
+Pack my box with five dozen liquor jugs.\**
+.(f
+\** ogg
 .)f'
 
 output=$(echo "$input" | "$groff" -Tascii -P-cbou -me)
@@ -59,4 +65,10 @@ echo "$output" \
 echo "$output" \
     | grep -F '[2] qux'
 
+echo "$output" \
+    | grep -F 'Pack my box with five dozen liquor jugs.[1]'
+
+echo "$output" \
+    | grep -F '[1] ogg'
+
 # vim:set ai et sw=4 ts=4 tw=72:



reply via email to

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