mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
Create gh-pages branch via GitHub
This commit is contained in:
parent
8fe9e25e95
commit
586d9279f8
234
demo/chn.html
234
demo/chn.html
File diff suppressed because one or more lines are too long
320
demo/demo.html
320
demo/demo.html
File diff suppressed because one or more lines are too long
55
index.html
55
index.html
@ -61,9 +61,9 @@
|
||||
|
||||
<p>pdf2htmlEX renders PDF files in HTML, utilizing modern Web technologies, aims to provide an accuracy rendering, while keeping optimized for Web display.</p>
|
||||
|
||||
<p>It is optimized for recent versions of modern web browsers such as Mozilla Firefox & Google Chrome.</p>
|
||||
<p>It is optimized for modern web browsers such as Mozilla Firefox & Google Chrome.</p>
|
||||
|
||||
<p>This program is designed for scientific papers with complicate formulas and figures, so a precise rendering is also the #1 concern.</p>
|
||||
<p>This 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.</p>
|
||||
|
||||
<h2>Features</h2>
|
||||
|
||||
@ -71,39 +71,55 @@
|
||||
<li>Single HTML file output </li>
|
||||
<li>Precise rendering </li>
|
||||
<li>Text Selection</li>
|
||||
<li>Font embedding </li>
|
||||
<li>Font embedding & reencoding for Web</li>
|
||||
<li>Proper styling (Color, Transformation...)</li>
|
||||
<li>Optimization for Web </li>
|
||||
</ul><h2>Not supported yet</h2>
|
||||
</ul><h3>Not supported yet</h3>
|
||||
|
||||
<ul>
|
||||
<li>Several Font types & encodings</li>
|
||||
<li>Type 3 fonts</li>
|
||||
<li>Non-text object (Don't worry, they will be rendered as images)</li>
|
||||
<li>Blend Mode</li>
|
||||
<li>...</li>
|
||||
</ul><h2>Dependency</h2>
|
||||
</ul><h2>Get started</h2>
|
||||
|
||||
<p><strong>Fontforge-git is no longer required, a recent version should be OK</strong> </p>
|
||||
|
||||
<h3>Ubuntu</h3>
|
||||
|
||||
<p>There is a Ubuntu PPA set up at <a href="https://launchpad.net/%7Ecoolwanglu/+archive/pdf2htmlex">here</a>.</p>
|
||||
|
||||
<h3>ArchLinux</h3>
|
||||
|
||||
<p>Special thanks to Arthur Titeica for the <a href="https://aur.archlinux.org/packages.php?ID=62426">AUR Package</a>.</p>
|
||||
|
||||
<h3>Build from source</h3>
|
||||
|
||||
<h4>Dependency</h4>
|
||||
|
||||
<ul>
|
||||
<li>Recent version of GCC (no guarantee on other compilers)</li>
|
||||
<li>libpoppler with xpdf header >= 0.20.2</li>
|
||||
<li>CMake </li>
|
||||
<li>compilers support C++11</li>
|
||||
<li>libpoppler with xpdf header >= 0.20.2 (compile with --enable-xpdf-headers)</li>
|
||||
<li>boost c++ library (format, program options, gil, filesystem, serialization, system(which is actually required by filesystem))</li>
|
||||
<li>fontforge <strong>Please use <a href="https://github.com/fontforge/fontforge">the lastest version</a></strong>
|
||||
</li>
|
||||
</ul><h2>HOW TO COMPILE</h2>
|
||||
<li>fontforge (with header files)</li>
|
||||
</ul><h4>Compiling</h4>
|
||||
|
||||
<pre><code>cmake . && make && sudo make install
|
||||
</code></pre>
|
||||
|
||||
<h2>HOW TO USE</h2>
|
||||
<h2>Usage</h2>
|
||||
|
||||
<pre><code>pdf2htmlEX /path/to/sample.pdf
|
||||
<pre><code>pdf2htmlEX /path/to/foobar.pdf
|
||||
|
||||
pdf2htmlEX --help
|
||||
</code></pre>
|
||||
|
||||
<h2>LICENSE</h2>
|
||||
|
||||
<p>GPLv3</p>
|
||||
<p>GPLv2 & GPLv3 Dual licensed</p>
|
||||
|
||||
<p>We would like to acknowledge the following projects that have been consulted while writing this program:</p>
|
||||
<h2>Credits</h2>
|
||||
|
||||
<p>The following projects have been consulted for pdf2htmlEX:</p>
|
||||
|
||||
<ul>
|
||||
<li>pdftops & pdftohtml from poppler </li>
|
||||
@ -111,11 +127,14 @@
|
||||
<li>PDF.js</li>
|
||||
<li>Crocodoc</li>
|
||||
<li>Google Doc</li>
|
||||
</ul><h2>AUTHORS</h2>
|
||||
</ul><h2>Contact</h2>
|
||||
|
||||
<ul>
|
||||
<li>Lu Wang <a href="mailto:coolwanglu@gmail.com">coolwanglu@gmail.com</a>
|
||||
</li>
|
||||
</ul><h3>Special Thanks</h3>
|
||||
|
||||
<ul>
|
||||
<li>Hongliang Tian <a href="mailto:tatetian@gmail.com">tatetian@gmail.com</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -1 +1 @@
|
||||
{"name":"pdf2htmlEX","body":"pdf2html**EX**\r\n=============================\r\n\r\n\r\n[**View Demo**](http://coolwanglu.github.com/pdf2htmlEX/demo/demo.html)\r\n\r\n[**Another Demo (CJK)**](http://coolwanglu.github.com/pdf2htmlEX/demo/chn.html)\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\nIntroduction\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 recent versions of 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.\r\n\r\nFeatures\r\n----------------------------\r\n* Single HTML file output \r\n* Precise rendering \r\n* Text Selection\r\n* Font embedding \r\n* Proper styling (Color, Transformation...)\r\n* Optimization for Web \r\n\r\nNot supported yet\r\n----------------------------\r\n* Several Font types & encodings\r\n* Non-text object (Don't worry, they will be rendered as images)\r\n* Blend Mode\r\n* ...\r\n\r\nDependency\r\n----------------------------\r\n* Recent version of GCC (no guarantee on other compilers)\r\n* libpoppler with xpdf header >= 0.20.2\r\n* boost c++ library (format, program options, gil, filesystem, serialization, system(which is actually required by filesystem))\r\n* fontforge **Please use [the lastest version](https://github.com/fontforge/fontforge)**\r\n\r\nHOW TO COMPILE\r\n----------------------------\r\n cmake . && make && sudo make install\r\n\r\nHOW TO USE\r\n----------------------------\r\n pdf2htmlEX /path/to/sample.pdf\r\n\r\nLICENSE\r\n----------------------------\r\nGPLv3\r\n\r\n\r\nWe would like to acknowledge the following projects that have been consulted while writing this program:\r\n* pdftops & pdftohtml from poppler \r\n* MuPDF\r\n* PDF.js\r\n* Crocodoc\r\n* Google Doc\r\n\r\nAUTHORS\r\n----------------------------\r\n* Lu Wang <coolwanglu@gmail.com>\r\n* Hongliang Tian <tatetian@gmail.com>\r\n\r\n","tagline":"A PDF to HTML converter","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
|
||||
{"body":"# pdf2html**EX**\r\n\r\n\r\n[**View Demo**](http://coolwanglu.github.com/pdf2htmlEX/demo/demo.html)\r\n\r\n[**Another Demo (CJK)**](http://coolwanglu.github.com/pdf2htmlEX/demo/chn.html)\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* 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**Fontforge-git is no longer required, a recent version should be OK** \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 \r\n* compilers support C++11\r\n* libpoppler with xpdf header >= 0.20.2 (compile with --enable-xpdf-headers)\r\n* boost c++ library (format, program options, gil, filesystem, serialization, system(which is actually required by filesystem))\r\n* fontforge (with header files)\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## Credits\r\n\r\nThe following projects have been consulted for pdf2htmlEX:\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\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.","name":"pdf2htmlEX","tagline":"A PDF to HTML converter"}
|
Loading…
Reference in New Issue
Block a user