diff options
Diffstat (limited to 'regress/usr.bin/mandoc')
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/Makefile | 3 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/f.in | 23 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/f.out_ascii | 17 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/f.out_html | 6 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/ft/Makefile | 3 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/ft/badargs.in | 19 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/ft/badargs.out_ascii | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/ft/badargs.out_html | 14 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/ft/badargs.out_lint | 4 |
9 files changed, 69 insertions, 25 deletions
diff --git a/regress/usr.bin/mandoc/roff/esc/Makefile b/regress/usr.bin/mandoc/roff/esc/Makefile index 7d0a753df75..1be8b179a85 100644 --- a/regress/usr.bin/mandoc/roff/esc/Makefile +++ b/regress/usr.bin/mandoc/roff/esc/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.14 2018/12/15 19:30:20 schwarze Exp $ +# $OpenBSD: Makefile,v 1.15 2018/12/15 23:33:20 schwarze Exp $ REGRESS_TARGETS = one two multi B c c_man e f h l O o p w z REGRESS_TARGETS += ignore invalid unsupp +HTML_TARGETS = f LINT_TARGETS = B h l O w ignore invalid unsupp .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/roff/esc/f.in b/regress/usr.bin/mandoc/roff/esc/f.in index 571161d308c..3eaca449104 100644 --- a/regress/usr.bin/mandoc/roff/esc/f.in +++ b/regress/usr.bin/mandoc/roff/esc/f.in @@ -1,13 +1,12 @@ -.\" $OpenBSD: f.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ -.Dd $Mdocdate: July 4 2017 $ -.Dt ESC-F 1 -.Os -.Sh NAME -.Nm esc-f -.Nd the roff escape f sequence: font changes -.Sh DESCRIPTION -numbers: \f3bold\f2italic\f1roman -.br +.\" $OpenBSD: f.in,v 1.4 2018/12/15 23:33:20 schwarze Exp $ +.TH ESC-F 1 "December 15, 2018" +.SH NAME +esc-f \- the roff escape f sequence: font changes +.SH DESCRIPTION +.nf +BEGINTEST +numbers: \f4bolditalic\f3bold\f2italic\f1roman letters: \fBbold\fIitalic\fPback\f(BIbolditalic\fRroman -.br -multiletter: \f[B]bold\f[I]italic\f[P]back\f[BI]bolditalic\f[R]roman +multiletter: \f[B]bold\f[]empty\f[I]italic\f[P]back\f[BI]bolditalic\f[R]roman +typewriter: \f(CWroman\f(CBbold\f(CRroman\f(CIitalic\fRroman +ENDTEST diff --git a/regress/usr.bin/mandoc/roff/esc/f.out_ascii b/regress/usr.bin/mandoc/roff/esc/f.out_ascii index fb8520f86af..797dbe8669d 100644 --- a/regress/usr.bin/mandoc/roff/esc/f.out_ascii +++ b/regress/usr.bin/mandoc/roff/esc/f.out_ascii @@ -1,11 +1,18 @@ ESC-F(1) General Commands Manual ESC-F(1) + + NNAAMMEE - eesscc--ff - the roff escape f sequence: font changes + esc-f - the roff escape f sequence: font changes DDEESSCCRRIIPPTTIIOONN - numbers: bboolldd_i_t_a_l_i_croman - letters: bboolldd_i_t_a_l_i_cbbaacckk_bb_oo_ll_dd_ii_tt_aa_ll_ii_ccroman - multiletter: bboolldd_i_t_a_l_i_cbbaacckk_bb_oo_ll_dd_ii_tt_aa_ll_ii_ccroman + BEGINTEST + numbers: _bb_oo_ll_dd_ii_tt_aa_ll_ii_ccbboolldd_i_t_a_l_i_croman + letters: bboolldd_i_t_a_l_i_cbbaacckk_bb_oo_ll_dd_ii_tt_aa_ll_ii_ccroman + multiletter: bboollddempty_i_t_a_l_i_cback_bb_oo_ll_dd_ii_tt_aa_ll_ii_ccroman + typewriter: romanbboollddroman_i_t_a_l_i_croman + ENDTEST + + -OpenBSD July 4, 2017 OpenBSD +OpenBSD December 15, 2018 ESC-F(1) diff --git a/regress/usr.bin/mandoc/roff/esc/f.out_html b/regress/usr.bin/mandoc/roff/esc/f.out_html new file mode 100644 index 00000000000..332e0f008cc --- /dev/null +++ b/regress/usr.bin/mandoc/roff/esc/f.out_html @@ -0,0 +1,6 @@ +BEGINTEST +numbers: <b><i>bolditalic</i></b><b>bold</b><i>italic</i>roman +letters: <b>bold</b><i>italic</i><b>back</b><b><i>bolditalic</i></b>roman +multiletter: <b>bold</b>empty<i>italic</i>back<b><i>bolditalic</i></b>roman +typewriter: <span class="Li">roman</span><b>bold</b><span class="Li">roman</span><i>italic</i>roman +ENDTEST diff --git a/regress/usr.bin/mandoc/roff/ft/Makefile b/regress/usr.bin/mandoc/roff/ft/Makefile index 65ee249896b..0eadb05dd89 100644 --- a/regress/usr.bin/mandoc/roff/ft/Makefile +++ b/regress/usr.bin/mandoc/roff/ft/Makefile @@ -1,6 +1,7 @@ -# $OpenBSD: Makefile,v 1.2 2017/05/05 02:06:17 schwarze Exp $ +# $OpenBSD: Makefile,v 1.3 2018/12/15 23:33:20 schwarze Exp $ REGRESS_TARGETS = badargs badargs-mdoc +HTML_TARGETS = badargs LINT_TARGETS = badargs badargs-mdoc SKIP_TMAN = badargs diff --git a/regress/usr.bin/mandoc/roff/ft/badargs.in b/regress/usr.bin/mandoc/roff/ft/badargs.in index 82269609d3a..b5174783b7f 100644 --- a/regress/usr.bin/mandoc/roff/ft/badargs.in +++ b/regress/usr.bin/mandoc/roff/ft/badargs.in @@ -1,9 +1,22 @@ -.\" $OpenBSD: badargs.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ -.TH "FT-BADARGS" 1 "July 5, 2014" +.\" $OpenBSD: badargs.in,v 1.4 2018/12/15 23:33:20 schwarze Exp $ +.TH "FT-BADARGS" 1 "December 15, 2018" .SH NAME ft-badargs \(en font request with bad arguments .SH DESCRIPTION +BEGINTEST default font +.ft I +italic +.ft BI +bold italic +.ft CR +typeqriter +.ft CW +roman +.ft CB +bold +.ft CI +italic .ft B bold .ft foo @@ -14,3 +27,5 @@ italic back to bold .ft back to italic +.ft R +ENDTEST diff --git a/regress/usr.bin/mandoc/roff/ft/badargs.out_ascii b/regress/usr.bin/mandoc/roff/ft/badargs.out_ascii index 30bfed3c99e..6bc36867359 100644 --- a/regress/usr.bin/mandoc/roff/ft/badargs.out_ascii +++ b/regress/usr.bin/mandoc/roff/ft/badargs.out_ascii @@ -6,8 +6,9 @@ NNAAMMEE ft-badargs - font request with bad arguments DDEESSCCRRIIPPTTIIOONN - default font bboolldd ssttiillll bboolldd _i_t_a_l_i_c bbaacckk ttoo bboolldd _b_a_c_k _t_o _i_t_a_l_i_c + BEGINTEST default font _i_t_a_l_i_c _bb_oo_ll_dd _ii_tt_aa_ll_ii_cc typeqriter roman bboolldd _i_t_a_l_i_c + bboolldd ssttiillll bboolldd _i_t_a_l_i_c bbaacckk ttoo bboolldd _b_a_c_k _t_o _i_t_a_l_i_c ENDTEST -OpenBSD July 5, 2014 FT-BADARGS(1) +OpenBSD December 15, 2018 FT-BADARGS(1) diff --git a/regress/usr.bin/mandoc/roff/ft/badargs.out_html b/regress/usr.bin/mandoc/roff/ft/badargs.out_html new file mode 100644 index 00000000000..1985961ad7a --- /dev/null +++ b/regress/usr.bin/mandoc/roff/ft/badargs.out_html @@ -0,0 +1,14 @@ +BEGINTEST default font <i></i><i>italic</i> <b><i></i></b><b><i>bold + italic</i></b> <span class="Li"></span><span class="Li">typeqriter</span> + <span class="Li"></span><span class="Li">roman</span> <b></b><b>bold</b> + <i></i> <i>italic</i> <b></b><b>bold</b> <b>still bold</b> + <i></i><i>italic</i> <i></i><i>back to bold</i> <i></i><i>back to italic</i> + ENDTEST</div> +<table class="foot"> + <tr> + <td class="foot-date">December 15, 2018</td> + <td class="foot-os"></td> + </tr> +</table> +</body> +</html> diff --git a/regress/usr.bin/mandoc/roff/ft/badargs.out_lint b/regress/usr.bin/mandoc/roff/ft/badargs.out_lint index 36c8c0bf260..b8ad4612ac4 100644 --- a/regress/usr.bin/mandoc/roff/ft/badargs.out_lint +++ b/regress/usr.bin/mandoc/roff/ft/badargs.out_lint @@ -1,2 +1,2 @@ -mandoc: badargs.in:11:7: ERROR: skipping excess arguments: ft ... bogus -mandoc: badargs.in:9:2: WARNING: unknown font, skipping request: ft foo +mandoc: badargs.in:24:7: ERROR: skipping excess arguments: ft ... bogus +mandoc: badargs.in:22:2: WARNING: unknown font, skipping request: ft foo |