Sign inSign up

sergiomtzlosa/pdf2htmlex

By sergiomtzlosa

•Updated over 6 years ago

Docker source image to convert PDFs into beautiful HTML

Image
0

2.7K

sergiomtzlosa/pdf2htmlex repository overview

⁠Docker source image to convert PDFs into beautiful HTML

Suppose you have a PDF file ~/pdf/test.pdf, simply place on your pdf file path and type:

docker run -ti --rm -v ~/pdf:/pdf sergiomtzlosa/pdf2htmlex pdf2htmlEX --zoom 1.3 test.pdf test.html

It would produce a single HTML file test.html in ~/pdf directory.

⁠Run the docker container as local command

Set an alias in yout .bashrc file:

alias pdf2htmlEX='docker run -ti --rm -v `pwd`:/pdf sergiomtzlosa/pdf2htmlex pdf2htmlEX'

Use the alias on your bash prompt:

pdf2htmlEX -h 
pdf2htmlEX --zoom 1.3 test.pdf

For detailed instructions to build the image manually check the repository:

https://github.com/sergiomtzlosa/docker-pdf2htmlex⁠

Tag summary

Content type

Image

Digest

Size

957 MB

Last updated

over 6 years ago

docker pull sergiomtzlosa/pdf2htmlex