Debian Codegraph @

src/doc/old-manual/README

raw
1 Instructions to edit/build this book
2 ====================================
3
4 This is the recommended way to edit this manual. It is the one I found
5 most convenient both under Linux and OS X.
6
7 * Install the xmlto package. You can do it in almost any Linux machine
8 and also under OS X using the Fink packages.
9
10 * Install Emacs (Linux) or Aquamacs (OS X).
11
12 * Make sure you have the nxml-mode package. This is available in some
13 Linux distributions and comes for free with Aquamacs.
14
15 * In the nxml-mode you should replace the Docbook schemas, which go
16 only up to version 4.2. These are the steps to do so:
17
18 - Go to http://www.docbook.org/schemas/4x.html
19
20 - Download the RELAX NG schema. It will suffice with docbook-rng-4.4.zip
21
22 - Go to the place where nxml stores its schema files. In Debian/Ubuntu
23 it is /usr/share/emacs/site-lisp/nxml-mode/schema, in Aquamacs it is
24 in /Applications/Aquamacs.app/Content/Resources/site-lisp/nxml-mode/schema.
25
26 - Make a backup copy of these schemas.
27
28 - Unzip the previous package directly on top of the directory mentioned before.
29
30 After these steps, you should be able to edit the manual. To build it,
31 ensure that the "xmlto" program is in some of the directories listed
32 in the PATH environment variable and type "make" from the command
33 line. This will build the HTML version.