[BACK]Return to f.in CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / esc

File: [cvsweb.bsd.lv] / mandoc / regress / roff / esc / f.in (download)

Revision 1.3, Sun Dec 16 00:17:04 2018 UTC (5 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, VERSION_1_14_5, HEAD
Changes since 1.2: +11 -12 lines

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.

.\" $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
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