source: INSTALL@ 9ff34df3

6.0
Last change on this file since 9ff34df3 was 9ff34df3, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Updated INSTALL.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.0/BOOK@4284 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.1 KB
RevLine 
[e8a0469]1LFS Book Conversion Tools Installation Instructions
[2fadfb6]2
[35c2fa60]3After downloading the CVS source, there are some things that need to be set up
[e8a0469]4on your computer if you want to convert the XML source into something easier to
5read (e.g. HTML, TXT, PS or PDF). If you are interested in this, then keep
6reading. If you are only interested in editing the XML source for re-
7submission to the lfs-book or lfs-dev mailing lists, then you do not need this
8document. Instead, you need to read the LFS Editor's Manual. See the LFS
[a52b2c2]9website at http://www.linuxfromscratch.org for more information.
[2fadfb6]10
[e8a0469]11-------------------------------------------------------------------------------
12If all you want to do is convert XML to HTML perform the following:
[2fadfb6]13
[e8a0469]14* libxml2
[9ff34df3]15 - http://www.linuxfromscratch.org/blfs/view/svn/general/libxml2.html
[2fadfb6]16
[287ea55]17* libxslt
[9ff34df3]18 - http://www.linuxfromscratch.org/blfs/view/svn/general/libxslt.html
[2fadfb6]19
[e8a0469]20* DocBook DTD
[9ff34df3]21 - http://www.linuxfromscratch.org/blfs/view/svn/pst/xml.html
[2fadfb6]22
[9ff34df3]23* DocBook XSL Stylesheets
24 - http://www.linuxfromscratch.org/blfs/view/svn/pst/docbook-xsl.html
[a942c0a]25 - additionally create a link from
26 /usr/share/xml/docbook/xsl-stylesheets-1.65.1 to
27 /usr/share/xml/docbook/xsl-stylesheets-current
28
29 cd /usr/share/xml/docbook/ &&
30 ln -s xsl-stylesheets-1.65.1 xsl-stylesheets-current
[2fadfb6]31
[3042296]32* HTMLTidy
[9ff34df3]33 - http://www.linuxfromscratch.org/blfs/view/svn/general/tidy.html
34 Patch to fix an issue with <pre> tags when the pages are served
35 like application/xhtml+xml (not needed to see the pages locally)
36 - http://www.macana-es.com/tidy-041005-fix-pre-tags-for-xhtml-1.patch
[3042296]37
[e8a0469]38-------------------------------------------------------------------------------
[287ea55]39If you want to be able to convert the book into PDF as well, then you will need
40the FOP package. This takes an XSL-FO file (created with libxslt which you
41already installed) and converts it to PDF:
[2fadfb6]42
[287ea55]43 - http://www.apache.org/dist/xml/fop/fop-0.20.5-bin.tar.gz
[2fadfb6]44
[287ea55]45 Install FOP by running:
[2fadfb6]46
[287ea55]47 cd /opt &&
48 tar -xzvf /usr/src/fop-0.20.5-bin.tar.gz &&
49 mv fop-0.20.5 fop
[2fadfb6]50
[287ea55]51 Now set JAVA_HOME, FOP_HOME and PATH to values appropriate to your system.
Note: See TracBrowser for help on using the repository browser.