From fd92b6c0780b371dd943c1a27729f53aa07fefd7 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 3 May 2024 08:51:03 +0200 Subject: [PATCH] add note for pdftotext --- doc/README.Converters | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/README.Converters b/doc/README.Converters index 6537c19c4..e66cabf87 100644 --- a/doc/README.Converters +++ b/doc/README.Converters @@ -7,10 +7,11 @@ application/csv cat '%s' application/pdf - pdftotext -nopgbrk %s - | sed -e 's/ [a-zA-Z0-9.]\{1\} / /g' -e 's/[0-9.]//g' + pdftotext -q -nopgbrk %s - | sed -e 's/ [a-zA-Z0-9.]\{1\} / /g' -e 's/[0-9.]//g' If pdftotext takes too long on large document you may want to pass parameter - -l to specify the last page to be converted + -l to specify the last page to be converted. -q is for suppressing error/warnings + send to stderr mutool draw -F txt -q -N -o - %s