pdf2htmlEX in a docker container
How to use this docker containter to convert pdf file to html
Suppose you have a PDF file ~/pdf/test.pdf, simply running
docker run -ti --rm -v ~/pdf:/pdf bwits/pdf2htmlex pdf2htmlEX --zoom 1.3 test.pdf
would produce a single HTML file
run the docker container as local command
alias pdf2htmlEX="docker run -ti --rm -v ~/pdf:/pdf bwits/pdf2htmlex pdf2htmlEX" pdf2htmlEX -h pdf2htmlEX --zoom 1.3 test.pdf
For detail instruciton on how to run
pdf2htmlEX, please read the wiki
The problem might due to the misspell of the exec command pdf2htmlEX, with the last two letters mistakenly spelled in lower case.
Hi，Buddy When I run the latest docker I found the following error. Any ideas why？
docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"exec: \\"--zoom\\": executable file not found in $PATH\"\n".
Thanks bro! it was quite difficult to build from source. And the resultant image was 1.2GB!! Saved us lot of pain.