wiki:books_help
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| wiki:books_help [11-02-2026 10:56] – removed - external edit (Unknown date) 127.0.0.1 | wiki:books_help [11-02-2026 10:56] (current) – ↷ Page moved and renamed from books:book_help to wiki:books_help Dillard Blom | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Creating ebooks ====== | ||
| + | |||
| + | Description | ||
| + | |||
| + | 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. | ||
| + | |||
| + | The bookcreator supports the following export formats, if you install respectively plugin: | ||
| + | |||
| + | * To work the PDF export required dw2pdf plugin; | ||
| + | * the ODT export required OpenDocument Export plugin; | ||
| + | * the Text export required the text plugin. | ||
| + | |||
| + | |||
| + | ===== Usage ===== | ||
| + | |||
| + | ==== Create book manage tools on wiki:ebook ==== | ||
| + | |||
| + | Before using this plugin, you need to create a page with the bookmanager. Therefore you place the syntax '' | ||
| + | |||
| + | In the bookmanager can show and manage your list of selected pages | ||
| + | |||
| + | * Reset current selection | ||
| + | * Exclude/ | ||
| + | * View the excluded pages and “include” them back | ||
| + | * Drag and drop to change exporting order of page and remove/add page to the selection. | ||
| + | * Set a title for the PDF document | ||
| + | * Create the PDF book on selected pages | ||
| + | * Create a printable version of selected pages | ||
| + | * Extract only text of selected pages | ||
| + | * Save and restore selections on a specific namespace (use ACL's rights) | ||
| + | |||
| + | == Example == | ||
| + | |||
| + | Put at the '' | ||
| + | |||
| + | <code -> | ||
| + | ~~BOOK~~ | ||
| + | </ | ||
| + | |||
| + | And // | ||
| + | |||
| + | ==== Initiate a book ==== | ||
| + | |||
| + | {{ https:// | ||
| + | |||
| + | 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. | ||
| + | |||
| + | {{https:// | ||
| + | |||
| + | The book manage tool that you created above (default on '' | ||
| + | |||
| + | ==== Show saved selections ==== | ||
| + | |||
| + | Below the bookmanager is a listed displayed with saved selections. You can also display with '' | ||
| + | |||
| + | * Available action: Load a saved selection into the bookmanager again | ||
| + | * Optionally you can specify the number of selections to display and the order: | ||
| + | * '' | ||
| + | * '' | ||
| + | * a //number// limits the number of displayed selections | ||
| + | |||
| + | 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 '' | ||
| + | |||
| + | == Example == | ||
| + | |||
| + | {{ https:// | ||
| + | |||
| + | <code -> | ||
| + | ~~ARCHIVEBOOK: | ||
| + | </ | ||
| + | |||
| + | ==== Direct export a saved selection ==== | ||
| + | |||
| + | To create a link, which initiates an export to respectively pdf, text, html or odt-file, you can use: (FIXME: ODT format have to receive the update yet, little patience please) | ||
| + | |||
| + | <code -> | ||
| + | ~~EXPORTPDF: | ||
| + | ~~EXPORTTEXT: | ||
| + | ~~EXPORTHTML: | ||
| + | ~~EXPORTODT: | ||
| + | </ | ||
| + | |||
| + | To change link title shown in wiki page: | ||
| + | |||
| + | <code -> | ||
| + | ~~EXPORTPDF: | ||
| + | </ | ||
| + | |||
| + | Add url parameters to export url: | ||
| + | |||
| + | <code -> | ||
| + | ~~EXPORTPDF: | ||
| + | ~~EXPORTPDF: | ||
| + | </ | ||
| + | |||
| + | ===== Installation ===== | ||
| + | |||
| + | Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually. | ||
| + | |||
| + | ==== ' | ||
| + | |||
| + | When you are using the default template of DokuWiki, the “Add/ | ||
| + | |||
| + | ==== other templates ==== | ||
| + | |||
| + | Other templates will probably not be supported that good yet. Please request at the issue tracker. | ||
| + | |||
| + | ===== Changing the order of wiki pages ===== | ||
| + | |||
| + | 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. | ||
| + | |||
| + | ===== Saving books ===== | ||
| + | |||
| + | Format of stored book pages: when you save a book, it is stored in the format shown below. | ||
| + | |||
| + | <code -> | ||
| + | ====== MyBookName ====== | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * ..... | ||
| + | * [[: | ||
| + | </ | ||
| + | |||
| + | You can also manually create a book from scratch by using the same format. | ||
| + | |||
| + | * Take care of prefixing of links by '':'' | ||
| + | * To create a book from scratch, start a new page such as // | ||
| + | |||
| + | ===== Configuration ===== | ||
| + | |||
| + | Available configuration options. | ||
| + | |||
| + | ^ **Name** ^ **Description** ^ | ||
| + | | 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. | | ||
| + | |||
| + | ==== Modifying the generated file ==== | ||
| + | |||
| + | If you like to configure/ | ||
| + | |||
| + | \\ | ||
| + | |||
