Chapter 10. Set up DocBook
Note
For reasons I forget, we need at least two custom files to run DocBook xml to html.
-
Local dir to hold files
mkdir ~/.schema
-
Get the latest schema
Download Docbook.rnc version 5.1 to
~/.schema/docbook.rnc
-
Copy the locating rules
cp ~/Dropbox/Basic/new_machine/linux/docbook/schemas.xml ~/.schema
Note
linux/docbook/schemas.xml
source<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0"> <namespace ns="http://projectmallard.org/1.0/" uri="mallard-1.0.rnc"/> <namespace ns="xi" uri="xiincludedummy.rnc"/> <documentElement prefix="" localName="article" typeId="DocBook"/> <documentElement prefix="" localName="book" typeId="DocBook"/> <typeId id="DocBook" uri="docbookxi.rnc"/> </locatingRules>