summaryrefslogtreecommitdiff
path: root/doc/emacs
diff options
context:
space:
mode:
authorTassilo Horn <tsdh@gnu.org>2012-09-19 19:35:18 +0200
committerTassilo Horn <tsdh@gnu.org>2012-09-19 19:35:18 +0200
commitdb8a5a189e743bf341a27276b1ca97471363b0b5 (patch)
treeea1ed873548cd1cc7a038a00e0a4b4754292c353 /doc/emacs
parent05642592f037ebfda2d71114c5016cc8fd7518eb (diff)
downloademacs-db8a5a189e743bf341a27276b1ca97471363b0b5.tar.gz
New feature: set optimal slice from BoundingBox information.
* doc-view.el (doc-view-mode-map): Add keybinding. (doc-view-menu): Add menu entry. (doc-view-set-slice): Adapt docstring. (doc-view-get-bounding-box, doc-view-guess-paper-size) (doc-view-scale-bounding-box) (doc-view-set-slice-from-bounding-box): New functions. (doc-view-paper-sizes): New defvar. * doc/emacs/misc.texi (DocView Slicing): Document new slice from BoundingBox feature.
Diffstat (limited to 'doc/emacs')
-rw-r--r--doc/emacs/misc.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 90072d19a69..5d7a51a01f5 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -411,6 +411,10 @@ m} (@code{doc-view-set-slice-using-mouse}), where you use the mouse to
select the slice.
@c ??? How does this work?
+ The most convenient way is to set the optimal slice by using
+BoundingBox information automatically determined from the document by
+typing @kbd{s b} (@code{doc-view-set-slice-using-mouse}).
+
@findex doc-view-reset-slice
To cancel the selected slice, type @kbd{s r}
(@code{doc-view-reset-slice}). Then DocView shows the entire page