summaryrefslogtreecommitdiffstats
path: root/roff.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-25 16:53:38 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-25 16:53:38 +0000
commit7582daff204d17b170462dc6b7f6fd218be6afc9 (patch)
treeff78b1959cd4fa9d7a802eb91fa11f10dc2f9e1e /roff.7
parent4208da29a6d83d71a70576139d86e6a306290132 (diff)
downloadmandoc-7582daff204d17b170462dc6b7f6fd218be6afc9.tar.gz
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 'roff.7')
-rw-r--r--roff.713
1 files changed, 10 insertions, 3 deletions
diff --git a/roff.7 b/roff.7
index a1160b2b..67c04680 100644
--- a/roff.7
+++ b/roff.7
@@ -507,9 +507,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.