1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00
pdf2htmlEX/index.md
2020-06-07 14:54:00 +01:00

4.5 KiB

layout title sidebar
default pdf2htmlEX - [Introduction](#introduction) - [Features](#features) - [Get Started](#get-started) - [Usage](#usage) - [License](#license) - [Credits](#credits) - [Github](https://github.com/pdf2htmlEX/pdf2htmlEX) - [Releases](https://github.com/pdf2htmlEX/pdf2htmlEX/releases) - [Wiki](https://github.com/pdf2htmlEX/pdf2htmlEX/wiki) - [Issues](https://github.com/pdf2htmlEX/pdf2htmlEX/issues) - [WINDOWS XP USERS](#windows-xp-users)

A beautiful demo is worth a thousand words:

Introduction

pdf2htmlEX renders PDF files in HTML, utilizing modern Web technologies. It aims to provide an accurate rendering, while being optimized for Web display. Text, fonts and formats are natively preserved in HTML. Mathematical formulas, figures and images are also supported.

pdf2htmlEX is also a publishing tool: almost 50 options make it flexible for many different use cases: PDF preview, book/magazine publishing, personal resume...

pdf2htmlEX is optimized for modern web browsers such as Mozilla Firefox & Google Chrome.

Why HTML?

This is an era of Web. HTML, together with CSS and JavaScript, provides the flexibility allowing you to embed documents with beautiful themes, consistent bahivours and useful features. User experience will also be significantly improved, documents will be plugin-free and interactive, users can read while downloading.

Features

  • Single HTML file output
  • or one HTML file per page if that is what you want...
  • Images
  • Precise rendering
  • Text Selection
  • Font embedding & reencoding for Web
  • Proper styling (Color, Transformation...)
  • Links
  • Optimization for Web

Not supported yet

  • Type 3 fonts
  • Non-text object (Don't worry, they will be rendered as images)

Get started

You can get pdf2htmlEX in a number of ways:

  • [AppImage]({{ site.github.releases_url }}) download, make executable, and "just run" (see AppImage.org)
  • pdf2htmlEX/pdf2htmlEX on Docker Hub
  • [Debian Archive]({{ site.github.releases_url }}) download, and apt install locally: sudo apt install ./<<DownloadedDebFile>>
  • [Compile yourself]({{ site.github.repository_url}}//tree/master/buildScripts)

Usage

pdf2htmlEX /path/to/foobar.pdf

pdf2htmlEX --help

LICENSE

GPLv2 & GPLv3 Dual licensed

pdf2htmlEX is totally free, please credit pdf2htmlEX if you use it

Please consider sponsoring it if you use it for commercial purpose

Font extraction, conversion or redistribution may be illegal, please check your local laws

Credits

pdf2htmlEX is inspired by the following projects:

  • pdftops & pdftohtml from poppler
  • MuPDF
  • PDF.js
  • Crocodoc
  • Google Doc

pdf2htmlEX uses the following projects:

  • Poppler
  • FontForge

Finally, many thanks are due to

for creating the original project

Contact

Suggestions and questions are welcome.

Please read [FAQ]({{ site.github.repository_url}}/wiki/FAQ) before sending an email.

Windows XP users

Please make sure ClearType is turned on

(Control Panel -> Display -> Appearance -> Effects -> "Use the following method to smooth edges of screen fonts" -> ClearType)