summaryrefslogtreecommitdiffstats
path: root/regress/roff/char/basic.in
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 /regress/roff/char/basic.in
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 'regress/roff/char/basic.in')
-rw-r--r--regress/roff/char/basic.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/regress/roff/char/basic.in b/regress/roff/char/basic.in
new file mode 100644
index 00000000..cfa1880a
--- /dev/null
+++ b/regress/roff/char/basic.in
@@ -0,0 +1,11 @@
+.\" $OpenBSD: basic.in,v 1.1 2018/08/25 16:43:52 schwarze Exp $
+.TH CHAR-BASIC 1 "August 25, 2018"
+.SH NAME
+char-basic \(en the char request
+.SH DESCRIPTION
+initial text
+.char \[myc] myval
+.char x y
+.char \[boldX] \fBX
+\[boldX] \[myc]
+final text