1,15 → 1,16 |
LFS Book Conversion Tools Installation Instructions |
Les instructions d'installation des outils de conversion du livre LFS |
|
After downloading the CVS source, there are some things that need to be set up |
on your computer if you want to convert the XML source into something easier to |
read (e.g. HTML, TXT, PS or PDF). If you are interested in this, then keep |
reading. If you are only interested in editing the XML source for re- |
submission to the lfs-book or lfs-dev mailing lists, then you do not need this |
document. Instead, you need to read the LFS Editor's Manual. See the LFS |
website at http://www.linuxfromscratch.org for more information. |
Après avoir téléchargé les sources du CVS, certains points doivent être |
configuré sur votre ordinateur si vous souhaitez convertir les sources XML en |
quelque chose de facile à lire (par exemple du HTML, TXT, PS ou PDF). Si vous |
êtes intéressé par cela, continuez à lire. Si vous êtes seulement intéressé par |
l'édition des sources XML pour une nouvelle soumission sur les listes de |
diffusion lfs-book ou lfs-dev, alors vous n'avez pas besoin de ce document. À |
la place, vous devez lire le manuel des éditeurs LFS. Voir le site web LFS sur |
http://www.linuxfromscratch.org pour plus d'informations. |
|
------------------------------------------------------------------------------- |
If all you want to do is convert XML to HTML install the following: |
Si vous souhaitez seulement convertir le XML en HTML, installez ce qui suit : |
|
* libxml2 |
- http://www.linuxfromscratch.org/blfs/view/cvs/general/libxml2.html |
31,26 → 32,27 |
su -c "make install" |
|
------------------------------------------------------------------------------- |
If you want to be able to convert the book into PDF as well, then you will need |
the FOP package. This takes an XSL-FO file (created with libxslt which you |
already installed) and converts it to PDF. Additionally you will need |
the Java Advanced Imaging (JAI) library from |
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 |
(you'll need either the JDK .bin or JRE .bin file dependent on your |
particular Java setup). |
(vous aurez besoin du fichier JDK .bin ou du fichier JRE .bin suivant votre |
configuration particulière de Java). |
|
- http://www.apache.org/dist/xml/fop/fop-0.20.5-bin.tar.gz |
|
Install FOP by running: |
Installez FOP en lançant : |
|
cd /opt && |
tar -xzvf /usr/src/fop-0.20.5-bin.tar.gz && |
mv fop-0.20.5 fop |
|
Install JAI by running: |
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 |
|
Now set JAVA_HOME, FOP_HOME and PATH to values appropriate to your system. |
Maintenant, configurez JAVA_HOME, FOP_HOME et PATH avec des valeurs |
appropriées pour votre système. |