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] | [List Home]


Subject: Re: [docbook] DTD from extended RNC


At 2018-05-22T21:14:30+01:00, Dave Pawson wrote:

> Of note
>
> http://www.thaiopensource.com/download/
> May be of use.
> The original nxml-mode

Yes, I have checked out nxml-mode-20041004, the latest release from
there.  In the 13 years since that release, Emacs has changed quite a
lot.  I use Emacs from the master branch of the Emacs Git repository.
Rather than updating the old nXML code for that version of Emacs, I'll
work with the current nXML code, and see whether it loses any
functionality that was provided by the old code.

> written for xml + rnc, NOT xhtml.

I have written an article in DocBook 5.0, using the current nXML mode,
and I didn't have any problem with the mode, apart from the general
usability considerations that Peter Flynn has mentioned.

Even with the schema I posted here a couple of days ago, I get
completion on elements and attributes.  For instance, if I write "<" and
press `C-M-i' or `ESC-TAB' for the `completion-at-point' command, I get
a list of all the elements that are valid at that position in the
buffer.  `Company' mode makes it better; I type "<inf", and I get a
dropdown menu with the valid constructs to choose from ---
"informalexample", "informalfigure", etc; I type "<def", and the sole
valid element "definition" is filled in.  So, the current nXML mode
seems to work alright with XML schemas other than those of XHTML.

I think that, in the absence of XML experts currently contributing to
Emacs, the Emacs people are doing their best to maintain nXML mode.

Raghu.

--
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/


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