10.0
10.0-rc1
10.1
10.1-rc1
11.0
11.0-rc1
11.0-rc2
11.0-rc3
11.1
11.1-rc1
11.2
11.2-rc1
11.3
11.3-rc1
12.0
12.0-rc1
12.1
12.1-rc1
12.2
12.2-rc1
6.0
6.1
6.1.1
6.3
6.4
6.5
6.6
6.7
6.8
7.0
7.1
7.2
7.3
7.4
7.5
7.5-systemd
7.6
7.6-systemd
7.7
7.7-systemd
7.8
7.8-systemd
7.9
7.9-systemd
8.0
8.1
8.2
8.3
8.4
9.0
9.1
arm
bdubbs/gcc13
ml-11.0
multilib
renodr/libudev-from-systemd
s6-init
trunk
xry111/arm64
xry111/arm64-12.0
xry111/clfs-ng
xry111/lfs-next
xry111/loongarch
xry111/loongarch-12.0
xry111/loongarch-12.1
xry111/loongarch-12.2
xry111/mips64el
xry111/multilib
xry111/pip3
xry111/rust-wip-20221008
xry111/update-glibc
Rev | Line | |
---|
[e8a0469] | 1 | LFS Book Conversion Tools Installation Instructions
|
---|
[2fadfb6] | 2 |
|
---|
[35c2fa60] | 3 | After downloading the CVS source, there are some things that need to be set up
|
---|
[e8a0469] | 4 | on your computer if you want to convert the XML source into something easier to
|
---|
| 5 | read (e.g. HTML, TXT, PS or PDF). If you are interested in this, then keep
|
---|
| 6 | reading. If you are only interested in editing the XML source for re-
|
---|
| 7 | submission to the lfs-book or lfs-dev mailing lists, then you do not need this
|
---|
| 8 | document. Instead, you need to read the LFS Editor's Manual. See the LFS
|
---|
[a52b2c2] | 9 | website at http://www.linuxfromscratch.org for more information.
|
---|
[2fadfb6] | 10 |
|
---|
[e8a0469] | 11 | -------------------------------------------------------------------------------
|
---|
| 12 | If all you want to do is convert XML to HTML perform the following:
|
---|
[2fadfb6] | 13 |
|
---|
[e8a0469] | 14 | * libxml2
|
---|
| 15 | - http://www.linuxfromscratch.org/blfs/view/cvs/general/libxml2.html
|
---|
[2fadfb6] | 16 |
|
---|
[287ea55] | 17 | * libxslt
|
---|
| 18 | - http://www.linuxfromscratch.org/blfs/view/cvs/general/libxslt.html
|
---|
[2fadfb6] | 19 |
|
---|
[e8a0469] | 20 | * DocBook DTD
|
---|
[991eda7] | 21 | - http://www.linuxfromscratch.org/blfs/view/cvs/pst/xml.html
|
---|
[2fadfb6] | 22 |
|
---|
[287ea55] | 23 | * DocBook XSL Stylesheets
|
---|
| 24 | - http://www.linuxfromscratch.org/blfs/view/cvs/pst/docbook-xsl.html
|
---|
[2fadfb6] | 25 |
|
---|
[e8a0469] | 26 | -------------------------------------------------------------------------------
|
---|
[287ea55] | 27 | If you want to be able to convert the book into PDF as well, then you will need
|
---|
| 28 | the FOP package. This takes an XSL-FO file (created with libxslt which you
|
---|
| 29 | already installed) and converts it to PDF:
|
---|
[2fadfb6] | 30 |
|
---|
[287ea55] | 31 | - http://www.apache.org/dist/xml/fop/fop-0.20.5-bin.tar.gz
|
---|
[2fadfb6] | 32 |
|
---|
[287ea55] | 33 | Install FOP by running:
|
---|
[2fadfb6] | 34 |
|
---|
[287ea55] | 35 | cd /opt &&
|
---|
| 36 | tar -xzvf /usr/src/fop-0.20.5-bin.tar.gz &&
|
---|
| 37 | mv fop-0.20.5 fop
|
---|
[2fadfb6] | 38 |
|
---|
[287ea55] | 39 | Now set JAVA_HOME, FOP_HOME and PATH to values appropriate to your system.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.