unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Configure Emacs in nxml mode with DocBook support, but auto tag completion failed
@ 2012-09-24  2:24 edisonnee
  2012-09-24  7:32 ` edisonnee
       [not found] ` <mailman.9635.1348471991.855.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: edisonnee @ 2012-09-24  2:24 UTC (permalink / raw)
  To: Help-gnu-emacs

Hello,
I'm a technical writer and want to author DocBook document using Emacs 24.1.
I have configured schems.xml to allow Emacs recognize DocBook documents
following this post: http://infohost.nmt.edu/tcc/help/pubs/nxml/
The Emacs can recognoze the DocBook document and use the DocBook schema file
(docbook.rng, included with Emacs installation). I'm sure of that by typing
C-c C-s C-w. However,  all the features that are linked with schema don't
work. When I insert part of the start tag and hit C-ENTER or M-TAB to invoke
tag auto completion, it just showed 'no match' in the minibuffer. Anybody
know how to fix this?
Reagrds,



--
View this message in context: http://emacs.1067599.n5.nabble.com/Configure-Emacs-in-nxml-mode-with-DocBook-support-but-auto-tag-completion-failed-tp264985.html
Sent from the Emacs - Help mailing list archive at Nabble.com.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Configure Emacs in nxml mode with DocBook support, but auto tag completion failed
  2012-09-24  2:24 Configure Emacs in nxml mode with DocBook support, but auto tag completion failed edisonnee
@ 2012-09-24  7:32 ` edisonnee
       [not found] ` <mailman.9635.1348471991.855.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: edisonnee @ 2012-09-24  7:32 UTC (permalink / raw)
  To: Help-gnu-emacs

Hello,
I guess I've solved the problem. The DocBook schema file (docbook.rnc, which
is in RELAX NG Compact format) included with emacs 24.1 is translated from
DTD by Trang and is not originally developed, which may have caused the
glitch. I downloaded the original docbook.rnc from
http://docbook.org/xml/5.0/rng/ and copy it to the emacs schema directory
(/usr/share/emacs/24.1/etc/shema/, as on my local machine). And now the
world is at peace. I can now use the auto tag completion feature of emacs. 
Cheers,
 



--
View this message in context: http://emacs.1067599.n5.nabble.com/Configure-Emacs-in-nxml-mode-with-DocBook-support-but-auto-tag-completion-failed-tp264985p264997.html
Sent from the Emacs - Help mailing list archive at Nabble.com.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Configure Emacs in nxml mode with DocBook support, but auto tag completion failed
       [not found] ` <mailman.9635.1348471991.855.help-gnu-emacs@gnu.org>
@ 2012-10-13  9:01   ` j.c.derner
       [not found]   ` <mailman.10895.1350121098.855.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: j.c.derner @ 2012-10-13  9:01 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: Help-gnu-emacs

Hi,

I still have the problem with emacs 23.3.1 on ubuntu.
(GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-21 on batsu, modified by Debian)
I downloaded docbookxi.rnc and put it to a separate location (not in the emacs directory!) and referenced it in schema.xml.
Validation works correctly, 
but the completion command C-M-i always tells "no completion available".
Any ideas? (highly appreciated!)

Cheers
Jens

Am Montag, 24. September 2012 09:33:13 UTC+2 schrieb edisonnee:
> Hello,
> 
> I guess I've solved the problem. The DocBook schema file (docbook.rnc, which
> 
> is in RELAX NG Compact format) included with emacs 24.1 is translated from
> 
> DTD by Trang and is not originally developed, which may have caused the
> 
> glitch. I downloaded the original docbook.rnc from
> 
> http://docbook.org/xml/5.0/rng/ and copy it to the emacs schema directory
> 
> (/usr/share/emacs/24.1/etc/shema/, as on my local machine). And now the
> 
> world is at peace. I can now use the auto tag completion feature of emacs. 
> 
> Cheers,
> 
>  
> 
> 
> 
> 
> 
> 
> 
> --
> 
> View this message in context: http://emacs.1067599.n5.nabble.com/Configure-Emacs-in-nxml-mode-with-DocBook-support-but-auto-tag-completion-failed-tp264985p264997.html
> 
> Sent from the Emacs - Help mailing list archive at Nabble.com.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Configure Emacs in nxml mode with DocBook support, but auto tag completion failed
       [not found]   ` <mailman.10895.1350121098.855.help-gnu-emacs@gnu.org>
@ 2012-10-13 16:00     ` Jens C. Derner
  0 siblings, 0 replies; 4+ messages in thread
From: Jens C. Derner @ 2012-10-13 16:00 UTC (permalink / raw)
  To: gnu.emacs.help; +Cc: Help-gnu-emacs

Hi again,

still don't know the exact reason.
But for me - as I found out - C-RET did the job.
So things are fine for me now.

Cheers
Jens

Am Samstag, 13. Oktober 2012 11:01:18 UTC+2 schrieb (unbekannt):
> Hi,
> 
> 
> 
> I still have the problem with emacs 23.3.1 on ubuntu.
> 
> (GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-21 on batsu, modified by Debian)
> 
> I downloaded docbookxi.rnc and put it to a separate location (not in the emacs directory!) and referenced it in schema.xml.
> 
> Validation works correctly, 
> 
> but the completion command C-M-i always tells "no completion available".
> 
> Any ideas? (highly appreciated!)
> 
> 
> 
> Cheers
> 
> Jens
> 
> 
> 
> Am Montag, 24. September 2012 09:33:13 UTC+2 schrieb edisonnee:
> 
> > Hello,
> 
> > 
> 
> > I guess I've solved the problem. The DocBook schema file (docbook.rnc, which
> 
> > 
> 
> > is in RELAX NG Compact format) included with emacs 24.1 is translated from
> 
> > 
> 
> > DTD by Trang and is not originally developed, which may have caused the
> 
> > 
> 
> > glitch. I downloaded the original docbook.rnc from
> 
> > 
> 
> > http://docbook.org/xml/5.0/rng/ and copy it to the emacs schema directory
> 
> > 
> 
> > (/usr/share/emacs/24.1/etc/shema/, as on my local machine). And now the
> 
> > 
> 
> > world is at peace. I can now use the auto tag completion feature of emacs. 
> 
> > 
> 
> > Cheers,
> 
> > 
> 
> >  
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > --
> 
> > 
> 
> > View this message in context: http://emacs.1067599.n5.nabble.com/Configure-Emacs-in-nxml-mode-with-DocBook-support-but-auto-tag-completion-failed-tp264985p264997.html
> 
> > 
> 
> > Sent from the Emacs - Help mailing list archive at Nabble.com.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-13 16:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24  2:24 Configure Emacs in nxml mode with DocBook support, but auto tag completion failed edisonnee
2012-09-24  7:32 ` edisonnee
     [not found] ` <mailman.9635.1348471991.855.help-gnu-emacs@gnu.org>
2012-10-13  9:01   ` j.c.derner
     [not found]   ` <mailman.10895.1350121098.855.help-gnu-emacs@gnu.org>
2012-10-13 16:00     ` Jens C. Derner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).