diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-08-25 16:43:53 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-08-25 16:43:53 +0000 |
commit | 9386514a18738cd55c2f7e145f89528e04ffb6bc (patch) | |
tree | 5ed98afceb73329cede728a7808bd701702fe9f0 /share | |
parent | d2a91c10c1a90277c03f97a4bc9b82807d159e9c (diff) |
Rudimentary implementation of the roff(7) .char (output glyph
definition) request, used for example by groff_hdtbl(7).
This simplistic implementation may interact incorrectly
with the .tr (input character translation) request.
But come on, you are not only using .char *and* .tr, but you do so
with respect to the same character in the same manual page?
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man7/roff.7 | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/share/man/man7/roff.7 b/share/man/man7/roff.7 index e1bf722f975..03a3a09dc3b 100644 --- a/share/man/man7/roff.7 +++ b/share/man/man7/roff.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: roff.7,v 1.84 2018/08/24 22:56:37 schwarze Exp $ +.\" $OpenBSD: roff.7,v 1.85 2018/08/25 16:43:52 schwarze Exp $ .\" .\" Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2010-2018 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: August 24 2018 $ +.Dd $Mdocdate: August 25 2018 $ .Dt ROFF 7 .Os .Sh NAME @@ -505,9 +505,16 @@ This is a groff extension and currently ignored. .It Ic \&ch Ar macroname Op Ar dist Change a trap location. Currently ignored. -.It Ic \&char Ar glyphname Op Ar string -Define a new glyph. -Currently unsupported. +.It Ic \&char Ar glyph Op Ar string +Define or redefine the ASCII character or character escape sequence +.Ar glyph +to be rendered as +.Ar string , +which can be empty. +Only partially supported in +.Xr mandoc 1 ; +may interact incorrectly with +.Ic \&tr . .It Ic \&chop Ar stringname Remove the last character from a macro, string, or diversion. Currently unsupported. |