Hi guys,
If you like to edit the docbook documentation files,
please read the next guidelines first.
btw.
Richard i'm still working at the doc's ;) , when i'm ready if will notify you.
1)
If you like to edit the docbook files, please contact me first,
maybe somebody else might working already at the doc files.
There are two reasons for this:
- i might *uncommit* your work by accident,
since usually i only commit *big changes* and not small issues
- merging 2 docbook files is sometimes *a hell of a job* and takes
a lot of time (I prefer not to do that :-)
So i personally prefer that only one person is
working at the docs, and not multiple persons.
ofcource: if you take notes of things that needs to be edited
allows that more than one person works at the same time.
2)
docbook file are difficult to read with all the tags,
so for proofreading produce an HTML version,
and if you find some issues, open the the coreesponding
docbook file and fix it.
(don't fix the HTML files, it's *useless*)
$ cp krusader_kde3/doc/en/*.docbook ~/foodir
$ cp krusader_kde3/pics/en/*.png ~/foodir
~/foodir>$ meinproc index.docbook
The latter command will produce the HTML files, maybe the stylesheets
are not ok, but for a proofread it's maybe better to have no
stylesheets at all, so that you can focus on the text :)
3)
Don't skrew up the human readability of the docbook files with your editor.
Explained more in detail at below.
Please test first your favorite editor, often they have
automatic formatting of text enabled, if this is active
you will *screw up the formatting of the text* and it
will kill the human readabiltiy of the docbook file.
To skrew up the human readability you need just click the save button :-)
To *fix the human readability* you will need many hours ... :(
So i consider this important since i have skrewed up
the human readability too many times in the past :-) ,
and Richard and Terry encountered the same problem too.
It's very easy to test your editor.
Open a docbook file with your editor (e.g. Krusader editor, kwrite, ...),
installation.docbook is a good candidate, since this file is quite *complex*
and "Save as" installation_bis.docbook
- the fileszize of both docbook files must stay the same
- $ diff installation.docbook installation_bis.docbook
may not report any difference
If the above 2 points are not ok, it means that some automatic formatting is
active and that means that your editor will *skrew up the human readablily*.
For info:
These are the settings for the Krusader editor:
a)
Settings->Configure Editor->Editing
disable "Static Word Wrap"
b)
Settings->Configure Editor->Indendation
*disable automatic indendation
*disable indendation with spaces
c)
Settings->Configure Editor->View Defaults
disable dynamic wordwrap for readability (recommended)
What does Franks means with human readable ? :-)
Well if the *manual indendation* is skrewed up.
Human readable
-------------------
<screenshot>
<screeninfo>&krusader; Logo</screeninfo>
<mediaobject>
<imageobject> bla bla bla </imageobject>
<imageobject> bla bla bla </imageobject>
</mediaobject>
</screenshot>
-------------------
Killed human readbility
-------------------
<screenshot><screeninfo>&krusader; Logo</screeninfo><mediaobject>
<imageobject><imagedata fileref="krusader_title.png"
format="PNG"/></imageobject>
<imageobject><imagedata fileref="krusader_title.png"
format="EPS"/></imageobject>
<textobject><phrase>&krusader;
Logo</phrase></textobject></mediaobject></screenshot>
-------------------
both will compile, but the latter is verry annoying to read by humans.
I dit made a short version of the human readable version,
because the *e-mail max number of characters per line* was skrewing up the
human readablility :-)
btw1.
i have made (again :-) some docbook files more human readable
http://cvs.sourceforge.net/viewcvs.py/krusader/krusader_kde3/doc/en/
"better human readability and some minor fixes (part1)"
index.docbook, introduction.docbook and using-krusader.docbook (partial)
btw2.
this is a draft for the *docbook guidlines* for the Wiki
thanks a lot,
Frank