plugin:dw2pdf:pdftemplate
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
plugin:dw2pdf:pdftemplate [2017-11-19 15:17] – created Klap-in | plugin:dw2pdf:pdftemplate [2023-08-15 08:33] (current) – [Replacements] Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <= [[plugin: | ||
+ | |||
====== PDF Templates ====== | ====== PDF Templates ====== | ||
PDF Templates define the design of the created PDF files and are a good way to easily customize them to your Corporate Identity. | PDF Templates define the design of the created PDF files and are a good way to easily customize them to your Corporate Identity. | ||
Line 4: | Line 6: | ||
The default PDF template which is shipped with the dw2pdf plugin is shown below. It has simple headers, footers and citation box. | The default PDF template which is shipped with the dw2pdf plugin is shown below. It has simple headers, footers and citation box. | ||
+ | {{ : | ||
+ | To create a new template, just create a new folder within the plugin' | ||
+ | |||
+ | After creation, you set in the [[plugin: | ||
- | To create a new template, just create a new folder within | + | Default |
===== Headers and Footers ===== | ===== Headers and Footers ===== | ||
- | {{ : | ||
- | The following files can be created and will be used to set headers and footers on odd or even pages. Special headers/ | + | The following files can be created and will be used to set headers and footers on odd or even pages. Special headers/ |
* '' | * '' | ||
Line 23: | Line 28: | ||
* '' | * '' | ||
+ | |||
* '' | * '' | ||
* '' | * '' | ||
Line 46: | Line 52: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * '' | ||
//Remark about Bookcreator//: | //Remark about Bookcreator//: | ||
Line 53: | Line 60: | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
===== Styles ===== | ===== Styles ===== | ||
Line 62: | Line 68: | ||
You can use all the CSS that is understood by mPDF \\ (See https:// | You can use all the CSS that is understood by mPDF \\ (See https:// | ||
+ | |||
+ | |||
+ | ==== Style sheets loaded by dw2pdf ==== | ||
+ | |||
+ | Some background about css file loading. The dw2pdf loads the print style sheets of the wiki including these of plugins to get a leaner appearance of the article. A first impression can be gotten by looking in the print preview of your browser. Note that due to limitations of the mPDF-library, | ||
+ | |||
+ | During the generation of the pdf the following files are tried to load in the given order: | ||
+ | * '' | ||
+ | * '' | ||
+ | * per plugin: | ||
+ | * only if requested in config setting '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * if exists:\\ '' | ||
+ | * if pdf.css/ | ||
+ | * for the active [[: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
plugin/dw2pdf/pdftemplate.txt · Last modified: 2023-08-15 08:33 by Klap-in