From: schwarze Date: Sun, 16 May 2021 22:23:57 +0000 (+0000) Subject: test font modifiers in the layout; related to tbl_html.c rev. 1.29 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9feeb306cd0261f0c57ba6e10ed213e43dcf0e5c;p=openbsd test font modifiers in the layout; related to tbl_html.c rev. 1.29 --- diff --git a/regress/usr.bin/mandoc/tbl/layout/Makefile b/regress/usr.bin/mandoc/tbl/layout/Makefile index b49c49848ac..5fd5e65e567 100644 --- a/regress/usr.bin/mandoc/tbl/layout/Makefile +++ b/regress/usr.bin/mandoc/tbl/layout/Makefile @@ -1,9 +1,10 @@ -# $OpenBSD: Makefile,v 1.7 2020/09/01 18:24:10 schwarze Exp $ +# $OpenBSD: Makefile,v 1.8 2021/05/16 22:23:57 schwarze Exp $ -REGRESS_TARGETS = badspan center complex empty emptycol emptyline +REGRESS_TARGETS = badspan center complex empty emptycol emptyline font REGRESS_TARGETS += lines lines-nogroff numbers REGRESS_TARGETS += shortlines spacing spacing-nogroff span LINT_TARGETS = badspan complex empty spacing-nogroff +HTML_TARGETS = font # groff-1.22.4 defects: # - When the layout is completely empty, diff --git a/regress/usr.bin/mandoc/tbl/layout/font.in b/regress/usr.bin/mandoc/tbl/layout/font.in new file mode 100644 index 00000000000..98d87f9efe1 --- /dev/null +++ b/regress/usr.bin/mandoc/tbl/layout/font.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: font.in,v 1.1 2021/05/16 22:23:57 schwarze Exp $ +.TH TBL-LAYOUT-FONT 1 "May 16, 2021" +.SH NAME +tbl-layout-font \- font modifiers in the table layout +.SH DESCRIPTION +BEGINTEST +.TS +box tab(:); +lb r +l ri. +bold:roman +_ +roman:italic +.TE +.PP +ENDTEST diff --git a/regress/usr.bin/mandoc/tbl/layout/font.out_ascii b/regress/usr.bin/mandoc/tbl/layout/font.out_ascii new file mode 100644 index 00000000000..315ec4605df --- /dev/null +++ b/regress/usr.bin/mandoc/tbl/layout/font.out_ascii @@ -0,0 +1,20 @@ +TBL-LAYOUT-FONT(1) General Commands Manual TBL-LAYOUT-FONT(1) + + + +NNAAMMEE + tbl-layout-font - font modifiers in the table layout + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + + +---------------+ + |bboolldd roman | + +---------------+ + |roman _i_t_a_l_i_c | + +---------------+ + ENDTEST + + + +OpenBSD May 16, 2021 TBL-LAYOUT-FONT(1) diff --git a/regress/usr.bin/mandoc/tbl/layout/font.out_html b/regress/usr.bin/mandoc/tbl/layout/font.out_html new file mode 100644 index 00000000000..1910e9a5707 --- /dev/null +++ b/regress/usr.bin/mandoc/tbl/layout/font.out_html @@ -0,0 +1,10 @@ + + + + + + + + + +
boldroman
romanitalic