diff options
author | 2018-12-16 00:17:02 +0000 | |
---|---|---|
committer | 2018-12-16 00:17:02 +0000 | |
commit | fb7ea55796176565141285c5c6de1d3127655116 (patch) | |
tree | 63b21db96671f3ca27e3f0658ae34a5d8babc63d /regress/roff/ft/badargs.in | |
parent | d672f8cb82878baf3834e938c4c416f4493952cf (diff) | |
download | mandoc-fb7ea55796176565141285c5c6de1d3127655116.tar.gz mandoc-fb7ea55796176565141285c5c6de1d3127655116.tar.zst mandoc-fb7ea55796176565141285c5c6de1d3127655116.zip |
Yet another round of improvements to manual font selection.
Unify handling of \f and .ft.
Support \f4 (bold+italic).
Support ".ft BI" and ".ft CW" for terminal output.
Support the .ft request in HTML output.
Reject the bogus fonts \f(C1, \f(C2, \f(C3, and \f(CP.
In regress.pl, only strip leading whitespace in math mode.
Diffstat (limited to 'regress/roff/ft/badargs.in')
-rw-r--r-- | regress/roff/ft/badargs.in | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/regress/roff/ft/badargs.in b/regress/roff/ft/badargs.in index 82269609..ac3ee72a 100644 --- a/regress/roff/ft/badargs.in +++ b/regress/roff/ft/badargs.in @@ -1,9 +1,23 @@ -.\" $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.5 2018/12/16 00:10:03 schwarze Exp $ +.TH "FT-BADARGS" 1 "December 15, 2018" .SH NAME ft-badargs \(en font request with bad arguments .SH DESCRIPTION +BEGINTEST +.br 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 +28,6 @@ italic back to bold .ft back to italic +.ft R +.br +ENDTEST |