Going into a little more detail (was: Re: DocBook)

Jesse Tie Ten Quee highos at highos.com
Wed Nov 15 08:17:30 PST 2000


(btw, thx Gerard, this is just an updated process of actually getting it
working, nothing all that more special then what he has allready posted ;)

You can either pick up the packages from
www2.linuxfromscratch.org/docbook/ or from there official sites.

OpenJade: http://openjade.sourceforge.net
    package, http://download.sourceforge.net/openjade/openjade-1.3.tar.gz

DocBook DTD: http://www.oasis-open.org/docbook/
    package, http://www.oasis-open.org/docbook/sgml/4.1/docbk41.zip
    tarball, http://quasar.highos.com/LFS/docbook/docbook-DTD-4.1.tar.gz

DocBook Stylesheets: http://nwalsh.com/docbook/dsssl/
    package, http://nwalsh.com/docbook/dsssl/db159.zip
    tarball, http://quasar.highos.com/LFS/docbook/docbook-dsssl-1.59.tar.gz

and http://www2.linuxfromscratch.org/docbook/entities.tar.bz2 (no idea
where this came from, Gerard?)


   ./configure && make && make install
   cp -R dsssl /usr/share/jade-dsssl

DocBook DTD:

    unpack it and move it to /usr/share/docbook-dtd/

DocBook SSSL:

    unpack it ahd move it to /usr/share/dsssl/


    unpack it and move all files to /usr/share/docbook-dtd/

In one of your Bash configuration files (/etc/profile:~/.bashrc)

export SGML_CATALOG_FILES=/usr/share/docbook-dtd/docbook.cat
export SGML_CATALOG_FILES=$SGML_CATALOG_FILES:/usr/share/dsssl/catalog
export SGML_CATALOG_FILES=$SGML_CATALOG_FILES:/usr/share/jade-dsssl/catalog

Download the LFS SGML source

Unpack it and edit LFS-BOOK-2.4.2-SGML/intel.sgml and change:

<!DOCTYPE book PUBLIC "-//OASIS/DTD DocBook V3.1//EN" [


<!DOCTYPE book PUBLIC "-//OASIS/DTD DocBook V4.1//EN" [

You have to make this change right now, as Gerard is using V3.1 of the
DocBook DTD.

now copy LFS-BOOK-2.4.2-SGML/lfs.dsl to /usr/share/dsssl/html/lfs.dsl

Right now, this will work just fine, but to get rid of all those errors
edit /usr/share/docbook-dtd/docbook.cat and change:

DTDDECL "-//OASIS//DTD DocBook V4.1//EN" "docbook.dcl"


-- DTDECL "-//OASIS/DTD DocBook V4.1//EN" "docbook.dcl" --

(note: the -- before and after is commenting this line out)

Now, lets see if this all worked;

openjade -t sgml -d /usr/share/dsssl/html/lfs.dsl

It should junk't along for a bit, and you should be left with an HTML
version of the book, voila.

That's it, if you have trouble post, best way to fix them =)

Jesse Tie Ten Quee - highos at highos dot com

Unsubscribe: send email to alfs-docs-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message

More information about the alfs-discuss mailing list