Learn about DokuWiki
Learn about DokuWiki
Making a satisfactorily structured dokuwiki site to export nicely as a printed document is not hard, provided you follow certain directions:
The most important precaution is to render often, and realize errors before you've gone deep into the mud.
The traditional page order for books, as suggested by common practice 1), is the following:
Latex documents are structured according to the following hierarchy 2):
The most straight forward way to structure a website is to have quite a few articles, organized into areas of knowledge. When articles are too long, you may want to split them into sections:
To export such a structure into a latex book using the plugin create a separate top page with a content similar to:
===== H2 or H3 A Preface Chapter ===== Write here introductory information about your book. ===== H2 or H3 Another preface chapter ===== In case you feel your book needs more introduction. ====== H1 Title of your book ====== ===== H2 Mathematics ===== * [[mathematics:natural-numbers|The Natural numbers]] * [[mathematics:real-numbers|The Real numbers]] ==== H3 The Arithmetic ==== * [[mathematics:arithmetic:summation|Summation]] * [[mathematics:arithmetic:substraction|Substraction]] ===== H2 Physics ===== * [[physics:thermodynamics|Thermodynamics]] ===== H2 Biology ===== * [[biology:invertebrate|The Invertebrate]] * [[biology:vertebrate|The Vertebrate]]
H1 marks the starting of the main matter. The preceding
H2 are preface chapters. Following
H2 are mapped as parts. Standalone links are always one level below the preceding heading. Standalone links below a
part are chapters.
To split a chapter into multiple dokuwiki pages, you have two options
H3heading to mark a chapter level, so stand-alone links underneath will be sections. I've illustrated this with the Arithmetic chapter.
====== H1 Chapter title ====== * [[physics:thermodynamics:first-law|The first law of thermodynamics]] * [[physics:thermodynamics:second-law|The second law of thermodynamics]]
I advise to separate the online top page from the book top page:
splitting into smaller bits, and yet find your articles too long. If that's the case, and you don't want to revise your ambitions, you may have multiple books and still one single home page.