[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/doc-toc f8fbca0c41 23/84: README add features and keybi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/doc-toc f8fbca0c41 23/84: README add features and keybindings |
Date: |
Mon, 26 Sep 2022 13:58:35 -0400 (EDT) |
branch: externals/doc-toc
commit f8fbca0c412acf4ec7b9c8dbef783369bd5e2a93
Author: Daniel Nicolai <dalanicolai@gmail.com>
Commit: Daniel Nicolai <dalanicolai@gmail.com>
README add features and keybindings
---
README.org | 37 +++++++++++++++++++++++++++++++------
1 file changed, 31 insertions(+), 6 deletions(-)
diff --git a/README.org b/README.org
index 437c314577..0622a497af 100644
--- a/README.org
+++ b/README.org
@@ -5,12 +5,16 @@ Create, cleanup, add and manage Table Of Contents (TOC) of
pdf and djvu document
TOC-mode is a package for creating, cleaning, adding and managing the
Table Of Contents (TOC) of pdf and djvu documents.
-* Important
-Currently only files with a text layer are supported. A feature to extract the
-TOC via OCR will probably be added soon. Until then, the python
-[[https://pypi.org/project/document-contents-extractor/][documents-contents-extractor]]
package is recommended for extraction of TOC via
-OCR.
+This package is also provided by the
[[https://github.com/dalanicolai/toc-layer][toc-layer for Spacemacs]]
+
+** Features:
+ - Extract Table of Contents from documents via text layer or via Tesseract
OCR
+ - Auto detect indentation levels from leading spaces or by selecting level
separater
+ - Quickly adjust pagenumbers while viewing the document
+ - Add Table of Contents to document
+
+** Important
For djvu documents, only outlines with maximum level deepness of 1 are
correctly
parsed. For outlines with level deepness of 2 not all levels are set to correct
level because the algorithm in the =toc-parse-djvused= function does not parse
@@ -18,7 +22,6 @@ such files correctly yet (you are welcome to 'repair' the
algorithm to produce
the correct syntax as it is described
[[http://djvu.sourceforge.net/doc/man/djvused.html#lbAW][on the djvused website
here]]).
-
* Requirements
Currently the package requires the ~pdftotext~ (part of poppler-utils),
~pdfoutline~
(part of
[[https://launchpad.net/ubuntu/bionic/+package/fntsample][fntsample]]) and
~djvused~ (part of
[[http://djvu.sourceforge.net/][http://djvu.sourceforge.net/]]) command
@@ -106,3 +109,25 @@ By default, the TOC is simply added to the original file.
ONLY FOR PDF's, if the
to a copy of the original pdf file with the path as defined by the variable
~toc-destination-file-name~. Either a relative path to the original file
directory or an absolute path can be given.
+
+
+* Key bindings
+
+all-modes (i.e. all steps)
+| Key Binding | Description |
+|-------------+----------------------|
+| ~C-c C-c~ | dispatch (next step) |
+toc-cleanup-mode
+| ~C-c C-j~ | toc-join-next-unnumbered-lines |
+toc-mode (tablist)
+| ~TAB~ | preview/jump-to-page
|
+| ~right/left~ | toc-in/decrease-remaining
|
+| ~C-right/C-left~ | toc-in/decrease-remaining and view page
|
+| ~S-right/S-left~ | in/decrease pagenumber current entry
|
+| ~C-down/C-up~ | scroll document other window (only when other buffer
shows document) |
+| ~S-down/S-up~ | full page scroll document other window ( idem )
|
+
+
+* Alternatives
+For TOC extraction:
[[https://pypi.org/project/document-contents-extractor/][documents-contents-extractor]]
+For adding TOC to document (pdf and djvu):
[[http://handyoutlinerfo.sourceforge.net/][HandyOutliner]]
- [elpa] externals/doc-toc 05b6d034aa 59/84: Fix djvu/pdf hard dependency (github issue #3), (continued)
- [elpa] externals/doc-toc 05b6d034aa 59/84: Fix djvu/pdf hard dependency (github issue #3), ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 8d4817a543 62/84: Fix org-noter conflict (github #4), ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc a14dbb4c25 67/84: Fix beginning-of-buffer compilation warning, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 102e14199c 65/84: pdf.tocgen replace original pdf, and show message on fail, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 4c9ce0f54d 76/84: Fix: eval-when-compile pdf-tools, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 2ec9515f0d 81/84: Apply patch S. Monnier, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc ca80abf2f8 83/84: Update name to doc-toc (i.e. make doc-tools extension), ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 3d286633a9 11/84: Update README, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 3acf45b0f7 18/84: Implement C-c C-c functionality also for djvu, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 74c68f0cda 24/84: Update README.org, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc f8fbca0c41 23/84: README add features and keybindings,
ELPA Syncer <=
- [elpa] externals/doc-toc f643745b06 32/84: Set windows encoding for djvu, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc c521029525 36/84: Change (beginning-og-buffer) to (goto-char (point-min)) for MELPA, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc a1d26eceb5 37/84: Add defvar and declare-function to avoid warning MELPA, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 05cd1287f1 42/84: Fix toc--add-to-djvu. Don't ask save location., ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc f430243a88 43/84: Add version: 0 header, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 59f4471e6a 50/84: Update README.org, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 2d95c466a3 48/84: Add MELPA and GPL3 badges, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 734043bdc7 47/84: Improve documentation in toc-mode.el, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc ae455b4863 52/84: Implement language customization for OCR, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 23e1fb2fde 54/84: Implement HandyOutliner option, ELPA Syncer, 2022/09/26