comparison kdiff3/doc/README @ 61:fc58f52e9bd6

Version 0.9.83
author joachim99
date Sun, 07 Mar 2004 10:12:57 +0000
parents
children efe33e938730
comparison
equal deleted inserted replaced
60:4732f709a8cb 61:fc58f52e9bd6
1 README for the Documentation
2 ============================
3 Author: Joachim Eibl, 2004-02-22
4
5 The following text contains some info about how the docs are created.
6 It helps me remember certain details. Most users probably aren't
7 interested in these things.
8
9 Each directory contains the documentation for a different translation.
10 The textual information is in the index.docbook of every subdirectory.
11
12 I wrote the English version in en/index.docbook. The other translations
13 were done by the KDE-Internationalization-Team. They are doing a great
14 job!
15
16
17 The command meinproc (which is part of KDE) can be used to convert this
18 file into HTML.
19
20 meinproc index.docbook
21
22 During normal installation on KDE a compressed file is generated.
23
24 meinproc --check --cache index.cache.bz2 index.docbook
25
26
27 As a service for non-KDE-users the en-directory also contains the
28 HTML-version of the English documentation.
29
30 After running meinproc the HTML-files contain some references to files
31 in help:/common/ which contains stylesheets and KDE-graphics which make
32 the result look much prettier. Because on non-KDE-systems this is not
33 available, I placed a copy of these files in doc/en/common.
34 To correct the references, I run the following command, which removes
35 the "help:/"-part of the references, and only the "common/"-part remains.
36
37 for i in *.html; do sed -i "s/help:\///g" $i; done
38
39 (sed-option "-i" means in-place, "s/orig/repl/" is the replacement-command,
40 "g" replaces every occurance in the line, not only the first.)
41
42 The screenshots were made with the English KDE-version and therefore are
43 placed in the en-directory. But since for the other translations no new
44 screenshots were made yet, they only contain links to the English
45 screenshots. These links are created en-bloc with this command. (But
46 first you must cd into each subdirectory.)
47
48 for i in `ls ../en | grep png`; do ln -s ../en/$i $i; done
49