aamehl | 9 Aug 2006 08:04
Picon
Favicon

aliasing tags?

Hi all,

I was wondering how possible this would be.

I want to have emacs/nxml alias the tags so that a user doesn't see
the actual docbook/xhtml etc elements but a marker. (I know who needs
such a thing, but I have so "I am scared of tags people)

Additionally I would like to map the Return key to (once enable that
way) put down the default tag (as defined) for that element.

For example:

<section1><title></title>{Return} would a <para></para> with the
cursor between the start and end tag.

Another return would put down another <para></para> of course
additional tags would need to be entered explicitly.

The same for lists with Return laying down the list item plus para tag
unless explicitly stopped.

Is this at all possible with emacs/nxml?

Thanks,
Aaron

 
Yahoo! Groups Links

(Continue reading)

Chris Chiasson | 13 Aug 2006 09:25

share your xinclude enabled DocBook 5 rnc grammar?

I am in the process of switching to db5. Given (the generality of)
RELAX NG and the requirements of nxml mode, my guess is that (at
least) someone has written a db5 schema extension that allows
xi:include to occurr anywhere in db5 document. If you have written
such an extension of db5 and you are inclined to share it, I beg you
to do so.
Thank you,

--

-- 
http://chris.chiasson.name/

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/

<*> To unsubscribe from this group, send an email to:
    emacs-nxml-mode-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Norman Walsh | 14 Aug 2006 15:30
Favicon
Gravatar

Re: share your xinclude enabled DocBook 5 rnc grammar?

/ "Chris Chiasson" <chris <at> chiasson.name> was heard to say:
|     <div id="ygrp-text">
|             <p>I am in the process of switching to db5. Given (the generality of)<br>
| RELAX NG and the requirements of nxml mode, my guess is that (at<br>
| least) someone has written a db5 schema extension that allows<br>
| xi:include to occurr anywhere in db5 document. If you have written<br>
| such an extension of db5 and you are inclined to share it, I beg you<br>
| to do so.<br>

That's part of the standard 5.0 distribution. For example,

  http://docbook.org/xml/5.0b7/rng/docbookxi.rnc

                                        Be seeing you,
                                          norm

--

-- 
Norman Walsh <ndw <at> nwalsh.com> | Everything should be made as simple as
http://nwalsh.com/            | possible, but no simpler.
Chris Chiasson | 14 Aug 2006 20:58

Re: share your xinclude enabled DocBook 5 rnc grammar?

Funny and humiliating :-]

On 8/14/06, Norman Walsh <ndw <at> nwalsh.com> wrote:
> / "Chris Chiasson" <chris <at> chiasson.name> was heard to say:
> |     <div id="ygrp-text">
> |             <p>I am in the process of switching to db5. Given (the generality of)<br>
> | RELAX NG and the requirements of nxml mode, my guess is that (at<br>
> | least) someone has written a db5 schema extension that allows<br>
> | xi:include to occurr anywhere in db5 document. If you have written<br>
> | such an extension of db5 and you are inclined to share it, I beg you<br>
> | to do so.<br>
>
> That's part of the standard 5.0 distribution. For example,
>
>   http://docbook.org/xml/5.0b7/rng/docbookxi.rnc
>
>                                         Be seeing you,
>                                           norm
>
> --
> Norman Walsh <ndw <at> nwalsh.com> | Everything should be made as simple as
> http://nwalsh.com/            | possible, but no simpler.
>
>
>

--

-- 
http://chris.chiasson.name/

 
(Continue reading)


Gmane