aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff.7
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
commita5cb8b874ed422ba6f202f5cd0dc73e4689e168b (patch)
tree04995cd7ced1bad663ee8096460feda6fa6f3b5a /roff.7
parente9ac0876da23cde98a17d36ab849630061754ff0 (diff)
downloadmandoc-a5cb8b874ed422ba6f202f5cd0dc73e4689e168b.tar.gz
mandoc-a5cb8b874ed422ba6f202f5cd0dc73e4689e168b.tar.zst
mandoc-a5cb8b874ed422ba6f202f5cd0dc73e4689e168b.zip
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 'roff.7')
-rw-r--r--roff.713
1 files changed, 10 insertions, 3 deletions
diff --git a/roff.7 b/roff.7
index 31bfcf42..1445b525 100644
--- a/roff.7
+++ b/roff.7
@@ -1,4 +1,4 @@
-.\" $Id: roff.7,v 1.91 2017/06/14 19:39:18 schwarze Exp $
+.\" $Id: roff.7,v 1.92 2017/06/14 22:51:25 schwarze Exp $
.\"
.\" Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010,2011,2013-2015,2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -1441,8 +1441,15 @@ Currently ignored.
Print all number registers on standard error output.
Currently ignored.
.It Ic \&po Op Oo Cm + Ns | Ns Cm - Oc Ns Ar offset
-Set horizontal page offset.
-Currently ignored.
+Set a horizontal page offset.
+If no argument is specified, the page offset is reverted to its
+previous value.
+If a sign is specified, the new page offset is calculated relative
+to the current one; otherwise, it is absolute.
+The argument follows the syntax of
+.Sx Scaling Widths
+and the default scaling unit is
+.Cm m .
.It Ic \&ps Op Oo Cm + Ns | Ns Cm - Oc Ns size
Change point size.
Currently ignored.