source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: test -diag -width and -inset -width
@ 2017-07-16 18:00 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-07-16 18:00 UTC (permalink / raw)
  To: source

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 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
      x x x x x x x x x
 
      T\bTh\bhi\bis\bs i\bis\bs a\ba v\bve\ber\bry\by l\blo\bon\bng\bg t\bte\bex\bxt\bt c\bco\bon\bnt\bta\bai\bin\bne\bed\bd i\bin\bn t\bth\bhe\be d\bdi\bia\bag\bg i\bit\bte\bem\bm h\bhe\bea\bad\bd,\b, i\bit\bt i\bis\bs s\bso\bo l\blo\bon\bng\bg
-     t\bth\bha\bat\bt i\bit\bt o\bov\bve\ber\brr\bru\bun\bns\bs t\bth\bhe\be l\bli\bin\bne\be -\b-  and here comes the item body.
+     t\bth\bha\bat\bt i\bit\bt o\bov\bve\ber\brr\bru\bun\bns\bs t\bth\bhe\be l\bli\bin\bne\be -\b-  and here comes the item body, which is also
+     long enough to break the line again.
 
      Check that It is not parsed in Bl:
      N\bNx\bx  NetBSD
      O\bOx\bx  OpenBSD
      F\bFx\bx  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 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
 
      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

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

only message in thread, other threads:[~2017-07-16 18:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-16 18:00 mandoc: test -diag -width and -inset -width 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).