1
0
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:
Lu Wang 2012-09-20 00:45:15 -07:00
parent a34c2400e5
commit 892fe8382c
6 changed files with 24 additions and 1287 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -33,13 +33,13 @@
<p>A beautiful demo is worth a thousand words:</p>
<p><a href="http://coolwanglu.github.com/pdf2htmlEX/demo/geneve.html"><strong>Typography</strong></a></p>
<p><a href="http://coolwanglu.github.com/pdf2htmlEX/demo/geneve.html"><strong>Typography</strong></a> <a href="https://github.com/raphink/geneve_1564/raw/master/geneve_1564.pdf">Original</a></p>
<p><a href="http://coolwanglu.github.com/pdf2htmlEX/demo/cheat.html"><strong>Formulas</strong></a></p>
<p><a href="http://coolwanglu.github.com/pdf2htmlEX/demo/cheat.html"><strong>Formulas</strong></a> <a href="http://www.tug.org/texshowcase/cheat.pdf">Original</a></p>
<p><a href="http://coolwanglu.github.com/pdf2htmlEX/demo/demo.html"><strong>Scientific Paper</strong></a></p>
<p><a href="http://coolwanglu.github.com/pdf2htmlEX/demo/demo.html"><strong>Scientific Paper</strong></a> <a href="http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.148.349&amp;rep=rep1&amp;type=pdf">Original</a></p>
<p><a href="http://coolwanglu.github.com/pdf2htmlEX/demo/chn.html"><strong>Chinese</strong></a></p>
<p><a href="http://coolwanglu.github.com/pdf2htmlEX/demo/chn.html"><strong>Chinese</strong></a> <a href="http://files.cnblogs.com/phphuaibei/git%E6%90%AD%E5%BB%BA.pdf">Original</a></p>
<p><strong>WINDOWS XP USERS: Please make sure ClearType is turned on</strong> </p>
@ -61,6 +61,7 @@
<li>Text Selection</li>
<li>Font embedding &amp; reencoding for Web</li>
<li>Proper styling (Color, Transformation...)</li>
<li>Links</li>
<li>Optimization for Web </li>
</ul><h3>Not supported yet</h3>
@ -69,8 +70,6 @@
<li>Non-text object (Don't worry, they will be rendered as images)</li>
</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>
@ -84,22 +83,27 @@
<h4>Dependency</h4>
<ul>
<li>CMake </li>
<li>compilers support C++11
<li>CMake, pkg-config</li>
<li>compilers support C++11, for example
<ul>
<li>GCC &gt;= 4.6.x</li>
<li>GCC &gt;= 4.4.6</li>
<li>I heard about successful build with Clang </li>
</ul>
</li>
<li>libpoppler with xpdf header &gt;= 0.20.2 (compile with --enable-xpdf-headers)
<li>libpoppler with xpdf header &gt;= 0.20.0 (compile with --enable-xpdf-headers)
<ul>
<li>Install libpng (and headers) BEFORE you compile libpoppler if you want background images generated</li>
<li>Install poppler-data if your want CJK support</li>
</ul>
</li>
<li>boost c++ library (program options, gil, filesystem, system(which is actually required by filesystem))</li>
<li>fontforge (with header files)</li>
</ul><h4>Compiling</h4>
</ul><p><strong>Build On Windows</strong></p>
<p>I've tested with CYGWIN without any problem, and I believe it also works on MinGW without many modifications.</p>
<h4>Compiling</h4>
<pre><code>cmake . &amp;&amp; make &amp;&amp; sudo make install
</code></pre>
@ -115,13 +119,15 @@ pdf2htmlEX --help
<p>GPLv2 &amp; GPLv3 Dual licensed</p>
<p><strong>Please credit pdf2htmlEX if you use it in your work, especially for commercial use</strong></p>
<p><strong>pdf2htmlEX is totally free, please credit pdf2htmlEX if you use it</strong></p>
<p><strong>Font extraction or conversion may be illegal, please check your local laws</strong></p>
<p><strong>Please consider sponsoring it if you use it for commercial purpose</strong></p>
<p><strong>Font extraction, conversion or redistribution may be illegal, please check your local laws</strong></p>
<h2>Credits</h2>
<p>The following projects have been consulted for pdf2htmlEX:</p>
<p>pdf2htmlEX is inspired by the following projects:</p>
<ul>
<li>pdftops &amp; pdftohtml from poppler </li>
@ -131,9 +137,9 @@ pdf2htmlEX --help
<li>Google Doc</li>
</ul><h2>Contact</h2>
<p>Suggestions and questions are welcome.</p>
<p>Suggestions and questions are welcome. </p>
<p>Please read the <a href="https://github.com/coolwanglu/pdf2htmlEX/wiki/FAQ">FAQ</a> beforehand.</p>
<p>Please read <a href="https://github.com/coolwanglu/pdf2htmlEX/wiki/FAQ">FAQ</a> before sending an email to me. Or your message might be ignored.</p>
<ul>
<li>Lu Wang <a href="mailto:coolwanglu@gmail.com">coolwanglu@gmail.com</a>

View File

@ -1 +1 @@
{"google":"","note":"Don't delete this file! It's used internally to help with page regeneration.","name":"pdf2htmlEX","tagline":"A PDF to HTML converter","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)\r\n\r\n[**Formulas**](http://coolwanglu.github.com/pdf2htmlEX/demo/cheat.html)\r\n\r\n[**Scientific Paper**](http://coolwanglu.github.com/pdf2htmlEX/demo/demo.html)\r\n\r\n[**Chinese**](http://coolwanglu.github.com/pdf2htmlEX/demo/chn.html)\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* 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 * GCC >= 4.6.x\r\n* libpoppler with xpdf header >= 0.20.2 (compile with --enable-xpdf-headers)\r\n * Install libpng (and headers) BEFORE you compile libpoppler if you want background images generated\r\n* boost c++ library (program options, gil, filesystem, 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**Please credit pdf2htmlEX if you use it in your work, especially for commercial use**\r\n\r\n**Font extraction or conversion may be illegal, please check your local laws**\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\nSuggestions and questions are welcome.\r\n\r\nPlease read the [FAQ](https://github.com/coolwanglu/pdf2htmlEX/wiki/FAQ) beforehand.\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"}
{"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"}