Use the lace
branch of my fork of HocrConverter: https://github.com/ryanfb/HocrConverter/tree/lace (make sure you git pull
to get the latest changes)
Download and compile jbig2enc in your script path. Modify pdf.py
to use 300 instead of 72 dpi.
Example run:
./lace2pdf.sh xenophon04xeno
Warning: hocrcombine.sh
is a non-XML-parsing hackjob I made because hocr-combine in hocr-tools was written with a deprecated Python library and it was easier than thinking about fixing that. If head/tail give you illegal option
on output, that probably means your combined output is borked.