This is the mail archive of the
davenport@berkshire.net
mailing list for the Davenport project.
DAVENPORT: "Using a Split Document" with Emacs/PSGML
- To: davenport@berkshire.net
- Subject: DAVENPORT: "Using a Split Document" with Emacs/PSGML
- From: "M.-A. DARCHE" <ma.darche@stellarx.com>
- Date: Thu, 29 Jul 1999 13:39:54 +0200
- References: <199907221133.NAA11956@ezili.sis.pasteur.fr>
- Reply-To: davenport@berkshire.net
Hello,
I'm a beginner when it comes to emacs. I've always used vim before.
I have started to use emacs/psgml to write sgml documents.
I need help on "Using a Split Document".
"Using a Split Document" is a very important topic to easily browse
through big sgml sources.
The problem is that I am not skilled enough to get the
sgml-parent-document feature of PSGML work, as described at:
http://www.lysator.liu.se/~lenst/about_psgml/psgml.html#SEC9
So concretely, I have a separate *.sgml file for each chapter
of a book.
How should I specify psgml which DTD to use, when editing one
of those separate files ?
Here is the main file: memoire.sgml
------------------------------------------------------------
<!DOCTYPE BOOK PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
<!ENTITY Introduction SYSTEM "introduction.sgml">
]>
<book>
&Introduction;
</book>
------------------------------------------------------------
Here is a file for a chapter: introduction.sgml
------------------------------------------------------------
<chapter>
<title>Introduction</title>
<para></para>
</chapter>
------------------------------------------------------------
And here is my .emacs file:
------------------------------------------------------------
; -*- Emacs-Lisp -*-
(custom-set-variables
'(case-replace nil)
'(case-fold-search nil)
'(font-lock-use-default-fonts nil t)
'(font-lock-use-default-colors t t)
'(sgml-set-face (quote highlight) t)
'(sgml-doctype (quote memoire\.sgml) t)
'(sgml-parent-document (quote memoire\.sgml book chapter chapter) t)
'(auto-save-default nil)
'(make-backup-files nil))
------------------------------------------------------------
I would be grateful if anyone could help me with this.
Best regards,
--
----------------------------------------------------------------------
Marc-Aurčle DARCHE -- graviton@multimania.com, membre fondateur AFUL
Association Francophone des Utilisateurs de Linux / Logiciels Libres
*** Personal Site -- http://www.multimania.com/graviton ***
*** AFUL -- http://www.aful.org ***
Marc-Aurčle DARCHE -- graviton@multimania.com, AFUL founder member
French-speaking Linux and Free Software Users' Association
----------------------------------------------------------------------