From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 22239 invoked from network); 2 Apr 2020 15:05:13 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with UTF8ESMTPZ; 2 Apr 2020 15:05:13 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 69ab7d98 for ; Thu, 2 Apr 2020 10:05:10 -0500 (EST) Received: from localhost (mandoc.bsd.lv [local]) by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id cbb04a8c for ; Thu, 2 Apr 2020 10:05:10 -0500 (EST) Date: Thu, 2 Apr 2020 10:05:10 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: Copy tagged strings before marking hyphens as breakable. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: <11ff2f05ca77956f@mandoc.bsd.lv> Log Message: ----------- Copy tagged strings before marking hyphens as breakable. For example, this makes ":tCo-processes" work in ksh(1). Modified Files: -------------- mandoc: mdoc_validate.c mandoc/regress/mdoc/Em: tag.in tag.out_ascii tag.out_html tag.out_markdown tag.out_tag mandoc/regress/mdoc/Sh: tag.in tag.out_ascii tag.out_html tag.out_lint tag.out_markdown tag.out_tag mandoc/regress/mdoc/Tg: warn.in warn.out_ascii warn.out_html warn.out_markdown warn.out_tag Revision Data ------------- Index: tag.out_lint =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Sh/tag.out_lint,v retrieving revision 1.1 retrieving revision 1.2 diff -Lregress/mdoc/Sh/tag.out_lint -Lregress/mdoc/Sh/tag.out_lint -u -p -r1.1 -r1.2 --- regress/mdoc/Sh/tag.out_lint +++ regress/mdoc/Sh/tag.out_lint @@ -1,3 +1,3 @@ mandoc: tag.in:14:2: WARNING: duplicate section title: Sh DESCRIPTION -mandoc: tag.in:22:7: WARNING: tab in filled text -mandoc: tag.in:22:22: WARNING: tab in filled text +mandoc: tag.in:24:7: WARNING: tab in filled text +mandoc: tag.in:24:22: WARNING: tab in filled text Index: tag.out_tag =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Sh/tag.out_tag,v retrieving revision 1.1 retrieving revision 1.2 diff -Lregress/mdoc/Sh/tag.out_tag -Lregress/mdoc/Sh/tag.out_tag -u -p -r1.1 -r1.2 --- regress/mdoc/Sh/tag.out_tag +++ regress/mdoc/Sh/tag.out_tag @@ -4,4 +4,5 @@ Subsection 9 DESCRIPTION 14 examples 17 example 20 -WEIRD_SECTION 23 +Sub-section 23 +WEIRD_SECTION 26 Index: tag.out_ascii =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Sh/tag.out_ascii,v retrieving revision 1.2 retrieving revision 1.3 diff -Lregress/mdoc/Sh/tag.out_ascii -Lregress/mdoc/Sh/tag.out_ascii -u -p -r1.2 -r1.3 --- regress/mdoc/Sh/tag.out_ascii +++ regress/mdoc/Sh/tag.out_ascii @@ -20,6 +20,9 @@ EEXXAAMMPPLLEESS SSuubbsseeccttiioonn Example text. + SSuubb--sseeccttiioonn + More example text. + WWEEIIRRDD SSEECCTTIIOONN Text in weird section. @@ -28,4 +31,4 @@ EEXXAAMMPPLLEESS ENDTEST -OpenBSD April 1, 2020 OpenBSD +OpenBSD April 2, 2020 OpenBSD Index: tag.out_markdown =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Sh/tag.out_markdown,v retrieving revision 1.2 retrieving revision 1.3 diff -Lregress/mdoc/Sh/tag.out_markdown -Lregress/mdoc/Sh/tag.out_markdown -u -p -r1.2 -r1.3 --- regress/mdoc/Sh/tag.out_markdown +++ regress/mdoc/Sh/tag.out_markdown @@ -26,6 +26,10 @@ Text introducing examples. Example text. +## Sub-section + +More example text. + # WEIRD SECTION Text in weird section. @@ -36,4 +40,4 @@ Text in section with empty header. ENDTEST -OpenBSD - April 1, 2020 +OpenBSD - April 2, 2020 Index: tag.in =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Sh/tag.in,v retrieving revision 1.2 retrieving revision 1.3 diff -Lregress/mdoc/Sh/tag.in -Lregress/mdoc/Sh/tag.in -u -p -r1.2 -r1.3 --- regress/mdoc/Sh/tag.in +++ regress/mdoc/Sh/tag.in @@ -1,4 +1,4 @@ -.\" $OpenBSD: tag.in,v 1.2 2020/04/01 20:10:18 schwarze Exp $ +.\" $OpenBSD: tag.in,v 1.3 2020/04/02 14:55:29 schwarze Exp $ .Dd $Mdocdate$ .Dt SH-TAG 1 .Os @@ -19,6 +19,8 @@ Text introducing examples. .Tg example .Ss Subsection Example text. +.Ss Sub-section +More example text. .Sh "\& WEIRD SECTION " Text in weird section. .Sh \ \& Index: tag.out_html =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Sh/tag.out_html,v retrieving revision 1.2 retrieving revision 1.3 diff -Lregress/mdoc/Sh/tag.out_html -Lregress/mdoc/Sh/tag.out_html -u -p -r1.2 -r1.3 --- regress/mdoc/Sh/tag.out_html +++ regress/mdoc/Sh/tag.out_html @@ -12,6 +12,10 @@

Example text.

+
+

+

More example text.

+

|
text
-
+
text
Index: tag.out_markdown =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Em/tag.out_markdown,v retrieving revision 1.1 retrieving revision 1.2 diff -Lregress/mdoc/Em/tag.out_markdown -Lregress/mdoc/Em/tag.out_markdown -u -p -r1.1 -r1.2 --- regress/mdoc/Em/tag.out_markdown +++ regress/mdoc/Em/tag.out_markdown @@ -12,7 +12,7 @@ BEGINTEST > text -*three* +*three-with-hyphens* > text @@ -22,4 +22,4 @@ BEGINTEST ENDTEST -OpenBSD - March 13, 2020 +OpenBSD - April 2, 2020 Index: warn.out_tag =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Tg/warn.out_tag,v retrieving revision 1.2 retrieving revision 1.3 diff -Lregress/mdoc/Tg/warn.out_tag -Lregress/mdoc/Tg/warn.out_tag -u -p -r1.2 -r1.3 --- regress/mdoc/Tg/warn.out_tag +++ regress/mdoc/Tg/warn.out_tag @@ -1,6 +1,6 @@ NAME 3 DESCRIPTION 6 -start 9 +start-tag 9 macro 9 sub 9 double 11 Index: warn.out_ascii =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Tg/warn.out_ascii,v retrieving revision 1.1 retrieving revision 1.2 diff -Lregress/mdoc/Tg/warn.out_ascii -Lregress/mdoc/Tg/warn.out_ascii -u -p -r1.1 -r1.2 --- regress/mdoc/Tg/warn.out_ascii +++ regress/mdoc/Tg/warn.out_ascii @@ -16,4 +16,4 @@ EEXXAAMMPPLLEESS ENDTEST -OpenBSD March 13, 2020 OpenBSD +OpenBSD April 2, 2020 OpenBSD Index: warn.out_markdown =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Tg/warn.out_markdown,v retrieving revision 1.1 retrieving revision 1.2 diff -Lregress/mdoc/Tg/warn.out_markdown -Lregress/mdoc/Tg/warn.out_markdown -u -p -r1.1 -r1.2 --- regress/mdoc/Tg/warn.out_markdown +++ regress/mdoc/Tg/warn.out_markdown @@ -27,4 +27,4 @@ text ENDTEST -OpenBSD - March 13, 2020 +OpenBSD - April 2, 2020 Index: warn.in =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Tg/warn.in,v retrieving revision 1.1 retrieving revision 1.2 diff -Lregress/mdoc/Tg/warn.in -Lregress/mdoc/Tg/warn.in -u -p -r1.1 -r1.2 --- regress/mdoc/Tg/warn.in +++ regress/mdoc/Tg/warn.in @@ -1,4 +1,4 @@ -.\" $OpenBSD: warn.in,v 1.1 2020/03/13 00:31:06 schwarze Exp $ +.\" $OpenBSD: warn.in,v 1.2 2020/04/02 14:55:29 schwarze Exp $ .Dd $Mdocdate$ .Dt TG-WARN 1 .Os @@ -8,7 +8,7 @@ .Sh DESCRIPTION BEGINTEST .Pp -.Tg start +.Tg start-tag initial text .Tg Index: warn.out_html =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Tg/warn.out_html,v retrieving revision 1.1 retrieving revision 1.2 diff -Lregress/mdoc/Tg/warn.out_html -Lregress/mdoc/Tg/warn.out_html -u -p -r1.1 -r1.2 --- regress/mdoc/Tg/warn.out_html +++ regress/mdoc/Tg/warn.out_html @@ -1,4 +1,4 @@ -

initial text +

initial text too many badstart badend whitespace

-- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv