plugin:dw2pdf:pdftemplate
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:dw2pdf:pdftemplate [2017-11-19 23:36] – Klap-in | plugin:dw2pdf:pdftemplate [2023-08-15 08:33] (current) – [Replacements] Klap-in | ||
---|---|---|---|
Line 7: | Line 7: | ||
{{ : | {{ : | ||
- | To create a new template, just create a new folder within the plugin' | + | To create a new template, just create a new folder within the plugin' |
+ | |||
+ | After creation, you set in the [[plugin: | ||
+ | |||
+ | Default the css is included for the print view (which replaces parts of the screen view to make it leaner - see also Print preview of your browser) of the wiki-[[: | ||
===== 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 24: | Line 28: | ||
* '' | * '' | ||
+ | |||
* '' | * '' | ||
* '' | * '' | ||
Line 47: | Line 52: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * '' | ||
//Remark about Bookcreator//: | //Remark about Bookcreator//: | ||
Line 54: | Line 60: | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
===== Styles ===== | ===== Styles ===== | ||
Line 63: | 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.1511130970.txt.gz · Last modified: 2017-11-19 23:36 by Klap-in