emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/doc-toc 5f7bd03152: Fix README (remove wrong link)


From: ELPA Syncer
Subject: [elpa] externals/doc-toc 5f7bd03152: Fix README (remove wrong link)
Date: Sun, 30 Oct 2022 11:57:36 -0400 (EDT)

branch: externals/doc-toc
commit 5f7bd03152d2f20d2b1e1b3475b399a0afb04898
Author: Daniel Nicolai <dalanicolai@gmail.com>
Commit: Daniel Nicolai <dalanicolai@gmail.com>

    Fix README (remove wrong link)
---
 README.org | 7 +++----
 doc-toc.el | 7 +++----
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/README.org b/README.org
index b59f0ded5f..86bb770aa8 100644
--- a/README.org
+++ b/README.org
@@ -25,10 +25,9 @@ For regular Emacs users, well... you probably know how to 
install packages.
 To use the pdf.tocgen functionality that software has to be installed (see
 [[https://krasjet.com/voice/pdf.tocgen/]]). For the other remaining 
functionality
 the package requires ~pdftotext~ (part of poppler-utils), ~pdfoutline~ (part of
-[[https://launchpad.net/ubuntu/bionic/+package/fntsample][fntsample]] or from 
[[https://github.com/yutayamamoto/pdfoutline][Github]] (not from Pypi as the 
package seems broken)) and
-~djvused~ (part of 
[[http://djvu.sourceforge.net/][http://djvu.sourceforge.net/]]) command line 
utilities to be
-available. Extraction with OCR requires the ~tesseract~ command line utility 
to be
-available.
+[[https://launchpad.net/ubuntu/bionic/+package/fntsample][fntsample]]) and 
~djvused~ (part of 
[[http://djvu.sourceforge.net/][http://djvu.sourceforge.net/]]) command line
+utilities to be available. Extraction with OCR requires the ~tesseract~ command
+line utility to be available.
 
 * Usage
 ** pdf-tocgen (software generated PDF's)
diff --git a/doc-toc.el b/doc-toc.el
index d366ccd8c4..14db69d428 100644
--- a/doc-toc.el
+++ b/doc-toc.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2022  Free Software Foundation, Inc.
 
 ;; Author: Daniel Laurens Nicolai <dalanicolai@gmail.com>
-;; Version: 1.0
+;; Version: 1.01
 ;; Keywords: tools, outlines, convenience
 ;; Package-Requires: ((emacs "26.1"))
 ;; URL: https://github.com/dalanicolai/doc-tools-toc
@@ -623,9 +623,8 @@ Prompt for startpage and endpage and print OCR output to 
new buffer."
                                                nil
                                                (number-to-string page)
                                                (image-property djvu-doc-image 
:data))))))
-              (apply #'call-process
-                     (append (list "tesseract" nil (list buffer nil) nil file)
-                             args))
+              (apply #'call-process "tesseract" nil (list buffer nil) nil
+                     file args)
               (setq page (1+ page))))
           (switch-to-buffer buffer)))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]