From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id e45b1f44 for ; Sun, 16 Jul 2017 13:00:14 -0500 (EST) Date: Sun, 16 Jul 2017 13:00:14 -0500 (EST) Message-Id: <1224705309193226808.enqueue@fantadrom.bsd.lv> 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: test -diag -width and -inset -width X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- test -diag -width and -inset -width Modified Files: -------------- mandoc/regress/mdoc/Bl: Makefile diag.in diag.out_ascii diag.out_markdown inset.in inset.out_ascii inset.out_markdown Added Files: ----------- mandoc/regress/mdoc/Bl: diag.out_lint inset.out_lint Revision Data ------------- --- /dev/null +++ regress/mdoc/Bl/inset.out_lint @@ -0,0 +1 @@ +mandoc: inset.in:42:12: WARNING: skipping -width argument: Bl -inset Index: inset.in =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Bl/inset.in,v retrieving revision 1.2 retrieving revision 1.3 diff -Lregress/mdoc/Bl/inset.in -Lregress/mdoc/Bl/inset.in -u -p -r1.2 -r1.3 --- regress/mdoc/Bl/inset.in +++ regress/mdoc/Bl/inset.in @@ -1,4 +1,4 @@ -.\" $OpenBSD: inset.in,v 1.5 2017/07/04 14:53:24 schwarze Exp $ +.\" $OpenBSD: inset.in,v 1.6 2017/07/16 17:53:29 schwarze Exp $ .Dd $Mdocdate$ .Dt BL-INSET 1 .Os @@ -39,7 +39,7 @@ x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x .El .\" Trailing white space in the head. -.Bl -inset +.Bl -inset -width 10n .It "a" b .It "a " Index: diag.out_ascii =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Bl/diag.out_ascii,v retrieving revision 1.2 retrieving revision 1.3 diff -Lregress/mdoc/Bl/diag.out_ascii -Lregress/mdoc/Bl/diag.out_ascii -u -p -r1.2 -r1.3 --- regress/mdoc/Bl/diag.out_ascii +++ regress/mdoc/Bl/diag.out_ascii @@ -29,11 +29,12 @@ DDEESSCCRRIIPPTTIIOONN x x x x x x x x x TThhiiss iiss aa vveerryy lloonngg tteexxtt ccoonnttaaiinneedd iinn tthhee ddiiaagg iitteemm hheeaadd,, iitt iiss ssoo lloonngg - tthhaatt iitt oovveerrrruunnss tthhee lliinnee -- and here comes the item body. + tthhaatt iitt oovveerrrruunnss tthhee lliinnee -- and here comes the item body, which is also + long enough to break the line again. Check that It is not parsed in Bl: NNxx NetBSD OOxx OpenBSD FFxx FreeBSD -OpenBSD July 4, 2017 OpenBSD +OpenBSD July 16, 2017 OpenBSD Index: Makefile =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Bl/Makefile,v retrieving revision 1.8 retrieving revision 1.9 diff -Lregress/mdoc/Bl/Makefile -Lregress/mdoc/Bl/Makefile -u -p -r1.8 -r1.9 --- regress/mdoc/Bl/Makefile +++ regress/mdoc/Bl/Makefile @@ -10,7 +10,7 @@ REGRESS_TARGETS += bareIt bareTa unclose UTF8_TARGETS = dash -LINT_TARGETS = column column_nogroff notype badargs tag +LINT_TARGETS = inset diag column column_nogroff notype badargs tag LINT_TARGETS += empty noIt emptyhead emptytag emptyitem LINT_TARGETS += bareIt bareTa break breakingIt broken Index: diag.out_markdown =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Bl/diag.out_markdown,v retrieving revision 1.2 retrieving revision 1.3 diff -Lregress/mdoc/Bl/diag.out_markdown -Lregress/mdoc/Bl/diag.out_markdown -u -p -r1.2 -r1.3 --- regress/mdoc/Bl/diag.out_markdown +++ regress/mdoc/Bl/diag.out_markdown @@ -31,7 +31,8 @@ zehn\_\_zehn x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x This is a very long text contained in the diag item head, it is so long that it overruns the line - -and here comes the item body. +and here comes the item body, +which is also long enough to break the line again. Check that It is not parsed in Bl: @@ -42,4 +43,4 @@ OpenBSD Fx FreeBSD -OpenBSD - July 4, 2017 +OpenBSD - July 16, 2017 --- /dev/null +++ regress/mdoc/Bl/diag.out_lint @@ -0,0 +1,4 @@ +mandoc: diag.in:51:2: WARNING: skipping empty macro: No +mandoc: diag.in:53:2: WARNING: skipping empty macro: No +mandoc: diag.in:55:2: WARNING: skipping empty macro: No +mandoc: diag.in:41:11: WARNING: skipping -width argument: Bl -diag Index: inset.out_markdown =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Bl/inset.out_markdown,v retrieving revision 1.2 retrieving revision 1.3 diff -Lregress/mdoc/Bl/inset.out_markdown -Lregress/mdoc/Bl/inset.out_markdown -u -p -r1.2 -r1.3 --- regress/mdoc/Bl/inset.out_markdown +++ regress/mdoc/Bl/inset.out_markdown @@ -39,4 +39,4 @@ b a ‌ b -OpenBSD - July 4, 2017 +OpenBSD - July 16, 2017 Index: inset.out_ascii =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Bl/inset.out_ascii,v retrieving revision 1.2 retrieving revision 1.3 diff -Lregress/mdoc/Bl/inset.out_ascii -Lregress/mdoc/Bl/inset.out_ascii -u -p -r1.2 -r1.3 --- regress/mdoc/Bl/inset.out_ascii +++ regress/mdoc/Bl/inset.out_ascii @@ -34,4 +34,4 @@ DDEESSCCRRIIPPTTIIOONN a b -OpenBSD July 4, 2017 OpenBSD +OpenBSD July 16, 2017 OpenBSD Index: diag.in =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Bl/diag.in,v retrieving revision 1.2 retrieving revision 1.3 diff -Lregress/mdoc/Bl/diag.in -Lregress/mdoc/Bl/diag.in -u -p -r1.2 -r1.3 --- regress/mdoc/Bl/diag.in +++ regress/mdoc/Bl/diag.in @@ -1,4 +1,4 @@ -.\" $OpenBSD: diag.in,v 1.6 2017/07/04 14:53:24 schwarze Exp $ +.\" $OpenBSD: diag.in,v 1.7 2017/07/16 17:53:29 schwarze Exp $ .Dd $Mdocdate$ .Dt BL-DIAG 1 .Os @@ -38,10 +38,11 @@ x x x x x x x x x x x x x x x x x x x x .It zehn__zehn x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x .El -.Bl -diag +.Bl -diag -width 10n .It This is a very long text contained in the diag item head, it is \ so long that it overruns the line - -and here comes the item body. +and here comes the item body, +which is also long enough to break the line again. .El .Pp Check that It is not parsed in Bl: -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv