This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: .emacs
- To: Susan Blackford <susan at cs dot utk dot edu>
- Subject: Re: DOCBOOK: .emacs
- From: Serge Wroclawski <serge at tux dot org>
- Date: Mon, 11 Dec 2000 15:55:39 -0500 (EST)
- Cc: docbook at lists dot oasis-open dot org
The problem is I still get the following error message when I use tab to
get spacing:
External entity ARTICLE not found
Public identifier -//OASIS//DTD DocBook V3.1//EN
That's besides the fact I already have this in my .emacs file:
(setq sgml-custom-dtd
'(
("HTML" "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 3.2 Final//EN'>"
sgml-omittag nil sgml-shorttag nil)
("linuxdoc"
"<!DOCTYPE LINUXDOC PUBLIC '-//LinuxDoc//DTD LinuxDoc 96//EN'>"
sgml-omittag nil sgml-shorttag nil)
("docbook_article"
"<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V3.1//EN">'>"
sgml-omittag nil sgml-shorttag nil)
("docbook_book"
"<!DOCTYPE BOOK PUBLIC '-//Davenport//DTD DocBook V3.0//EN'>"
sgml-omittag nil sgml-shorttag nil)
))
- Serge Wroclawski
On Mon, 11 Dec 2000, Susan Blackford wrote:
> Hi,
> A friend of mine uses DocBook and Emacs, and here is what he does:
>
> I do not have any PSGML config in my .emacs, I put everything in a emacs
> config add-on in the files. Something like :
>
> <!-- Keep this comment at the end of the file
> Local variables:
> mode: sgml
> sgml-omittag:t
> sgml-shorttag:t
> sgml-minimize-attributes:nil
> sgml-always-quote-attributes:t
> sgml-indent-step:2
> sgml-indent-data:t
> sgml-parent-document:nil
> sgml-default-dtd-file:"thesis.ced"
> sgml-exposed-tags:nil
> sgml-local-catalogs:("/usr/lib/sgml/catalog")
> sgml-local-ecat-files:nil
> End:
> -->
>
> The tags used for spacing are :
> > sgml-indent-step:2
> > sgml-indent-data:t
>
> Hope this helps.
> Susan
>
>
> Serge Wroclawski wrote:
> >
> > Hello there,
> >
> > I'm a new DocBook user, and I want to use (X)Emacs for my text editing. I
> > know this can be done with the PSGML mode, but all the .emacs samples I've
> > seen for this don't seem to work for me (they either come up with errors,
> > or they don't do the spacing).
> >
> > All I really want is the spacing to be done for me.
> >
> > Would any Emacs user care to please share thier .emacs configuration as
> > far as PSGML is concerned?
> >
> > Thank you,
> >
> > - Serge Wroclawski
>