Sign inSign up

barnabyshearer/htmloverpdf

By barnabyshearer

•Updated almost 5 years ago

Render a HTML overlay over existing PDF files.

Image
Languages & frameworks
Integration & delivery
Web analytics
1

10K+

barnabyshearer/htmloverpdf repository overview

readthedocs.io pypi.org issues

Dockerfile⁠

A wrapper for https://weasyprint.org/⁠ which allows compositing with existing PDF files.

It parses the HTML looking for tags with src urls ending ".pdf". Each one begins a new page and copies all source pages overlaying the weasyprint output. The magic value "blank.pdf" outputs sections HTML without overlaying.

⁠Usage

alias htmloverpdf="docker run --rm --interactive barnabyshearer/htmloverpdf"
htmloverpdf < test.html > test.pdf

Tag summary

Content type

Image

Digest

Size

357.6 MB

Last updated

almost 5 years ago

docker pull barnabyshearer/htmloverpdf