Table of Contents
How to edit this wiki
See DokuWiki syntax: http://www.dokuwiki.org/syntax
How to convert TWiki (CERN wiki) to DokuWiki
See the conversion tool here: http://www.dokuwiki.org/tips:twiki_to_dokuwiki_conversion
How to convert DokuWiki to TWiki
Could not find exactly how to do this, but it is still easy:
1) Replace the word:
code
by
verbatim
(just use any editor)
2) Headlines:
====== Level 1 Headline ====== ===== Level 2 Headline =====
should be:
---+ Level 1 Headline ---++ Level 2 Headline
3) Links will be almost identical:
[[URL | Title]]
should be:
[[URL][Title]]
Extra installed plugins
- http://www.dokuwiki.org/plugin:bookmark - to bookmark some place
- http://www.dokuwiki.org/plugin:math2 - just put equations
- http://www.dokuwiki.org/plugin:latex - for LaTeX equations!
- http://www.dokuwiki.org/plugin:refnotes - to add citations!
- http://www.dokuwiki.org/plugin:tag - to add tags!
- http://www.dokuwiki.org/plugin:note - to add notes!
- http://www.dokuwiki.org/plugin:ifauth hide parts of text
Putting equations
Try this:
<m>S(f)(t)=a_{0}+sum{n=1}{+infty}{a_{n} cos(n omega t)+b_{n} sin(n omega t)}</m> <m 8>delim{lbrace}{matrix{3}{1}{{3x-5y+z=0} {sqrt{2}x-7y+8z=0} {x-8y+9z=0}}}{ }</m> <m 18>delim{|}{{1/N} sum{n=1}{N}{gamma(u_n)} - 1/{2 pi} int{0}{2 pi}{gamma(t) dt}}{|} <= epsilon/3</m>
<m>S(f)(t)=a_{0}+sum{n=1}{+infty}{a_{n} cos(n omega t)+b_{n} sin(n omega t)}</m>
<m 8>delim{lbrace}{matrix{3}{1}3x-5y_z_0_sqrt_2_x-7y_8z_0_x-8y_9z_0}{ }</m>
<m 18>delim{|}1_n_sum_n_1_n_gamma_u_n_-_1_2_pi_int_0_2_pi_gamma_t_dt{|} ⇐ epsilon/3</m>
Showing a code on the web
Putting python code on the web:
- | example.py
F="Hello" print "This is a python code"
Protecting parts of the text
Use this style:
<ifauth !@user> <note important> Unregistered users have a limited access to this section. </note> </ifauth> <ifauth @user> You are a user of this wiki </ifauth>
This protects part of your text as shown below:
</note>
References
This example shows how to make references. More details can be found http://www.dokuwiki.org/plugin:refnotes:syntax
This is a sentence with a reference [(My first reference )].
This is a sentence with a reference [(My first reference)]. ~~REFNOTES~~
~~REFNOTES~~
Hiden text
If you ever wonder “should I add this detail since it may be very interesting to some readers, or shouldn't I since it would complicate a first reading?”, then you may be interested in this plugin. Indeed, you'll just have to write
<hidden click here if you want to know more>Since you want to know more, here is an explanation with more details […]</hidden>
and the complicated explanation won't clutter up the page, but will still be readable.
— Sergei Chekanov 2011/03/11 11:59