From 83af4e3568890add16d9f958e9d94f1f55b25406 Mon Sep 17 00:00:00 2001 From: Trent Petersen Date: Mon, 22 Jan 2018 09:41:53 -0600 Subject: [PATCH] Set theme jekyll-theme-tactile and migrate Page Generator content --- _config.yml | 8 ++ index.html | 205 ---------------------------------------------------- index.md | 109 ++++++++++++++++++++++++++++ params.json | 1 - 4 files changed, 117 insertions(+), 206 deletions(-) create mode 100644 _config.yml delete mode 100644 index.html create mode 100644 index.md delete mode 100644 params.json diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..f18996a --- /dev/null +++ b/_config.yml @@ -0,0 +1,8 @@ +title: pdf2htmlEX +description: A PDF to HTML converter +google_analytics: +show_downloads: true +theme: jekyll-theme-tactile + +gems: + - jekyll-mentions diff --git a/index.html b/index.html deleted file mode 100644 index 3e25fa3..0000000 --- a/index.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - - - - - - - - pdf2htmlEX by coolwanglu - - - - - -
- - -
-
-

pdf2htmlEX

-

Publishing PDF Online

- View project onGitHub -
-
- -
-
-
-

A beautiful demo is worth a thousand words:

- - - -

What is pdf2htmlEX?

- -

pdf2htmlEX renders PDF files in HTML, utilizing modern Web technologies, aims to provide an accuracy rendering, while keeping optimized for Web display. -Text, fonts and formats are natively preserved in HTML, math 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...

- -

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.

- -

Learn more...

- -

Contact

- - - -

More info at coolwanglu/pdf2htmlEX@github.

- -

- - -
-
- - diff --git a/index.md b/index.md new file mode 100644 index 0000000..6e93aa9 --- /dev/null +++ b/index.md @@ -0,0 +1,109 @@ +# pdf2html**EX** + +A beautiful demo is worth a thousand words: + +[**Typography**](http://coolwanglu.github.com/pdf2htmlEX/demo/geneve.html) [Original](https://github.com/raphink/geneve_1564/raw/master/geneve_1564.pdf) + +[**Formulas**](http://coolwanglu.github.com/pdf2htmlEX/demo/cheat.html) [Original](http://www.tug.org/texshowcase/cheat.pdf) + +[**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) + +[**Chinese**](http://coolwanglu.github.com/pdf2htmlEX/demo/chn.html) [Original](http://files.cnblogs.com/phphuaibei/git%E6%90%AD%E5%BB%BA.pdf) + + +**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) + +## Introduction + +pdf2htmlEX renders PDF files in HTML, utilizing modern Web technologies, aims to provide an accuracy rendering, while keeping optimized for Web display. + +It is optimized for modern web browsers such as Mozilla Firefox & Google Chrome. + +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. + +## Features + +* Single HTML file output +* 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 + +### Ubuntu + +There is a Ubuntu PPA set up at [here](https://launchpad.net/~coolwanglu/+archive/pdf2htmlex). + +### ArchLinux + +Special thanks to Arthur Titeica for the [AUR Package](https://aur.archlinux.org/packages.php?ID=62426). + +### Build from source + +#### Dependency + +* CMake, pkg-config +* compilers support C++11, for example + * GCC >= 4.4.6 + * I heard about successful build with Clang +* libpoppler with xpdf header >= 0.20.0 (compile with --enable-xpdf-headers) + * Install libpng (and headers) BEFORE you compile libpoppler if you want background images generated + * Install poppler-data if your want CJK support +* fontforge (with header files) + +**Build On Windows** + +I've tested with CYGWIN without any problem, and I believe it also works on MinGW without many modifications. + +#### Compiling + + cmake . && make && sudo make install + +## 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 + +## Contact + +Suggestions and questions are welcome. + +Please read [FAQ](https://github.com/coolwanglu/pdf2htmlEX/wiki/FAQ) before sending an email to me. Or your message might be ignored. + +* Lu Wang + +### Special Thanks + +* Hongliang Tian + diff --git a/params.json b/params.json deleted file mode 100644 index ebfce5a..0000000 --- a/params.json +++ /dev/null @@ -1 +0,0 @@ -{"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 \r\n\r\n### Special Thanks\r\n\r\n* Hongliang Tian \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"} \ No newline at end of file