summaryrefslogtreecommitdiffstats
path: root/regress/roff/po/basic-mdoc.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-14 22:51:25 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-14 22:51:25 +0000
commit91f0f16f2181a2ac79aecf7026518b21cf15770f (patch)
treefd0b81e0b7d9aa319a83d358e1dc96ae8be2f6b6 /regress/roff/po/basic-mdoc.in
parenta20ce5b08da3bf35aba0065fbac0a3b322fc5e1d (diff)
downloadmandoc-91f0f16f2181a2ac79aecf7026518b21cf15770f.tar.gz
Naive implementation of the roff(7) .po (page offset) request.
This clearly works when .po is called on the top level, but might not be sophisticated enough if people call .po inside indentation-changing contexts, but i haven't seen that in manual pages (yet :).
Diffstat (limited to 'regress/roff/po/basic-mdoc.in')
-rw-r--r--regress/roff/po/basic-mdoc.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/regress/roff/po/basic-mdoc.in b/regress/roff/po/basic-mdoc.in
new file mode 100644
index 00000000..082be68c
--- /dev/null
+++ b/regress/roff/po/basic-mdoc.in
@@ -0,0 +1,20 @@
+.Dd June 14, 2017
+.Dt PO-BASIC-MDOC 1
+.Os OpenBSD
+.Sh NAME
+.Nm po-basic-mdoc
+.Nd the roff page offset request
+.Sh DESCRIPTION
+initial text
+.Pp
+.po -2n
+shifted left
+.Pp
+.po +5n
+shifted right
+.Pp
+.po XXX
+shifted left
+.Pp
+.po 0
+final text