blob: 2f254ac0a12503293284763f2bb8f250f7f68170 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
Conversion of an XML-Dump to platformspecific help files
--------------------------------------------------------
1 INSTALLATION
The following programs are required:
- mwlib
- python
- python-lxml
- xsltproc
- unzip
- docbook-xsl-stylesheets
HHC-Installer depends on:
- wine
- cabextract
- wget
1.1 On GNU and UNIX
- Install wine
- Execute HHC/install_hhc.sh
1.2 On Windows
- Install HHC from http://go.microsoft.com/fwlink/?LinkId=14188
2 USAGE
See ./convert.py -h
For the correct operation, you need to modify htmlhelp.xsl to point to your
docbook-xsl-stylesheets installation, like:
--- a/helpcontent2/wiki-to-help/htmlhelp.xsl
+++ b/helpcontent2/wiki-to-help/htmlhelp.xsl
@@ -16,8 +16,8 @@
******************************************************************** -->
-<xsl:import href="xsl/html/chunk.xsl"/>
+<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/1.76.1/html/chunk.xsl"/>
<xsl:param name="htmlhelp.use.hhk" select="1"></xsl:param>
-<xsl:include href="xsl/htmlhelp/htmlhelp-common.xsl"/>
+<xsl:include href="/usr/share/xml/docbook/stylesheet/nwalsh/1.76.1/htmlhelp/htmlhelp-common.xsl"/>
</xsl:stylesheet>
3 LICENSE
The following applies to all files if not stated differently
- Licensed under GNU LGPLv3 or later / MPL
- Copyright 2011 Timo Richter
|