aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit31f17a62e510f4e0732d1c76e7a56a1a69506dc6 (patch)
tree3ebfa16f389b97a4bfa5988b198dad27b59d3fb5 /regress/roff/string/dotT.in
parent44573b326d6604f3025f17909863711b17011d5f (diff)
downloadmandoc-31f17a62e510f4e0732d1c76e7a56a1a69506dc6.tar.gz
mandoc-31f17a62e510f4e0732d1c76e7a56a1a69506dc6.zip
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..06c544de
--- /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: August 16 2018 $
+.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