diff options
| author | Tassilo Horn | 2012-09-19 19:35:18 +0200 |
|---|---|---|
| committer | Tassilo Horn | 2012-09-19 19:35:18 +0200 |
| commit | db8a5a189e743bf341a27276b1ca97471363b0b5 (patch) | |
| tree | ea1ed873548cd1cc7a038a00e0a4b4754292c353 /doc | |
| parent | 05642592f037ebfda2d71114c5016cc8fd7518eb (diff) | |
| download | emacs-db8a5a189e743bf341a27276b1ca97471363b0b5.tar.gz emacs-db8a5a189e743bf341a27276b1ca97471363b0b5.zip | |
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')
| -rw-r--r-- | doc/emacs/misc.texi | 4 |
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 | |||
| 411 | select the slice. | 411 | select the slice. |
| 412 | @c ??? How does this work? | 412 | @c ??? How does this work? |
| 413 | 413 | ||
| 414 | The most convenient way is to set the optimal slice by using | ||
| 415 | BoundingBox information automatically determined from the document by | ||
| 416 | typing @kbd{s b} (@code{doc-view-set-slice-using-mouse}). | ||
| 417 | |||
| 414 | @findex doc-view-reset-slice | 418 | @findex doc-view-reset-slice |
| 415 | To cancel the selected slice, type @kbd{s r} | 419 | To cancel the selected slice, type @kbd{s r} |
| 416 | (@code{doc-view-reset-slice}). Then DocView shows the entire page | 420 | (@code{doc-view-reset-slice}). Then DocView shows the entire page |