Switch to unified view

a/src/doc/user/xmlmake.sh b/src/doc/user/xmlmake.sh
...
...
12
#     source file to upper-case.
12
#     source file to upper-case.
13
#   - No simple way to produce pdf
13
#   - No simple way to produce pdf
14
14
15
# Wherever docbook.xsl and chunk.xsl live
15
# Wherever docbook.xsl and chunk.xsl live
16
# Fbsd
16
# Fbsd
17
XSLDIR="/usr/local/share/xsl/docbook/"
17
#XSLDIR="/usr/local/share/xsl/docbook/"
18
# Mac
18
# Mac
19
#XSLDIR="/opt/local/share/xsl/docbook-xsl/"
19
#XSLDIR="/opt/local/share/xsl/docbook-xsl/"
20
#Linux
20
#Linux
21
#XSLDIR="/usr/share/xml/docbook/stylesheet/docbook-xsl/"
21
XSLDIR="/usr/share/xml/docbook/stylesheet/docbook-xsl/"
22
22
23
dochunky=1
23
dochunky=1
24
test $# -eq 1 && dochunky=0
24
test $# -eq 1 && dochunky=0
25
25
26
# Remove the SGML header and uncomment the XML one + convert from iso-8859-1
26
# Remove the SGML header and uncomment the XML one + convert from iso-8859-1
...
...
48
    "$XSLDIR/html/chunk.xsl" \
48
    "$XSLDIR/html/chunk.xsl" \
49
    usermanual.xml
49
    usermanual.xml
50
50
51
# Produce the single file version
51
# Produce the single file version
52
eval xsltproc $commonoptions \
52
eval xsltproc $commonoptions \
53
    -o usermanual-xml.html \
53
    -o usermanual.html \
54
    "$XSLDIR/html/docbook.xsl" \
54
    "$XSLDIR/html/docbook.xsl" \
55
    usermanual.xml
55
    usermanual.xml
56
56
57
tidy -indent usermanual-xml.html > tmpfile 
57
tidy -indent usermanual-xml.html > tmpfile 
58
mv -f tmpfile usermanual-xml.html
58
mv -f tmpfile usermanual-xml.html