eev
[Top][All Lists]
Advanced

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

pdftotext


From: Erich Ruff
Subject: pdftotext
Date: Wed, 09 Jun 2021 10:51:28 +0200
User-agent: mu4e 1.4; emacs 27.2

Hi Eduardo,

you are working quick! -- but changing the \351 with the funciton bsl
doesn't work here.

But I found a simple solution

in eev-pdflike.el you mentioned line 675:

;; The option "-enc Latin1" above make pdftotext convert its output to
;; Latin1. If you prefer UTF-8, override the previous definition with
;; the one below, that it is commented out with a "'":


so I activated

(defun ee-find-pdftotext-text (fname &rest rest)
  `(,ee-pdftotext-program "-layout" ,(ee-expand fname) "-"))

to transform the pdf to utf-8 and all works very well!

You just had already a solution ;-)

putting the function into .emacs gives a permanent utf-8-version

Cheers

Erich



reply via email to

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