Learn about DokuWiki
Learn about DokuWiki
Compatible with DokuWiki
The bookcreator plugin allows the user to select some pages from a wiki and then export them to create a little PDF book or text (like a similar function of Wikipedia)
First you initialize a book by clicking an interface button. Nextly, a toolbar at the top of the pages appear to add/remove more pages to the book. Also you can jump to the bookmanager (at a preconfigured page) that let you sort and finish the selections for your book, and export it to screen(html) and when the required plugins are installed: to pdf-file, odt-file or text on screen.
The bookmanager let you save and load saved selections for later use. You can use drag and drop to change the order and move pages in and out.
Before using this plugin, you need to create a page with the bookmanager. Therefore you place the syntax
~~BOOK~~ in the wiki page
wiki:ebook (in the configuration manager you can change this location).
In the bookmanager can show and manage your list of selected pages
Put at the
wiki:ebook the syntax:
Use the Add/Remove to book link or button in your template to point a first page you like to add to a pdf book. The image on the left handside is the link as added automatically to the 'dokuwiki' template, see installation instruction below for other templates.
After selecting the first page, a toolbar appears on every page that let you add or remove additional pages. This toolbar refers also to the book manage tool.
The book manage tool that you created above (default on
~~BOOK~~ let you reorder and exclude pages to your selection. Everybody who has access to the book manage tool can export selections to pdf, or show a print version. When you have enough (at least the “change”) ACL permissions in the namespace where the selections are saved, you can also save and select these selections.
Below the bookmanager is a listed displayed with saved selections. You can also display with
~~ARCHIVEBOOK:number&sort~~ such a list of saved selections (books) anywhere into your wiki.
date– Sort by saving date of selection
title– Sort by Title of the selection
Default is 10 items ordered by date (last updated are sorted first). Each entry links also to the wiki page where their selection is saved. Per page only one list of saved selections is displayed.
The user can only see selections when he has at least read access for the namespace
wiki:ebook: (location configurable via config manager) or the pages in this namespace. Permissions for this namespace and the pages can be set as usual via the ACL manager.
Other templates will probably not be supported that good yet. Please request at the issue tracker.
To change the order of wiki pages in your book, simply move the pages in the list. To do so, hover over the page title to move, click and drag it to the new location. Release the mouse button to finish moving the page to its new location.
Format of stored book pages: when you save a book, it is stored in the format shown below.
====== MyBookName ====== * [[:first_pages]] * [[:second_page]] * [[:namespace:third_page]] * ..... * [[:last_page]]
You can also manually create a book from scratch by using the same format.
Available configuration options.
|toolbar||Show toolbar: Never, when selection is not empty or always|
|book_page||Wiki page where show your book manager. Put here the
|help_page||Wiki page with info and instructions|
|save_namespace||Namespace where the book manager will save selections.|
|skip_ids||Don't show tools if pageid contains one of these ids.|
This plugin was the former Pdfbook Plugin.
Please refer to the issue tracker for reporting issues.