summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwl <wl>2006-11-13 17:53:12 +0000
committerwl <wl>2006-11-13 17:53:12 +0000
commit1630b7d2f588b70d798cd79232b92f7462ea7089 (patch)
tree90c17a910a4f3d310b9161765bab66ef3d0d04c7 /doc
parent9c00788cfcd1e9fe399ec15496cc73da3deedeff (diff)
downloadgroff-1630b7d2f588b70d798cd79232b92f7462ea7089.tar.gz
* doc/groff.texinfo (Page Location Traps) [.wh]: Give more details
on negative trap positions.
Diffstat (limited to 'doc')
-rw-r--r--doc/groff.texinfo13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/groff.texinfo b/doc/groff.texinfo
index 5f813616..68caad31 100644
--- a/doc/groff.texinfo
+++ b/doc/groff.texinfo
@@ -12029,6 +12029,19 @@ A trap at or below the bottom of the page is ignored; it can be made
active by either moving it up or increasing the page length so that the
trap is on the page.
+Negative trap values always use the @emph{current} page length; they are
+not converted to an absolute vertical position:
+
+@Example
+.pl 5i
+.wh -1i xx
+.ptr
+ @result{} xx -240
+.pl 100i
+.ptr
+ @result{} xx -240
+@endExample
+
It is possible to have more than one trap at the same location; to do so,
the traps must be defined at different locations, then moved together with
the @code{ch} request; otherwise the second trap would replace the first