Klap-in / dokuwiki-plugin-bookcreator

Allow to select some pages and create a book (PDF, ODT or text)
https://www.dokuwiki.org/plugin:bookcreator
13 stars 18 forks source link

PDF-template selection #75

Open Juergen-aus-Zuendorf opened 8 years ago

Juergen-aus-Zuendorf commented 8 years ago

Hi,

is there a possibility to select a specific template for the output? When using the dw2pdf plugin there is a command like &tpl=yourtemplate. So it would be nice if there were a way to do that similar, perhaps by URL.

Best regards Juergen

Klap-in commented 8 years ago

Did you already try to add &tpl=yourtemplate to the url of the page of your bookmanager? My expectation is that it already works.

Juergen-aus-Zuendorf commented 7 years ago

Yes, thank you! That works.

But if someone opens the page of the bookmanager by navigation in the wiki (not by url) and clicks on the export button, the default template is used. So, my workaround at the moment is to use the url to the bookmanager instead of a wiki-link:

Example:

[[this>doku.php?id=wiki:ebook&tpl=schuette|PDF-Erstellung]]

instead of

[[wiki:ebook]]