[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs minor mode for DocBook



Gregory Leblanc wrote:
> 
> > -----Original Message-----
> > From: Feloy [mailto:[email protected]]
> > Sent: Sunday, June 11, 2000 10:54 AM
> > To: Gregory Leblanc
> > Cc: [email protected]
> > Subject: Re: Emacs minor mode for DocBook
> >
> > Gregory Leblanc wrote:
> > >
> > > Is this going to be something to extend the already
> > existing SGML/DocBook
> > > tools, like psgml and the DocBook major mode?
> >
> > It will certainly be a good companion to psgml.
> >
> > But I don't know about a docbook major mode. Could you tell me more
> > about ?
> 
> ok, here's pretty much everything I know.  It's an emacs major mode, written
> by Norm Walsh ((one of?) the DocBook god(s)) specifically for writing
> DocBook using Emacs.  When Norm announced it, he said that it should
> probably have been a minor-mode to psgml, but he just hadn't written it that
> way.  I don't think he's done much/any work on it since the first version,
> but I'm sure you could ask him questions about it.  URL is:
> http://www.nwalsh.com/emacs/docbookide/index.html
>         Greg

The Docbook mode, like the psgml mode, are intended to work with
elements and attributes, and some other *low level* things.

What I would like to do is a minor mode (using the PSGML mode), which
deals with some higher level entities, like an header, a section, a list
and its items, a figure, a key sequence, and so on.

As an example, the functions I have written at this time are :

   howto-new-document
   howto-insert-section
   howto-insert-itemized-list
   howto-insert-numbered-list
   howto-insert-figure
   howto-insert-email
   howto-insert-key-sequence
   howto-insert-quote
   howto-insert-url
  

All these functions query through the minibuffer, when needed, some
information, like the title, the author firstname, surname and email,
the pubdate and the abstract for howto-new-document.

This way, the author of an howto when he uses one of these functions,
knows that the insertion will be correct for an howto.

For example, howto-insert-figure uses the <imageobject> construct,
instead of the deprecated <figure> construct, so an author, when he uses
this function, is in harmony with the recommandations of the group.

It could also be interesting to have some functions that /automagically/
insert searchable terms, indexed terms, ... when search tools and
indexation tools are defined.

howto.el : http://feloy.free.fr/howto.el
-
Philippe Martin


--  
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]