aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorlkcl@d317c3c240102454f3d5ffa9210ae2178eb5af3a <lkcl@web>2019-06-25 11:48:24 -0400
committeradmin <admin@branchable.com>2019-06-25 11:48:24 -0400
commit957ef2d855348206ebb87d8745dac64ec218f5ee (patch)
tree2cb21de43e7828fa30ac0604abedffcb0ff9a54a /doc
parent96931fd36aa330a9403fd2e82c0867ece7bc6382 (diff)
downloadikiwiki-957ef2d855348206ebb87d8745dac64ec218f5ee.tar
ikiwiki-957ef2d855348206ebb87d8745dac64ec218f5ee.tar.gz
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/pdf_output.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/todo/pdf_output.mdwn b/doc/todo/pdf_output.mdwn
index e273f60fc..c176f1939 100644
--- a/doc/todo/pdf_output.mdwn
+++ b/doc/todo/pdf_output.mdwn
@@ -5,6 +5,8 @@ Note that for example dokuwiki has a [[nice plugin|http://danjer.doudouke.org/te
> I've actually written one, it's just not publicly released. You can check it out from the "experimental" branch of my <a href="https://github.com/rubykat/ikiplugins">ikiplugins githup repo</a>. It's called "html2pdf" and it depends on the static version of <a href="http://wkhtmltopdf.org">wkhtmltopdf</a> rather than requiring a whole LaTeX setup. It's only been used on Ubuntu, so I can't say what problems there might be on other setups, but it works for me. It's not properly documented; I'd appreciate some help with that.
> -- [[KathrynAndersen]]
+>> kathryn: wkhtmltopdf is based on webkit (qtwebkit). it effectively does a sort-of "i am a browser, i am going to print this page for you, oh look, you don't actually have a screen, i'll just output the file conveniently for you" thing. as such, the dependencies are MASSIVE. i just tried installing wkhtmltopdf on a debian server: it required pulling in x11 libraries, font configs, QT5, libxml2, 30+ other dependencies, pulling in over ONE HUNDRED sub and sub-dependencies - the works. absolutely NO chance - whatsoever - that i am going to put a public-facing server at risk or waste resources with such a nightmare waiting to happen, particularly one that is activated by a web service. latex on the other hand, despite being likely much larger, i can tolerate. it has "class" and history, being developed in the 70s by donald knuth - i.e. it was *not* developed by apple (ripping off the KDE KHTMLPart team's work, years ago) and does *not* depend on a whole bunch of crap such as qt. qt is a *GUI* toolkit, what am i gonna do installing that on a *server* for god's sake?? :) tex. donald knuth. that's pedigree.
+
>> Thanks, I downloaded the git-repro and did `sudo cp html2pdf.pm /usr/share/perl5/IkiWiki/Plugin/` then I added html2pdf to the addplugins line in my setup-file (`mywiki.setup`) as well a new line `html2pdf_pages=>"/*",`. Then I did `sudo ikiwiki --setup mywiki.setup`. However there is no button or something like that which let's me create the pdf's
>> -- [[micheal]]