====== 将DokuWiki页面输出为PDF ======
一些用户建议,采用某种方式将HTML和wiki页面转换为PDF文件。
Current pdf export plugins:
* [[plugin:dw2pdf]]
* [[plugin:pdfex]] (old)
* [[plugin:html2pdf]] (broken)
You can also see:
* html to pdf converter: [[tips:pdfexport:HTMLDOC]],
* or generate OpenOffice documents from your wiki using [[plugin:odt]]-plugin, as OpenOffice provides native export to PDF (working hyperlinks, tables, images and more).
===== 共同的修改 =====
为了输出网页到PDF,您需要添加一个按钮到您的wiki。无论您是使用何种PDF转换器,您都需要执行以下修改: \\
* 编辑"lib/tpl/main.php",添加一个 //Export to PDF// 按钮, 如下: