This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Re: XML Editors
- From: Joachim Ziegler <ziegler at mpi-sb dot mpg dot de>
- To: Steinar Bang <sb at dod dot no>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 05 May 2003 12:43:47 +0200
- Subject: Re: [docbook-apps] Re: XML Editors
- References: <20030426115135.GA12131@nic.fr> <Pine.LNX.4.44.0304261225090.31688-100000@dell> <m3r87kfpad.fsf@home.lan> <3EB281FF.8020108@mpi-sb.mpg.de> <87el3h5bs3.fsf@doohan.bang.priv.no>
Steinar Bang wrote:
Joachim Ziegler <ziegler@mpi-sb.mpg.de>:
I'm also using Emacs+psgml.
What version of Emacs? (`M-x emacs-version RET')
GNU Emacs 21.1.2 (sparc-sun-solaris2.8, X toolkit, Xaw3d scroll bars) of
2001-10-22 on mpii-ww
XEmacs 21.1 (patch 14) "Cuyahoga Valley" [Lucid] (sparc-sun-solaris2.9)
of Wed Mar 27 2002 on watford-71
What version of psgml? (`M-x psgml-version RET')
Hmmm... there is no such command. And no other starting with prefix
"psgml". Doing "M-x describe-mode" I get
XML mode:
Major mode derived from `sgml-mode' by `define-derived-mode'.
Does that mean, that I don't use psgml-mode at all?
In .emacs I say:
(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t)
(autoload 'xml-mode "psgml" "Major mode to edit XML files." t)
But I've followed the installing instructions of the psgml-package...
On what platform?
SunOS paris 5.9 Generic_112233-04 sun4u sparc SUNW,Sun-Fire-15000
What's your sgml-catalog-files setting? (`C-h v sgml-catalog-files RET')
What's your sgml-ecat-files setting? (`C-h v sgml-ecat-files RET')
I don't use catalogs. These variables are not set.
Is your psgml byte compiled?
Yes, I've byte-compiled it for Emacs and for Xemacs.
Are we talking just the DocBook XML DTD here? Or do your problems
occur with other DTDs as well?
No, I'm only talking about DocBook. I haven't used any other DTD yet.
Mine look like this:
<!--
Local Variables:
sgml-parent-document: ("master-file.xml" "article" "section")
End:
-->
I've tried that also.
<!--
Local Variables:
mode: xml
sgml-parent-document:("LEDATutorium.xml" "book" "chapter")
When Xemacs starts up, it says:
(2) (local-variables/warning) File local-variables error: Symbol's
function definition is void: char-table-parent
In my case the <section> is in master-file.xml, but the body of the
<section> is in the smaller piece.
So are my <book> and my <chapter>s.
This mechanism only works for small documents (at least on my
machine.) but not when the documents get large. i don't know how to
fix this.
To be more precise: My chapters have about 250kB.
This problem I've never seen. Are you running an alpha-release or CVS
snapshot? Sounds like a serious bug.
No. not an alpha-release AFAIK.
If you can find a reproducible (small) test case, you should post it
as a bug.
Where should I post it?
Many greetings,
Joachim
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org