This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Problems with psgml and split documents
- From: Joachim Ziegler <ziegler at mpi-sb dot mpg dot de>
- To: DocBook-Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 25 Feb 2003 10:50:27 +0100
- Subject: DOCBOOK-APPS: Problems with psgml and split documents
Hello,
I have got two annoying problems with psgml:
1) As my document grows larger and larger, I try to split it into
several entities as proposed in The Definite Guide.
As long as the files are as simple as
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE book
PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"/KM/usr/ziegler/DocBook/DocBookXML4.2/docbookx.dtd"
[
<!ENTITY chapter1 SYSTEM "chapter1.xml">
<!ENTITY chapter2 SYSTEM "chapter2.xml">
]>
<book>
&chapter1;
&chapter2;
</book>
and
<?xml version="1.0" encoding="ISO-8859-1" ?>
<chapter>
<title>chapter 1</title>
<para>First Paragraph</para>
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: xml
sgml-parent-document:("book.xml" "chapter")
End:
-->
everything works fine. But in my real document, chapter 1 and chapter 2
are much larger. psgml becomes somehow confused and offers *every*
element of DocBook to be inserted at *every* place when pressing C-c
C-e. Pressing the right mouse button while holding down the Shift-key
instead (an alternative to C-c C-e) gives me "no valid element at this
point" in the status line.
2) When I insert the value of an attribute, e.g. by C-c C-a, all
uppercase letters I enter are translated immediately to their lower case
versions.
From time to time, some values of attributes are translated to their
lowercase versions "automagically". I don't know exactly when or why
this happens or what I'm doing wrong there.
Has anyone had the same problems before?
I've observed this behaviour with Emacs 21.1.2 and Xemacs 21.1, psgml
version 1.2.5.
I've byte-compiled psgml from within both Emacs and Xemacs.
Greetings,
Joachim