mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
1 line
3.6 KiB
JSON
1 line
3.6 KiB
JSON
{"name":"pdf2htmlEX","body":"# pdf2html**EX**\r\n\r\nA beautiful demo is worth a thousand words:\r\n\r\n[**Typography**](http://coolwanglu.github.com/pdf2htmlEX/demo/geneve.html) [Original](https://github.com/raphink/geneve_1564/raw/master/geneve_1564.pdf)\r\n\r\n[**Formulas**](http://coolwanglu.github.com/pdf2htmlEX/demo/cheat.html) [Original](http://www.tug.org/texshowcase/cheat.pdf)\r\n\r\n[**Scientific Paper**](http://coolwanglu.github.com/pdf2htmlEX/demo/demo.html) [Original](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.148.349&rep=rep1&type=pdf)\r\n\r\n[**Chinese**](http://coolwanglu.github.com/pdf2htmlEX/demo/chn.html) [Original](http://files.cnblogs.com/phphuaibei/git%E6%90%AD%E5%BB%BA.pdf)\r\n\r\n\r\n**WINDOWS XP USERS: Please make sure ClearType is turned on** \r\n\r\n(Control Panel -> Display -> Appearance -> Effects -> \"Use the following method to smooth edges of screen fonts\" -> ClearType)\r\n\r\n## Introduction\r\n\r\npdf2htmlEX renders PDF files in HTML, utilizing modern Web technologies, aims to provide an accuracy rendering, while keeping optimized for Web display.\r\n\r\nIt is optimized for modern web browsers such as Mozilla Firefox & Google Chrome.\r\n\r\nThis program is designed for scientific papers with complicate formulas and figures, so a precise rendering is also the #1 concern. But of course general PDF files are also supported.\r\n\r\n## Features\r\n\r\n* Single HTML file output \r\n* Precise rendering \r\n* Text Selection\r\n* Font embedding & reencoding for Web\r\n* Proper styling (Color, Transformation...)\r\n* Links\r\n* Optimization for Web \r\n\r\n### Not supported yet\r\n\r\n* Type 3 fonts\r\n* Non-text object (Don't worry, they will be rendered as images)\r\n\r\n## Get started\r\n\r\n### Ubuntu \r\n\r\nThere is a Ubuntu PPA set up at [here](https://launchpad.net/~coolwanglu/+archive/pdf2htmlex).\r\n\r\n### ArchLinux\r\n\r\nSpecial thanks to Arthur Titeica for the [AUR Package](https://aur.archlinux.org/packages.php?ID=62426).\r\n\r\n### Build from source\r\n\r\n#### Dependency\r\n\r\n* CMake, pkg-config\r\n* compilers support C++11, for example\r\n * GCC >= 4.4.6\r\n * I heard about successful build with Clang \r\n* libpoppler with xpdf header >= 0.20.0 (compile with --enable-xpdf-headers)\r\n * Install libpng (and headers) BEFORE you compile libpoppler if you want background images generated\r\n * Install poppler-data if your want CJK support\r\n* fontforge (with header files)\r\n\r\n**Build On Windows**\r\n\r\nI've tested with CYGWIN without any problem, and I believe it also works on MinGW without many modifications.\r\n\r\n#### Compiling\r\n\r\n cmake . && make && sudo make install\r\n\r\n## Usage\r\n\r\n pdf2htmlEX /path/to/foobar.pdf\r\n\r\n pdf2htmlEX --help\r\n\r\n## LICENSE\r\n\r\nGPLv2 & GPLv3 Dual licensed\r\n\r\n**pdf2htmlEX is totally free, please credit pdf2htmlEX if you use it**\r\n\r\n**Please consider sponsoring it if you use it for commercial purpose**\r\n\r\n**Font extraction, conversion or redistribution may be illegal, please check your local laws**\r\n\r\n## Credits\r\n\r\npdf2htmlEX is inspired by the following projects:\r\n\r\n* pdftops & pdftohtml from poppler \r\n* MuPDF\r\n* PDF.js\r\n* Crocodoc\r\n* Google Doc\r\n\r\n## Contact\r\n\r\nSuggestions and questions are welcome. \r\n\r\nPlease read [FAQ](https://github.com/coolwanglu/pdf2htmlEX/wiki/FAQ) before sending an email to me. Or your message might be ignored.\r\n\r\n* Lu Wang <coolwanglu@gmail.com>\r\n\r\n### Special Thanks\r\n\r\n* Hongliang Tian <tatetian@gmail.com>\r\n\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration.","tagline":"A PDF to HTML converter"} |