Searched hist:c5e9feba3da44fbffc7cf075e222de0b7292ee15 (Results 1 – 1 of 1) sorted by relevance
| /plugin/include/ |
| H A D | helper.php | c5e9feba3da44fbffc7cf075e222de0b7292ee15 Fri Dec 14 10:03:07 UTC 2012 Michael Hamann <michael@content-space.de> Add 'beforeeach' and 'aftereach' flags
These two flags allow to specify an entity or text that will be displayed before or after each included page. The text will be displayed outside the current section and paragraph so this is really mainly a possibility to specify an entity that will expanded into some HTML code. This can also be used to wrap each included page in a certain HTML element.
Example:
In conf/entities.local.conf add the following: ~~PAGEBREAK~~ <div style="page-break-before:always;"> </div> Then you can use {{namespace>ns&beforeeach=~~PAGEBREAK~~}} and you will get a page break before each included page. This uses inline styles as otherwise the dw2pdf plugin doesn't consider the page breaks for the toc generation.
|