This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:iot-open:rules [2025/10/30 09:53] – raivo.sell | en:iot-open:rules [2026/02/12 10:22] (current) – raivo.sell | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Rules for book development ====== | ||
| + | |||
| + | ===== Table of Contents ===== | ||
| + | |||
| + | A book's table of contents page has all the linked pages it will use for its materials. If a page is not linked in there, it will not appear in the book. | ||
| + | <note important> | ||
| + | <note warning> | ||
| + | |||
| + | |||
| + | ==== 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 < | ||
| + | |||
| + | Example: | ||
| + | < | ||
| + | < | ||
| + | |||
| + | More of this is under the [[https:// | ||
| + | |||
| + | ===== Chapters and headers ===== | ||
| + | |||
| + | Place the top chapter (header level 1) title in six equation chars: | ||
| + | |||
| + | < | ||
| + | Each page should start from the highest chapter level. The PDF book generator will automatically shift it down by the starting position, e.g.: | ||
| + | |||
| + | 1. Introduction (page1) | ||
| + | 1.1 Definition of the problem (page2) | ||
| + | |||
| + | page1 starts with:\\ | ||
| + | < | ||
| + | |||
| + | page2 starts with:\\ | ||
| + | < | ||
| + | |||
| + | <note warning> | ||
| + | This is particularly important when using < | ||
| + | ==== Subchapter ==== | ||
| + | |||
| + | |||
| + | <note warning> | ||
| + | |||
| + | |||
| + | ===== References ===== | ||
| + | References should appear in the text as pointers e.g. < | ||
| + | |||
| + | < | ||
| + | |||
| + | |||
| + | If using the **RefNotes plugin** for structured or bibliographical references (e.g., Harvard or IEEE-style), | ||
| + | Otherwise, the same citation may appear with duplicated numbers such as `[2], [2]`. | ||
| + | |||
| + | To make each reference appear only once in the footer (as in proper academic formatting), | ||
| + | |||
| + | < | ||
| + | < | ||
| + | back-ref-format : none | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ===== Figures ===== | ||
| + | Figures with their captions should be placed using the [[http:// | ||
| + | <figure RefPic1> | ||
| + | {{: | ||
| + | < | ||
| + | </ | ||
| + | If a picture is too small to be seen inline, then use the link to open it as a separate page; otherwise, use //nolink//. | ||
| + | < | ||
| + | <figure Ref.Pic.1> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | Internal references to figures should be done with the figure number using [[http:// | ||
| + | As shown on 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 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 counterclockwise to fit into the printing layout. | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | A video presenting work with figures, tables and references is here: | ||
| + | {{ youtube> | ||
| + | ===== Tables ===== | ||
| + | |||
| + | Tables with their captions should be placed using the [[http:// | ||
| + | <table Ref.Tab.1.1> | ||
| + | < | ||
| + | ^ Header 1 ^ Header 2 ^ | ||
| + | | cell 1 | cell 2| | ||
| + | | cell span || | ||
| + | </ | ||
| + | and referred in the text to the same mechanism as figures, i.e.: “as shown in Table {{ref> | ||
| + | < | ||
| + | <table Ref.Tab.1.1> | ||
| + | < | ||
| + | ^ Header 1 ^ Header 2 ^ | ||
| + | | cell 1 | cell 2| | ||
| + | | cell span || | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | 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 ===== | ||
| + | |||
| + | Mathematical equations should be inserted as figures and referenced as figures. | ||
| + | |||
| + | |||
| + | |||
| + | ===== Code ===== | ||
| + | |||
| + | Code examples written within tags | ||
| + | |||
| + | %%< | ||
| + | |||
| + | < | ||
| + | |||
| + | <code c> | ||
| + | |||
| + | Code example here | ||
| + | |||
| + | </ | ||
| + | |||
| + | </ | ||
| + | |||
| + | Part of the code placed in the text '' | ||
| + | |||
| + | < | ||
| + | |||
| + | |||
| + | |||
| + | ===== Important information ===== | ||
| + | |||
| + | Tips, warnings, tricks and important facts should be introduced using [[https:// | ||
| + | |||
| + | < | ||
| + | <note warning> | ||
| + | <note tip>some useful tip for reades</ | ||
| + | <note important> | ||
| + | |||
| + | as below: | ||
| + | |||
| + | < | ||
| + | < | ||
| + | <note warning> | ||
| + | <note tip>some useful tip for reades</ | ||
| + | <note important> | ||
| + | </ | ||
| + | |||
| + | ===== Description of programming environment ===== | ||
| + | |||
| + | ==== Navigating in the menu ==== | ||
| + | |||
| + | While you write about menu options in software applications – write names of options in italic, i.e. like this one // | ||
| + | |||
| + | Option and suboption chains write with “/” (slash) character | ||
| + | |||
| + | |||
| + | |||
| + | < | ||
| + | |||
| + | |||
| + | ==== Buttons ==== | ||
| + | |||
| + | Write names of the buttons in square brackets, in bold. | ||
| + | |||
| + | |||
| + | **[open]** | ||
| + | |||
| + | < | ||
| + | **[open]** | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ==== Variables ==== | ||
| + | |||
| + | Names of variables referred from the program code written in italic, i.e. //Integer val1//. | ||
| + | |||
| + | < | ||
| + | |||
| + | |||
| + | |||
| + | ===== Citing ===== | ||
| + | |||
| + | Whole sentences cited write within parenthesis “I love DokuWiki.”, | ||
| + | < | ||
| + | “I love DokuWiki.” | ||
| + | </ | ||
| + | |||
| + | ===== Comments in the pages ===== | ||
| + | |||
| + | When you need some text to be hidden for the audience but let it exist there, use [[https:// | ||
| + | Simply put the text of the comment between slash-asterisk and asterisk-slash combination: | ||
| + | < | ||
| + | This is an example of the sentence whereas /*this text*/ is hidden | ||
| + | </ | ||
| + | This is an example of the sentence whereas /*this text*/ is hidden | ||
| + | |||
| + | If you need to exclude some section from PDF printed book file, use | ||
| + | < | ||
| + | |||
| + | If some chapters need to be excluded use the del tag | ||
| + | < | ||
| + | |||
| + | ===== 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: | ||
| + | < | ||