source: README@ 21456e1

10.0 10.1 11.0 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 21456e1 was 21456e1, checked in by Larry Lawrence <larry@…>, 18 years ago

update mozilla intro

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1192 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[f45b1953]1How do I convert these XML files to other formats like HTML, PF, PS
2and TXT? You need to have some software installed that deal with these
3conversions. Please read the INSTALL file how to install that software.
4Then come back to this file for examples how to convert these files
5into various other formats.
6
7XML to HTML:
8------------
9Create a directory in which you want to store the HTML files and cd into
10that directory. Now run:
11 mkdir introduction postlfs general connect basicnet server \
12 content x kde gnome xsoft multimedia pst preface \
13 appendices other
[21456e1]14 /usr/bin/openjade -t xml \
15 -d /usr/share/dsssl/docbook/html/blfs.dsl \
16 /usr/share/dsssl/docbook/dtds/decls/xml.dcl \
[5e19933]17 /path/to/index.xml
[f45b1953]18
19
20
21XML to NOCHUNKS-HTML:
22--------------------
23The NOCHUNKS HTML version is one big HTML file:
24 /usr/bin/openjade -t sgml \
[5e19933]25 -V nochunks \
[21456e1]26 -d /usr/share/dsssl/docbook/html/blfs.dsl \
27 /usr/share/dsssl/docbook/dtds/decls/xml.dcl \
[5e19933]28 /path/to/index.xml > nochunks.html
[f45b1953]29
30XML to TXT:
31-----------
32First create the NOCHUNKS HTML file, then convert by running:
33 /usr/bin/lynx -dump nochunks.html > output.txt
34
35XML to PS and PDF:
36------------------
37First create the NOCHUNKS HTML file, then convert by starting
38htmldoc. You can use the GUI and select the options. If you're
39satisfied with the default options you can run this command:
40
41 /usr/bin/htmldoc --book --firstpage p1 -v -t <type> \
42 -f <output> nochunks.html
43
44replace <type> by pdf13 to create a pdf file or replace <type> by ps3 to
45create a ps file. There are other pdf and ps levels, see the man page for
46possible other options. Replace <output> with the filename of the ps or
47pdf file that is to be generated.
48
Note: See TracBrowser for help on using the repository browser.