10,7 → 10,7 |
http://www.linuxfromscratch.org pour plus d'informations. |
|
------------------------------------------------------------------------------- |
Si vous souhaitez seulement convertir le XML en HTML, installez ce qui suit : |
Si vous souhaitez seulement convertir le XML en HTML, réalisez ce qui suit : |
|
* libxml2 |
- http://www.linuxfromscratch.org/blfs/view/cvs/general/libxml2.html |
23,22 → 23,24 |
|
* DocBook XSL Stylesheets |
- http://www.linuxfromscratch.org/blfs/view/cvs/pst/docbook-xsl.html |
- de plus, créez un lien de |
/usr/share/xml/docbook/xsl-stylesheets-1.65.1 vers |
/usr/share/xml/docbook/xsl-stylesheets-current |
|
* HTML Tidy - http://tidy.sourceforge.net/src/tidy_src.tgz |
cd /usr/share/xml/docbook/ && |
ln -s xsl-stylesheets-1.65.1 xsl-stylesheets-current |
|
/bin/sh build/gnuauto/setup.sh && |
./configure --prefix=/usr && |
make && |
su -c "make install" |
|
* HTMLTidy |
- http://tidy.sourceforge.net/ |
|
L'installation de HTMLTidy est un simple `./configure --prefix=/usr && \ |
make && make install` |
|
------------------------------------------------------------------------------- |
Si vous voulez aussi être capable de convertir le livre en PDF, alors vous |
aurez besoin du package FOP. Ceci prend un fichier XSL-FO (créé avec libxslt |
que vous avez déjà installé) et le convertit en PDF. En plus, vous aurez besoin |
de la bibliothèque Java Advanced Imaging (JAI) disponible sur |
http://java.sun.com/products/java-media/jai/downloads/download-1_1_2.html |
(vous aurez besoin du fichier JDK .bin ou du fichier JRE .bin suivant votre |
configuration particulière de Java). |
que vous avez déjà installé) et le convertit en PDF : |
|
- http://www.apache.org/dist/xml/fop/fop-0.20.5-bin.tar.gz |
|
48,11 → 50,5 |
tar -xzvf /usr/src/fop-0.20.5-bin.tar.gz && |
mv fop-0.20.5 fop |
|
Installez JAI en lançant : |
|
chmod u+x /path/to/jai-1_1_2-lib-linux-i586-jdk.bin && |
cd $JAVA_HOME && |
/path/to/jai-1_1_2-lib-linux-i586-jdk.bin |
|
Maintenant, configurez JAVA_HOME, FOP_HOME et PATH avec des valeurs |
appropriées pour votre système. |