fritz-hh
1a13b7c85f
Check if the input file exist
...
Previously I checked only if the folder in which the input file should
be exists
2014-09-25 22:03:45 +02:00
fritz-hh
d510e7e4ae
prevent new spurious jhove message to be displayed
2014-09-24 23:43:37 +02:00
fritz-hh
5893290dd9
update to jhove v1.11
2014-09-24 23:17:39 +02:00
fritz-hh
5c3bbc4031
typo in OCRmyPDF.sh
2014-09-22 21:22:38 +02:00
fritz-hh
27cd8cf0db
add link to heise open source
2014-09-20 20:47:02 +02:00
fritz-hh
b403016d5b
Release notes updated for v2.1-stable
v2.1-stable
2014-09-20 19:50:32 +02:00
fritz-hh
5a81823969
Merge pull request #82 from orbitcowboy/v2.x
...
Fixed typo
2014-09-20 19:02:33 +02:00
fritz-hh
17801401cd
Merge pull request #83 from DorianScholz/v2.x
...
- small changes to make this work on Ubuntu 12.04 called via symlink
- lowered minimum parallel version
2014-09-20 18:59:57 +02:00
Dorian Scholz
5c7b2a2a36
lowered minimum version for parallel to 20121122
2014-09-10 13:27:59 +02:00
Dorian Scholz
1db06de287
added BASEPATH to allow for execution via symlink
2014-09-10 13:26:14 +02:00
Martin Ettl
3904178d44
Fixed typo
2014-09-09 07:01:04 +02:00
fritz-hh
8bb9c3610c
Merge pull request #81 from MoritzFago/v2.x
...
fixed tipo ghostcript to ghostscript
2014-09-08 18:31:00 +02:00
MoritzFago
7dcc382ccc
fixed tipo ghostcript to ghostscript
2014-09-08 16:52:49 +02:00
fritz-hh
b71fc807d2
Merge pull request #77 from andysigner/v2.x
...
Fixed typo in help text
2014-05-23 19:51:20 +02:00
Andy Signer
15d28d970a
Fixed typo in help text
2014-05-23 12:41:31 +02:00
fritz-hh
e083a860e9
Merge pull request #73 from andreas-christ/v2.x
...
Fixed typo in import of reportlab.
2014-04-27 23:20:48 +02:00
Andreas Christ
6463b9dd84
Fixed typo in import of reportlab.
2014-04-27 19:15:46 +02:00
fritz-hh
c873de6ca4
Consider that the hocr file has not always the same name
...
Closes #72
2014-04-27 16:01:11 +02:00
fritz-hh
b70863b47e
support both older and newer versions of reportlab
...
closes #71
2014-04-27 15:53:20 +02:00
fritz-hh
3546f84c6d
ignore *.pyc files
2014-04-27 15:46:55 +02:00
fritz-hh
1c34fd69cf
RELEASE_NOTES update prior delivery of v2.0-stable
v2.0-stable
2014-01-25 22:14:05 +01:00
fritz-hh
4cf38404cc
fixes #51
...
Allow tesseract 3.02.01 to be used.
Even 3.02.01 fails in few cases (see issue #28 ). I decided to allow this
version anyway because 3.02.02 is not yet available for some widespread
linux distributions
2014-01-25 21:58:50 +01:00
fritz-hh
be830ddc31
List supported languages
...
In case lan is not supported, list the supported languages in the error
message
2014-01-18 22:22:19 +01:00
fritz-hh
18322b424f
fixes #60
...
Check if the languages option provided to tesseract (-l) are supported
2014-01-18 21:38:22 +01:00
fritz-hh
6901c60db4
more robust way to check tesseract version
...
better way of checking if the tesseract version is compatible with the
script.
If the required tess version is 3.02.02, and the actual version is 3.03,
the script would have told before that the version is too old, because
303<30202, now it compares 3.03>3.0202
2014-01-18 21:02:15 +01:00
fritz-hh
e369ce6766
config file: version updated to v2.0-rc2
v2.0-rc2
2014-01-16 21:22:24 +01:00
fritz-hh
64e4e5d91e
release notes updated for v2.0-rc2
2014-01-16 21:19:15 +01:00
fritz-hh
efce7de9ae
wording corrected
2014-01-15 23:08:26 +01:00
fritz-hh
38c64ac689
dependency to pdftk removed
...
concatenation is now done also with ghostscript
2014-01-15 21:23:42 +01:00
fritz-hh
6d203e3eee
portability improvements + minor changes
2014-01-15 21:23:41 +01:00
fritz-hh
81f461e557
disclaimer added
2014-01-14 23:46:33 +01:00
fritz-hh
988bde1387
tmpfiles to $TMPDIR + better portability (mktemp)
...
mktemp: consider both FreeBSD/OSX and Linux OS having incompatible
syntax
From now on temporary files are saved in the folder specified by the
environment variable $TMPDIR
2014-01-14 22:57:10 +01:00
fritz-hh
aedbabdbe8
merged pull request from oxplot
2014-01-14 22:29:41 +01:00
fritz-hh
6ed53e53c7
Readme improved
2014-01-14 19:47:28 +01:00
Mansour Behabadi
a78630ce99
Make src scripts executable
...
Signed-off-by: Mansour Behabadi <mansour@oxplot.com >
2014-01-14 17:50:46 +11:00
Mansour Behabadi
6653066784
Use --gnu in parralell and XX for mktemp
...
Signed-off-by: Mansour Behabadi <mansour@oxplot.com >
2014-01-14 17:49:24 +11:00
fritz-hh
e40f1fa081
better handling of ligatures: fixes #58
2014-01-13 23:13:15 +01:00
fritz-hh
a872ce751d
config file restructured
...
to be make which parameters are allowed to be changed by the user
2014-01-13 22:11:28 +01:00
fritz-hh
317846fbdc
Check of tmp folder creation was successful
2014-01-13 22:05:26 +01:00
fritz-hh
f581a55544
Merge pull request #57 from jbarlow83/for-upstream/tmpfolder
...
Fix temporary folder name generation collisions
2014-01-13 12:31:02 -08:00
fritz-hh
447b291e70
minor changes
2014-01-13 18:03:44 +01:00
fritz-hh
01d07253e8
indicate python2 to be used in header
2014-01-13 18:03:43 +01:00
fritz-hh
034a466094
Merge pull request #56 from jbarlow83/for-upstream/hocr-selfwidth
...
Fix AttributeError on self.width if Tesseract finds no OCR text
2014-01-13 08:44:16 -08:00
fritz-hh
c6211e2335
Merge pull request #55 from jbarlow83/for-upstream/check-poppler
...
Verify that pdftoppm is the Poppler version, not xpdf version
2014-01-13 08:42:33 -08:00
Jim Barlow
1d03a6417d
Verify that pdftoppm is the Poppler version, not xpdf version
2014-01-12 22:12:09 -08:00
Jim Barlow
1d62ef27a2
Fix AttributeError on self.width if Tesseract finds no OCR text
...
self.width remains undefined unless hOCR finds text. It might not, if
a page contains only an image for example.
Full error message is:
AttributeError: ‘hocrTransform’ object has no attribute ‘width’
2014-01-12 22:10:15 -08:00
Jim Barlow
996048dc08
Fix temporary folder name generation collisions
...
First, the regular expression matches everything after the first period
in a filename. Adding the $ make it match the last, so that filenames
such as “Report.1.pdf” get trimmed to “Report.1”.
Next use mktemp to get the OS to create a temporary folder. It will
guarantee a unique directory name beginning with prefix, even if parallel
processes are at work.
2014-01-12 22:05:11 -08:00
fritz-hh
bf02ee3bdc
Resolved conflits with jbarlow83 pull request
2014-01-12 15:37:14 +01:00
fritz-hh
a3c7fba02d
minor changes (comments)
2014-01-11 22:26:29 +01:00
fritz-hh
a8cd7febf6
remove spurious space in img number
...
Tell the script that "nbImg" is a number, so that leading/trailing
spaces are removed
2014-01-11 22:15:53 +01:00