Emacs error

Dave Pawson davep at dpawson.co.uk
Sun Sep 5 10:37:44 UTC 2004


On Sun, 2004-09-05 at 00:34, tuxxer wrote:
> Whenever I run `C-c C-p` to parse the DTD, I get "External entity
> CHAPTER not found".  Can any one explain why?  And perhaps suggest a
> fix?


Yes, either as Karsten says,
or the emacs way;

Add


<!--
     Local Variables:
     mode: xml
     sgml-parent-document: ("../dir/root.xml" "chapter")
     End:
   -->

That tells psgml that the file root.xml holds the 'chapter' element
that this file is a part of?

See the psgml doco for details,
but basically this just links this file with the parent
that has the doctype declaration.


-- 
Regards DaveP.
XSLT&Docbook  FAQ
http://www.dpawson.co.uk/xsl






More information about the fedora-docs-list mailing list