OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC