source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: Additional tests of automatic tagging involving different kinds
@ 2023-11-24  5:07 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2023-11-24  5:07 UTC (permalink / raw)
  To: source

Log Message:
-----------
Additional tests of automatic tagging involving different kinds of hyphens
after tag.c rev. 1.38.

Modified Files:
--------------
    mandoc/regress/man/IP:
        tag.in
        tag.out_ascii
        tag.out_html
        tag.out_tag
    mandoc/regress/man/TP:
        tag.in
        tag.out_ascii
        tag.out_html
        tag.out_tag
    mandoc/regress/mdoc/Em:
        tag.in
        tag.out_ascii
        tag.out_html
        tag.out_markdown
        tag.out_tag
    mandoc/regress/mdoc/Sy:
        tag.in
        tag.out_ascii
        tag.out_html
        tag.out_markdown
        tag.out_tag

Revision Data
-------------
Index: tag.out_html
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/man/TP/tag.out_html,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/man/TP/tag.out_html -Lregress/man/TP/tag.out_html -u -p -r1.1 -r1.2
--- regress/man/TP/tag.out_html
+++ regress/man/TP/tag.out_html
@@ -11,6 +11,12 @@
   <dd>text</dd>
   <dt id="weak"><a class="permalink" href="#weak"><i> -weak</i></a></dt>
   <dd>text</dd>
+  <dt id="hyphen-minus"><a class="permalink" href="#hyphen-minus">hyphen-minus</a></dt>
+  <dd>text</dd>
+  <dt id="minus-sign"><a class="permalink" href="#minus-sign">minus-sign</a></dt>
+  <dd>text</dd>
+  <dt id="strong~2"><a class="permalink" href="#strong~2"><b>-strong</b></a></dt>
+  <dd>text</dd>
   <dt><b>strong </b></dt>
   <dd>text</dd>
 </dl>
Index: tag.out_ascii
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/man/TP/tag.out_ascii,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/man/TP/tag.out_ascii -Lregress/man/TP/tag.out_ascii -u -p -r1.3 -r1.4
--- regress/man/TP/tag.out_ascii
+++ regress/man/TP/tag.out_ascii
@@ -18,8 +18,16 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
 
       _\b-_\bw_\be_\ba_\bk    text
 
+     hyphen-minus
+               text
+
+     minus-sign
+               text
+
+     -\b-s\bst\btr\bro\bon\bng\bg   text
+
      s\bst\btr\bro\bon\bng\bg    text
 
      ENDTEST
 
-OpenBSD                         March 10, 2020                       IP-TAG(1)
+OpenBSD                        November 24, 2023                     IP-TAG(1)
Index: tag.in
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/man/TP/tag.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/man/TP/tag.in -Lregress/man/TP/tag.in -u -p -r1.1 -r1.2
--- regress/man/TP/tag.in
+++ regress/man/TP/tag.in
@@ -1,5 +1,5 @@
-.\" $OpenBSD: tag.in,v 1.1 2020/03/13 00:31:05 schwarze Exp $
-.TH IP-TAG 1 "March 10, 2020"
+.\" $OpenBSD: tag.in,v 1.2 2023/11/24 04:53:39 schwarze Exp $
+.TH IP-TAG 1 "November 24, 2023"
 .SH NAME
 IP-tag \- automatic tagging of indented blocks
 .SH DESCRIPTION
@@ -23,6 +23,15 @@ text
 text
 .TP
 \&\fI \-weak\fP
+text
+.TP
+hyphen-minus
+text
+.TP
+minus\-sign
+text
+.TP
+.B \-strong
 text
 .TP
 .B "strong "
Index: tag.out_tag
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/man/TP/tag.out_tag,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lregress/man/TP/tag.out_tag -Lregress/man/TP/tag.out_tag -u -p -r1.4 -r1.5
--- regress/man/TP/tag.out_tag
+++ regress/man/TP/tag.out_tag
@@ -3,3 +3,6 @@ DESCRIPTION tag.mandoc_ascii 6
 plain tag.mandoc_ascii 11
 strong tag.mandoc_ascii 17
 weak tag.mandoc_ascii 19
+hyphen-minus tag.mandoc_ascii 21
+minus-sign tag.mandoc_ascii 24
+strong tag.mandoc_ascii 27
Index: tag.out_ascii
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/man/IP/tag.out_ascii,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/man/IP/tag.out_ascii -Lregress/man/IP/tag.out_ascii -u -p -r1.3 -r1.4
--- regress/man/IP/tag.out_ascii
+++ regress/man/IP/tag.out_ascii
@@ -12,8 +12,16 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
 
       _\b-_\bw_\be_\ba_\bk    text
 
+     hyphen-minus
+               text
+
+     minus-sign
+               text
+
+     -strong   text
+
       strong   text
 
      ENDTEST
 
-OpenBSD                         March 10, 2020                       IP-TAG(1)
+OpenBSD                        November 24, 2023                     IP-TAG(1)
Index: tag.out_tag
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/man/IP/tag.out_tag,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lregress/man/IP/tag.out_tag -Lregress/man/IP/tag.out_tag -u -p -r1.4 -r1.5
--- regress/man/IP/tag.out_tag
+++ regress/man/IP/tag.out_tag
@@ -2,3 +2,6 @@ NAME tag.mandoc_ascii 3
 DESCRIPTION tag.mandoc_ascii 6
 strong tag.mandoc_ascii 11
 weak tag.mandoc_ascii 13
+hyphen-minus tag.mandoc_ascii 15
+minus-sign tag.mandoc_ascii 18
+strong tag.mandoc_ascii 21
Index: tag.in
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/man/IP/tag.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/man/IP/tag.in -Lregress/man/IP/tag.in -u -p -r1.1 -r1.2
--- regress/man/IP/tag.in
+++ regress/man/IP/tag.in
@@ -1,5 +1,5 @@
-.\" $OpenBSD: tag.in,v 1.1 2020/03/13 00:31:05 schwarze Exp $
-.TH IP-TAG 1 "March 10, 2020"
+.\" $OpenBSD: tag.in,v 1.2 2023/11/24 04:53:39 schwarze Exp $
+.TH IP-TAG 1 "November 24, 2023"
 .SH NAME
 IP-tag \- automatic tagging of indented blocks
 .SH DESCRIPTION
@@ -11,6 +11,12 @@ text
 .IP "-strong"
 text
 .IP "\&\fI \-weak\fP"
+text
+.IP "hyphen-minus"
+text
+.IP "minus\-sign"
+text
+.IP "\-strong"
 text
 .IP " strong"
 text
Index: tag.out_html
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/man/IP/tag.out_html,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/man/IP/tag.out_html -Lregress/man/IP/tag.out_html -u -p -r1.1 -r1.2
--- regress/man/IP/tag.out_html
+++ regress/man/IP/tag.out_html
@@ -5,6 +5,12 @@
   <dd>text</dd>
   <dt id="weak"><a class="permalink" href="#weak"><i> -weak</i></a></dt>
   <dd>text</dd>
+  <dt id="hyphen-minus"><a class="permalink" href="#hyphen-minus">hyphen-minus</a></dt>
+  <dd>text</dd>
+  <dt id="minus-sign"><a class="permalink" href="#minus-sign">minus-sign</a></dt>
+  <dd>text</dd>
+  <dt id="strong~2"><a class="permalink" href="#strong~2">-strong</a></dt>
+  <dd>text</dd>
   <dt> strong</dt>
   <dd>text</dd>
 </dl>
Index: tag.out_markdown
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Em/tag.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Em/tag.out_markdown -Lregress/mdoc/Em/tag.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Em/tag.out_markdown
+++ regress/mdoc/Em/tag.out_markdown
@@ -16,10 +16,14 @@ BEGINTEST
 
 > text
 
+*minus&#45;sign*
+
+> text
+
 *four*
 *one*
 *five*
 
 ENDTEST
 
-OpenBSD - April 2, 2020
+OpenBSD - November 24, 2023
Index: tag.out_tag
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Em/tag.out_tag,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lregress/mdoc/Em/tag.out_tag -Lregress/mdoc/Em/tag.out_tag -u -p -r1.4 -r1.5
--- regress/mdoc/Em/tag.out_tag
+++ regress/mdoc/Em/tag.out_tag
@@ -3,5 +3,6 @@ DESCRIPTION tag.mandoc_ascii 6
 one tag.mandoc_ascii 9
 two tag.mandoc_ascii 9
 three-with-hyphens tag.mandoc_ascii 12
-four tag.mandoc_ascii 14
-explicit tag.mandoc_ascii 14
+minus-sign tag.mandoc_ascii 15
+four tag.mandoc_ascii 17
+explicit tag.mandoc_ascii 17
Index: tag.out_html
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Em/tag.out_html,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Em/tag.out_html -Lregress/mdoc/Em/tag.out_html -u -p -r1.3 -r1.4
--- regress/mdoc/Em/tag.out_html
+++ regress/mdoc/Em/tag.out_html
@@ -4,6 +4,8 @@
   <dd>text</dd>
   <dt id="three-with-hyphens"><a class="permalink" href="#three-with-hyphens"><i class="Em">three-with-hyphens</i></a></dt>
   <dd>text</dd>
+  <dt id="minus-sign"><a class="permalink" href="#minus-sign"><i class="Em">minus-sign</i></a></dt>
+  <dd>text</dd>
 </dl>
 <a class="permalink" href="#four"><i class="Em" id="four">four</i></a>
   <i class="Em">one</i>
Index: tag.out_ascii
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Em/tag.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Em/tag.out_ascii -Lregress/mdoc/Em/tag.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Em/tag.out_ascii
+++ regress/mdoc/Em/tag.out_ascii
@@ -11,8 +11,11 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
 
      _\bt_\bh_\br_\be_\be_\b-_\bw_\bi_\bt_\bh_\b-_\bh_\by_\bp_\bh_\be_\bn_\bs
              text
+
+     _\bm_\bi_\bn_\bu_\bs_\b-_\bs_\bi_\bg_\bn
+             text
      _\bf_\bo_\bu_\br _\bo_\bn_\be _\bf_\bi_\bv_\be
 
      ENDTEST
 
-OpenBSD                          April 2, 2020                         OpenBSD
+OpenBSD                        November 24, 2023                       OpenBSD
Index: tag.in
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Em/tag.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Em/tag.in -Lregress/mdoc/Em/tag.in -u -p -r1.2 -r1.3
--- regress/mdoc/Em/tag.in
+++ regress/mdoc/Em/tag.in
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tag.in,v 1.2 2020/04/02 14:55:29 schwarze Exp $
+.\" $OpenBSD: tag.in,v 1.3 2023/11/24 04:53:39 schwarze Exp $
 .Dd $Mdocdate$
 .Dt EM-TAG 1
 .Os
@@ -13,6 +13,8 @@ text
 .It Xo
 .Em three-with-hyphens
 .Xc
+text
+.It Em minus\-sign
 text
 .El
 .Em four
Index: tag.out_markdown
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Sy/tag.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Sy/tag.out_markdown -Lregress/mdoc/Sy/tag.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Sy/tag.out_markdown
+++ regress/mdoc/Sy/tag.out_markdown
@@ -12,7 +12,7 @@ BEGINTEST
 
 > text
 
-**three**
+**three-with&#45;hyphens**
 
 > text
 
@@ -22,4 +22,4 @@ BEGINTEST
 
 ENDTEST
 
-OpenBSD - March 13, 2020
+OpenBSD - November 24, 2023
Index: tag.out_tag
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Sy/tag.out_tag,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Sy/tag.out_tag -Lregress/mdoc/Sy/tag.out_tag -u -p -r1.3 -r1.4
--- regress/mdoc/Sy/tag.out_tag
+++ regress/mdoc/Sy/tag.out_tag
@@ -2,6 +2,6 @@ NAME tag.mandoc_ascii 3
 DESCRIPTION tag.mandoc_ascii 6
 one tag.mandoc_ascii 9
 two tag.mandoc_ascii 9
-three tag.mandoc_ascii 12
-four tag.mandoc_ascii 13
-explicit tag.mandoc_ascii 13
+three-with-hyphens tag.mandoc_ascii 12
+four tag.mandoc_ascii 14
+explicit tag.mandoc_ascii 14
Index: tag.in
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Sy/tag.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Sy/tag.in -Lregress/mdoc/Sy/tag.in -u -p -r1.1 -r1.2
--- regress/mdoc/Sy/tag.in
+++ regress/mdoc/Sy/tag.in
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tag.in,v 1.1 2020/03/13 00:31:06 schwarze Exp $
+.\" $OpenBSD: tag.in,v 1.2 2023/11/24 04:53:39 schwarze Exp $
 .Dd $Mdocdate$
 .Dt SY-TAG 1
 .Os
@@ -11,7 +11,7 @@ BEGINTEST
 .It Sy one | two
 text
 .It Xo
-.Sy three
+.Sy three-with\-hyphens
 .Xc
 text
 .El
Index: tag.out_ascii
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Sy/tag.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Sy/tag.out_ascii -Lregress/mdoc/Sy/tag.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/Sy/tag.out_ascii
+++ regress/mdoc/Sy/tag.out_ascii
@@ -9,9 +9,10 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
      o\bon\bne\be | t\btw\bwo\bo
              text
 
-     t\bth\bhr\bre\bee\be   text
+     t\bth\bhr\bre\bee\be-\b-w\bwi\bit\bth\bh-\b-h\bhy\byp\bph\bhe\ben\bns\bs
+             text
      f\bfo\bou\bur\br o\bon\bne\be f\bfi\biv\bve\be
 
      ENDTEST
 
-OpenBSD                         March 13, 2020                         OpenBSD
+OpenBSD                        November 24, 2023                       OpenBSD
Index: tag.out_html
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Sy/tag.out_html,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Sy/tag.out_html -Lregress/mdoc/Sy/tag.out_html -u -p -r1.2 -r1.3
--- regress/mdoc/Sy/tag.out_html
+++ regress/mdoc/Sy/tag.out_html
@@ -2,7 +2,7 @@
   <dt id="one"><a class="permalink" href="#one"><b class="Sy">one</b></a> |
     <a class="permalink" href="#two"><b class="Sy" id="two">two</b></a></dt>
   <dd>text</dd>
-  <dt id="three"><a class="permalink" href="#three"><b class="Sy">three</b></a></dt>
+  <dt id="three-with-hyphens"><a class="permalink" href="#three-with-hyphens"><b class="Sy">three-with-hyphens</b></a></dt>
   <dd>text</dd>
 </dl>
 <a class="permalink" href="#four"><b class="Sy" id="four">four</b></a>
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-24  5:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-24  5:07 mandoc: Additional tests of automatic tagging involving different kinds schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).