This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot-open:rules [2023/08/29 07:20] – [Figures] pczekalski | en:iot-open:rules [2025/10/30 07:53] (current) – raivo.sell | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== General rules for creating the DokuWiki based books. v.1.4 ====== | + | ====== General rules for creating the DokuWiki-based books. v.1.7 ====== |
| ===== Table of Contents ===== | ===== Table of Contents ===== | ||
| - | The table of contents page for a book has all the linked pages that the book will use for its materials. If a page is not linked in there it will not appear in the book. | + | A book' |
| - | <note important> | + | <note important> |
| + | <note warning> | ||
| ==== Exclude a page ==== | ==== Exclude a page ==== | ||
| - | To exclude a page in the book simply remove it from the ToC or if you want to keep it in the ToC then put the page between < | + | To exclude a page in the book, simply remove it from the ToC, or if you want to keep it in the ToC, then put the page between < |
| Example: | Example: | ||
| Line 14: | Line 16: | ||
| < | < | ||
| - | More of this under the [[https:// | + | More of this is under the [[https:// |
| ===== Chapters and headers ===== | ===== Chapters and headers ===== | ||
| - | Place top chapter (header level 1) title in six equation chars: | + | Place the top chapter (header level 1) title in six equation chars: |
| < | < | ||
| - | Note, the first chapter level on the page should correspond with ToC indentation as in case the Dokuwiki page is part of the book. | + | Each page should start from the highest |
| - | + | ||
| - | ==== Subchapter ==== | + | 1. Introduction (page1) |
| + | 1.1 Definition of the problem (page2) | ||
| - | Subchapters of first level (header level 2) need four equation marks, second level (header level 3) – three and so on: | + | page1 starts with:\\ |
| + | < | ||
| - | < | + | page2 starts with:\\ |
| + | < | ||
| - | Do not use any font modifiers to the title. We assume that three levels of subchapters should | + | <note warning> |
| + | This is particularly important when using < | ||
| + | ==== Subchapter ==== | ||
| - | <note important> | ||
| - | < | ||
| - | ToC: | ||
| - | Level 1 (page 1, first chapter no 1) | + | <note warning> |
| - | Level 1 (page 2, first chapter no 2) | + | |
| - | - Level 2 (page 3, first chapter no 2.1) | + | |
| - | - Level 2 (page 4, first chapter no 2.2) | + | |
| - | - - Level 3 (page 5, first chapter no 2.2.1) | + | |
| - | - Level 2 (page 6, first chapter no 2.3) | + | |
| - | - - Level 3 (page 7, first chapter no 2.3.1) | + | |
| - | - - Level 3 (page 8, first chapter no 2.3.2) | + | |
| - | - - Level 3 (page 9, first chapter no 2.3.3) | + | |
| - | Level 1 (page 10, first chapter no 3) | + | |
| - | --------------------------------- | ||
| - | Page 1: | + | ===== References |
| - | ====== Header level 1 (1.) ====== | + | References should appear in the text as pointers e.g. < |
| - | Page 2: | + | < |
| - | ====== Header level 1 (2.) ====== | + | |
| - | Page 3: | ||
| - | ===== Header level 2 (2.1.) ===== | ||
| - | Page 4: | + | If using the **RefNotes plugin** for structured or bibliographical references |
| - | ===== Header level 2 (2.2.) ===== | + | Otherwise, the same citation may appear with duplicated numbers such as `[2], [2]`. |
| - | Page 5: | + | To make each reference appear only once in the footer |
| - | ==== Header level 3 (2.2.1.) ==== | + | |
| - | + | ||
| - | Page 6: | + | |
| - | ===== Header level 2 (2.3.) ===== | + | |
| - | + | ||
| - | Page 7: | + | |
| - | ==== Header level 3 (2.3.1.) ==== | + | |
| - | + | ||
| - | Page 8: | + | |
| - | ==== Header level 3 (2.3.2.) ==== | + | |
| - | + | ||
| - | Page 9: | + | |
| - | ==== Header level 3 (2.3.3.) ==== | + | |
| - | + | ||
| - | Page 10: | + | |
| - | ====== Header level 1 (3.) ====== | + | |
| + | < | ||
| + | < | ||
| + | back-ref-format : none | ||
| + | </ | ||
| </ | </ | ||
| - | </ | ||
| - | <note warning> | ||
| - | |||
| - | |||
| - | ===== References ===== | ||
| - | |||
| - | References should appear in the text as footnotes. <note warning> | ||
| - | |||
| - | < | ||
| ===== Figures ===== | ===== Figures ===== | ||
| Line 106: | Line 75: | ||
| As shown on Figure {{ref> | As shown on Figure {{ref> | ||
| < | < | ||
| - | Figure {{ref> | + | Figure {{ref> |
| </ | </ | ||
| Note - when you insert a new figure, you must give it a unique name, here Ref. Pic.1, right by the HTML tag figure (default is a label), then you can refer to it as in regular HTML. | Note - when you insert a new figure, you must give it a unique name, here Ref. Pic.1, right by the HTML tag figure (default is a label), then you can refer to it as in regular HTML. | ||
| - | <note important> | + | <note important> |
| + | |||
| + | <note important> | ||
| < | < | ||
| - | {{: | + | {{: |
| </ | </ | ||
| </ | </ | ||
| - | Because we intend to use portrait rather than landscape layouts in printed books, please consider preparing diagrams as landscape ones rather than portrait. Eventually, portrait diagrams, images, and graphics could be rotated 90 degrees | + | Because we intend to use portrait rather than landscape layouts in printed books, please consider preparing diagrams as landscape ones rather than portrait. Eventually, portrait diagrams, images, and graphics could be rotated 90 degrees |
| + | |||
| + | <note important> | ||
| + | A video presenting work with figures, tables and references is here: | ||
| + | {{ youtube> | ||
| ===== Tables ===== | ===== Tables ===== | ||
| Line 127: | Line 102: | ||
| | cell span || | | cell span || | ||
| </ | </ | ||
| - | and refereed | + | and referred |
| < | < | ||
| <table Ref.Tab.1.1> | <table Ref.Tab.1.1> | ||
| Line 136: | Line 111: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | Our Dokuwiki has installed the table editor plugin, so once you create and save the page with a table, you can edit it in a simpler way using the GUI editor. | ||
| ===== Equations ===== | ===== Equations ===== | ||
| Line 144: | Line 121: | ||
| ===== Code ===== | ===== Code ===== | ||
| - | Code examples | + | Code examples |
| %%< | %%< | ||
| Line 235: | Line 212: | ||
| < | < | ||
| - | If some chapters | + | If some chapters |
| < | < | ||
| + | |||
| + | ===== Parts to exclude from the PDF generator ===== | ||
| + | To exclude part of the content (i.e. link lists by the end of the chapter) | ||
| + | wrap a source code using the WRAP tags: | ||
| + | < | ||
| + | <WRAP excludefrompdf> | ||
| + | |||
| + | Some content is to be present in the Dokuwiki but not to be printed in PDF. | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | ===== Common language settings ====== | ||
| + | Please use UK English, not US English; thus, e.g. use UK's " | ||
| + | |||
| + | Use depersonated form, e.g. "in this chapter, details of drone security systems are presented" | ||
| + | |||
| + | ===== Book printing to PDF remarks ===== | ||
| + | On top of the ToC, there is a link for the PDF version of the contents and another to generate a new one. The book is not generated automatically, | ||
| + | |||
| + | <note tip> | ||
| + | ===== Useful tools ===== | ||
| + | |||
| + | If you want to print just one page as proper PDF, you can use a DW2PDF plugin. Just add in the end of page URL a command: | ||
| + | < | ||
| + | |||