Mercurial > hg > easyhg-kdiff3
comparison kdiff3/doc/README @ 69:8febbfb1148c
KDiff3 0.9.89
author | joachim99 |
---|---|
date | Mon, 10 Apr 2006 08:40:51 +0000 |
parents | efe33e938730 |
children | f7dad0aa6146 |
comparison
equal
deleted
inserted
replaced
68:d7cafcda8c99 | 69:8febbfb1148c |
---|---|
3 Author: Joachim Eibl, 2004-02-22 | 3 Author: Joachim Eibl, 2004-02-22 |
4 | 4 |
5 The following text contains some info about how the docs are created. | 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 | 6 It helps me remember certain details. Most users probably aren't |
7 interested in these things. | 7 interested in these things. |
8 | |
9 Docbook references: | |
10 http://i18n.kde.org/doc/markup/index.html | |
11 http://opensource.bureau-cornavin.com/crash-course/index.html | |
8 | 12 |
9 Each directory contains the documentation for a different translation. | 13 Each directory contains the documentation for a different translation. |
10 The textual information is in the index.docbook of every subdirectory. | 14 The textual information is in the index.docbook of every subdirectory. |
11 | 15 |
12 I wrote the English version in en/index.docbook. The other translations | 16 I wrote the English version in en/index.docbook. The other translations |
17 The command meinproc (which is part of KDE) can be used to convert this | 21 The command meinproc (which is part of KDE) can be used to convert this |
18 file into HTML. | 22 file into HTML. |
19 | 23 |
20 meinproc index.docbook | 24 meinproc index.docbook |
21 | 25 |
22 During normal installation on KDE a compressed file is generated. | 26 If you prefer everything in one big HTML/Postscript/PDF-file: |
27 LANG=de_DE meinproc --check index.docbook --stylesheet /opt/kde3/share/apps/ksgmltools2/customization/kde-nochunk.xsl | |
28 (The LANG=de_DE prevents that meinproc writes the file in UTF-8 encoding, which isn't understood by html2ps.) | |
29 Create ps-file: | |
30 html2ps -D -u -n index.html >index.ps | |
31 (For the -D to work add the line "Ghostscript: 1;" in the "package"-section of file /usr/lib/html2ps/html2psrc.) | |
32 Create pdf-file: | |
33 ps2pdf index.ps index.pdf | |
23 | 34 |
35 The script createpdfdoc does these steps for all subdirectories. | |
36 | |
37 During normal installation on KDE a compressed file is generated: | |
24 meinproc --check --cache index.cache.bz2 index.docbook | 38 meinproc --check --cache index.cache.bz2 index.docbook |
25 | 39 |
26 | 40 |
27 As a service for non-KDE-users the en-directory also contains the | 41 As a service for non-KDE-users the en-directory also contains the |
28 HTML-version of the English documentation. | 42 HTML-version of the English documentation. |
49 | 63 |
50 Command to retrieve other translations from cvs: | 64 Command to retrieve other translations from cvs: |
51 | 65 |
52 cvs co kde-i18n/subdirs | 66 cvs co kde-i18n/subdirs |
53 for i in `cat kde-i18n/subdirs`; do cvs co kde-i18n/$i/docs/kdeextragear-1/kdiff3/index.docbook; done | 67 for i in `cat kde-i18n/subdirs`; do cvs co kde-i18n/$i/docs/kdeextragear-1/kdiff3/index.docbook; done |
68 | |
69 If a new translation is available, | |
70 - create a new directory, | |
71 - copy the index.docbook file there, | |
72 - copy a Makefile.am there and correct it, | |
73 - edit the doc/Makefile.am to include the new subdir, | |
74 - create the links for the graphics, | |
75 - and don't forget to run make -f Makefile.cvs in the top directory. | |
76 | |
77 | |
78 | |
79 |