source: README@ 3383489

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3383489 was 21456e1, checked in by Larry Lawrence <larry@…>, 21 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
Line 
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
14 /usr/bin/openjade -t xml \
15 -d /usr/share/dsssl/docbook/html/blfs.dsl \
16 /usr/share/dsssl/docbook/dtds/decls/xml.dcl \
17 /path/to/index.xml
18
19
20
21XML to NOCHUNKS-HTML:
22--------------------
23The NOCHUNKS HTML version is one big HTML file:
24 /usr/bin/openjade -t sgml \
25 -V nochunks \
26 -d /usr/share/dsssl/docbook/html/blfs.dsl \
27 /usr/share/dsssl/docbook/dtds/decls/xml.dcl \
28 /path/to/index.xml > nochunks.html
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.