aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://kerravonsen.dreamwidth.org/ <http://kerravonsen.dreamwidth.org/@web>2011-11-24 08:46:27 -0400
committeradmin <admin@branchable.com>2011-11-24 08:46:27 -0400
commit852e28497b7a9994f03d3b0abfcb7cfd88798138 (patch)
treee8489c3c52ac7f5019d63da27c8d216cc6c4f05f
parent4d04324d7f11e696e094dbbe1707e96078f1508a (diff)
downloadikiwiki-852e28497b7a9994f03d3b0abfcb7cfd88798138.tar
ikiwiki-852e28497b7a9994f03d3b0abfcb7cfd88798138.tar.gz
response to query
-rw-r--r--doc/todo/pdf_output.mdwn9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/todo/pdf_output.mdwn b/doc/todo/pdf_output.mdwn
index 0de0776cf..bf30d0b7d 100644
--- a/doc/todo/pdf_output.mdwn
+++ b/doc/todo/pdf_output.mdwn
@@ -5,5 +5,10 @@ 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://code.google.com/p/wkhtmltopdf/">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]]
-> 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]]
+>> 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]]
+
+>>> That is because they are created automatically as part of the page-build process. That's what the "html2pdf_pages" option is for: it defines which pages have PDFs generated from them. If a PDF is generated for page "foo", then the PDF itself will be in "foo/foo.pdf".
+
+>>> I also notice you didn't mention installing wkhtmltopdf - it won't create PDFs without that!
+>>> -- [[KathrynAndersen]]