summaryrefslogtreecommitdiffstats
path: root/regress/roff/string/dotT.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-16 13:54:06 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-16 13:54:06 +0000
commit27f1545e0f756e82e793a38e1bc5a55d673a6261 (patch)
treeaec0540f62f2ddaaf8ca6abc5d05a59cd47da072 /regress/roff/string/dotT.in
parent53895dc947dd04e38242df7ec586e07b9b14ba99 (diff)
downloadmandoc-27f1545e0f756e82e793a38e1bc5a55d673a6261.tar.gz
Implement the \*(.T predefined string (interpolate device name)
by allowing the preprocessor to pass it through to the formatters. Used for example by the groff_char(7) manual page.
Diffstat (limited to 'regress/roff/string/dotT.in')
-rw-r--r--regress/roff/string/dotT.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/regress/roff/string/dotT.in b/regress/roff/string/dotT.in
new file mode 100644
index 00000000..6ff81598
--- /dev/null
+++ b/regress/roff/string/dotT.in
@@ -0,0 +1,20 @@
+.\" $OpenBSD: dotT.in,v 1.1 2018/08/16 13:49:40 schwarze Exp $
+.Dd $Mdocdate$
+.Dt STRING-DOTT 1
+.Os
+.Sh NAME
+.Nm string-dotT
+.Nd interpolating the device name
+.Sh DESCRIPTION
+initial text
+.Pp
+BEGINTEST
+.Pp
+We are using the \*(.T device.
+.Pp
+.ds .T name
+The device \*(.T can be overridden.
+.Pp
+ENDTEST
+.Pp
+final text