This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

need help with emacs psgml local variables to link anexternal entity to it's parent


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a book.xml which includes a toc etc. where the chapters are included 
as external entiry refs (eg. chapter1.xml, chapter2.xml etc.). I remember 
seeing and myabe even using PSGML''s local varibale section at the base of 
the chapter?.xml documents in a <!-- --> comment to link the chapter to it's 
parent document (ie. book.xml).

I set my PSGML catalog files up correctly -- parse DTD works for documents 
starting with the DOCTYPE declaration, but it doesn't work for my PSGML local 
variabl section chapter documents. This is what I've been using:

<?xml version="1.0"?>
<chapter>
.
.
.
</chapter>
<!--
     Local Variables:
     mode: sgml
     sgml-indent-data: t
     sgml-omittag: nil
     sgml-always-quote-attributes: t
     sgml-parent-document: ("book.sgml" "set" "book" "chapter")
     End:
- -->

Am I missing some setting in the local variable section? Parse DTD gives be 
an "External entity CHAPTER not found" error. If someone has an example of 
what they do, that would probably help me.

Thanks,

Matthew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE78EMZ81EGm8xqnEMRAiVuAJ4s+WUS0Y8k4XpzGAeUjCVzrQdrwwCaAvy1
XOMosyzTcGEQgsda/1xRAp8=
=YFa6
-----END PGP SIGNATURE-----

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]