diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-25 16:53:38 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-25 16:53:38 +0000 |
commit | 4a586872ce6f32a40dd13b7fa93c56b7a3ef52d8 (patch) | |
tree | 32b9ab81d75bbad8884825043d06315cd8adc911 /roff.7 | |
parent | 870322bd99e8a445ec84289025691baf9352ce27 (diff) | |
download | mandoc-4a586872ce6f32a40dd13b7fa93c56b7a3ef52d8.tar.gz mandoc-4a586872ce6f32a40dd13b7fa93c56b7a3ef52d8.tar.zst mandoc-4a586872ce6f32a40dd13b7fa93c56b7a3ef52d8.zip |
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.7 | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -1,4 +1,4 @@ -.\" $Id: roff.7,v 1.104 2018/08/24 23:12:33 schwarze Exp $ +.\" $Id: roff.7,v 1.105 2018/08/25 16:53:39 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 @@ -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. |