tips:pdfexport
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tips:pdfexport [2012-12-21 21:43] – Instructions for export link in pagetools in dokuwiki template added 78.54.131.33 | tips:pdfexport [2015-05-06 18:02] (current) – [Issues] 12.13.14.15 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Export DokuWiki | + | ====== Export DokuWiki |
- | Several | + | Several |
- | Current pdf export | + | Plugins that export |
* [[plugin: | * [[plugin: | ||
+ | * [[plugin: | ||
* [[plugin: | * [[plugin: | ||
* [[plugin: | * [[plugin: | ||
- | You can also see: | + | Other ways to generate PDFs: |
- | * html to pdf converter: [[tips: | + | * HTML to PDF converter: [[tips: |
- | * or generate OpenOffice | + | * Generate ODT documents from your wiki using the [[plugin: |
===== Common changes ===== | ===== Common changes ===== | ||
In order to export your pages to PDF you'll need to add a button to your wiki. Regardless which PDF converter you use, you need to implement the following changes: \\ | In order to export your pages to PDF you'll need to add a button to your wiki. Regardless which PDF converter you use, you need to implement the following changes: \\ | ||
- | * Add an //Export to PDF// button by editing '' | + | * Add an //Export to PDF// button by editing '' |
<div class=" | <div class=" | ||
<div class=" | <div class=" | ||
Line 64: | Line 65: | ||
</ | </ | ||
</ | </ | ||
- | * Edit the function | + | * Edit the '' |
case ' | case ' | ||
+ | $params[' | ||
break; | break; | ||
case ' | case ' | ||
Line 78: | Line 80: | ||
# | # | ||
background-position: | background-position: | ||
+ | } | ||
+ | # | ||
+ | margin-top: -270px; | ||
} | } | ||
# | # | ||
Line 117: | Line 122: | ||
This appears to only work with pages that allow anonymous read access. | This appears to only work with pages that allow anonymous read access. | ||
+ | GIF images are not embedded into the generated PDF, instead only the first frame is shown. | ||
---- | ---- |
tips/pdfexport.1356122603.txt.gz · Last modified: 2012-12-21 21:43 by 78.54.131.33