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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: DOCBOOK: .emacs


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


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


Powered by eList eXpress LLC