diff options
author | 2010-11-29 00:12:02 +0000 | |
---|---|---|
committer | 2010-11-29 00:12:02 +0000 | |
commit | b1e9670a1c5ab8c24995c3ac0de4d25742179db2 (patch) | |
tree | 21da3bab85fa08b2c31af42e10349d3ae12d5c40 /usr.bin/mandoc/man_macro.c | |
parent | double the default message buffer size. again. (diff) | |
download | wireguard-openbsd-b1e9670a1c5ab8c24995c3ac0de4d25742179db2.tar.xz wireguard-openbsd-b1e9670a1c5ab8c24995c3ac0de4d25742179db2.zip |
Implement the roff .ft (change font) request for man(7).
Of course, we don't want to encourage low-level physical markup,
but pod2man(1) writes such requests, so Perl manuals contain them,
and some Xenocara and lots and lots of ports manuals use them as well.
In base and Xenocara, this will reduce mandoc -Tlint ERROR noise;
in ports, it will improve rendering of many manuals.
Diffstat (limited to 'usr.bin/mandoc/man_macro.c')
-rw-r--r-- | usr.bin/mandoc/man_macro.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man_macro.c b/usr.bin/mandoc/man_macro.c index 70c0123cfed..e1a1c752ee2 100644 --- a/usr.bin/mandoc/man_macro.c +++ b/usr.bin/mandoc/man_macro.c @@ -1,4 +1,4 @@ -/* $Id: man_macro.c,v 1.21 2010/10/15 20:45:03 schwarze Exp $ */ +/* $Id: man_macro.c,v 1.22 2010/11/29 00:12:02 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -82,6 +82,7 @@ const struct man_macro __man_macros[MAN_MAX] = { { in_line_eoln, 0 }, /* in */ { blk_exp, MAN_EXPLICIT }, /* TS */ { blk_close, 0 }, /* TE */ + { in_line_eoln, 0 }, /* ft */ }; const struct man_macro * const man_macros = __man_macros; |