* Re: [emacs-nxml-mode] Re: nxml-mode, docbook, xinclude [not found] ` <711a73df0908070426u3618680bsd46ba2286c84693d@mail.gmail.com> @ 2009-08-07 11:30 ` Lennart Borgman 2009-08-07 11:34 ` Dave Pawson 0 siblings, 1 reply; 8+ messages in thread From: Lennart Borgman @ 2009-08-07 11:30 UTC (permalink / raw) To: emacs-nxml-mode; +Cc: dave.pawson, Emacs-Devel devel On Fri, Aug 7, 2009 at 1:26 PM, Dave Pawson<dave.pawson@gmail.com> wrote: >> It is included in the nxml-mode that comes with Emacs 23. >> >> >>> docbook is available from sourceforge. With the schema >>> for v5, from which the rnc can be added to nxml-mode >>> with no problem. > > Then either pick up both versions, 4.5 and 5.0 (and keep > them up to date I guess) or link to where the schemas > can be picked up. Could you please explain how we should handle this in Emacs? (I have added Emacs Devel to the discussion.) ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: nxml-mode, docbook, xinclude 2009-08-07 11:30 ` [emacs-nxml-mode] Re: nxml-mode, docbook, xinclude Lennart Borgman @ 2009-08-07 11:34 ` Dave Pawson 2009-08-07 11:39 ` Lennart Borgman 0 siblings, 1 reply; 8+ messages in thread From: Dave Pawson @ 2009-08-07 11:34 UTC (permalink / raw) To: Lennart Borgman; +Cc: emacs-nxml-mode, Emacs-Devel devel 2009/8/7 Lennart Borgman <lennart.borgman@gmail.com>: > On Fri, Aug 7, 2009 at 1:26 PM, Dave Pawson<dave.pawson@gmail.com> wrote: > >>> It is included in the nxml-mode that comes with Emacs 23. >>> >>> >>>> docbook is available from sourceforge. With the schema >>>> for v5, from which the rnc can be added to nxml-mode >>>> with no problem. >> >> Then either pick up both versions, 4.5 and 5.0 (and keep >> them up to date I guess) or link to where the schemas >> can be picked up. > > Could you please explain how we should handle this in Emacs? (I have > added Emacs Devel to the discussion.) Just my point. I don't think this should be an emacs issue If you want docbook schema, html or any other schema the end user should pick up that schema from the source of that schema. Hence my earlier comments. I stated, the docbook v5 schema includes xinclude within it. which is what the OP wanted, or was missing -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/emacs-nxml-mode/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/emacs-nxml-mode/join (Yahoo! ID required) <*> To change settings via email: mailto:emacs-nxml-mode-digest@yahoogroups.com mailto:emacs-nxml-mode-fullfeatured@yahoogroups.com <*> To unsubscribe from this group, send an email to: emacs-nxml-mode-unsubscribe@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: nxml-mode, docbook, xinclude 2009-08-07 11:34 ` Dave Pawson @ 2009-08-07 11:39 ` Lennart Borgman 2009-08-07 11:47 ` Bruce Stephens 2009-08-07 11:51 ` Dave Pawson 0 siblings, 2 replies; 8+ messages in thread From: Lennart Borgman @ 2009-08-07 11:39 UTC (permalink / raw) To: Dave Pawson; +Cc: emacs-nxml-mode, Emacs-Devel devel On Fri, Aug 7, 2009 at 1:34 PM, Dave Pawson<dave.pawson@gmail.com> wrote: > 2009/8/7 Lennart Borgman <lennart.borgman@gmail.com>: >> On Fri, Aug 7, 2009 at 1:26 PM, Dave Pawson<dave.pawson@gmail.com> wrote: >> >>>> It is included in the nxml-mode that comes with Emacs 23. >>>> >>>> >>>>> docbook is available from sourceforge. With the schema >>>>> for v5, from which the rnc can be added to nxml-mode >>>>> with no problem. >>> >>> Then either pick up both versions, 4.5 and 5.0 (and keep >>> them up to date I guess) or link to where the schemas >>> can be picked up. >> >> Could you please explain how we should handle this in Emacs? (I have >> added Emacs Devel to the discussion.) > > Just my point. I don't think this should be an emacs issue > If you want docbook schema, html or any other schema > the end user should pick up that schema from the source > of that schema. Thanks. I see. I really think they should be part of Emacs distribution (as they are now) and wondered whether you have some suggestion regarding Docbook 4.5 and 5.0. There is now a schema for Docbook 4.2 in Emacs 22. I know nothing about how to distinguish those in Emacs. How should the schemas be named so that Emacs can pick the right version according to the spec in the Docbook xml file? > Hence my earlier comments. > > I stated, the docbook v5 schema includes xinclude within it. > > which is what the OP wanted, or was missing > > > > -- > Dave Pawson > XSLT XSL-FO FAQ. > Docbook FAQ. > http://www.dpawson.co.uk > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/emacs-nxml-mode/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/emacs-nxml-mode/join (Yahoo! ID required) <*> To change settings via email: mailto:emacs-nxml-mode-digest@yahoogroups.com mailto:emacs-nxml-mode-fullfeatured@yahoogroups.com <*> To unsubscribe from this group, send an email to: emacs-nxml-mode-unsubscribe@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: nxml-mode, docbook, xinclude 2009-08-07 11:39 ` Lennart Borgman @ 2009-08-07 11:47 ` Bruce Stephens 2009-08-07 11:51 ` Dave Pawson 1 sibling, 0 replies; 8+ messages in thread From: Bruce Stephens @ 2009-08-07 11:47 UTC (permalink / raw) To: emacs-devel Lennart Borgman <lennart.borgman@gmail.com> writes: [...] > I know nothing about how to distinguish those in Emacs. How should the > schemas be named so that Emacs can pick the right version according to > the spec in the Docbook xml file? See etc/schema/schemas.xml, which nXML reads to try to find the schema files. [...] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: nxml-mode, docbook, xinclude 2009-08-07 11:39 ` Lennart Borgman 2009-08-07 11:47 ` Bruce Stephens @ 2009-08-07 11:51 ` Dave Pawson 2009-08-07 11:58 ` Lennart Borgman 1 sibling, 1 reply; 8+ messages in thread From: Dave Pawson @ 2009-08-07 11:51 UTC (permalink / raw) To: Lennart Borgman; +Cc: emacs-nxml-mode, Emacs-Devel devel 2009/8/7 Lennart Borgman <lennart.borgman@gmail.com>: >>> Could you please explain how we should handle this in Emacs? (I have >>> added Emacs Devel to the discussion.) >> >> Just my point. I don't think this should be an emacs issue >> If you want docbook schema, html or any other schema >> the end user should pick up that schema from the source >> of that schema. > > Thanks. I see. > > I really think they should be part of Emacs distribution (as they are > now) and wondered whether you have some suggestion regarding Docbook > 4.5 and 5.0. There is now a schema for Docbook 4.2 in Emacs 22. 4.5 is the current Oasis standard. As I said, either keep up or simply tell people where docbook is. How many schemas are you going to try and manage? Suggest, if you want to track docbook schemas, you point people to the appropriate place, not fall n versions behind. > > I know nothing about how to distinguish those in Emacs. Perhaps that's another good reason not to attempt to provide docbook schemas for the emacs package you're delivering? How should the > schemas be named so that Emacs can pick the right version according to > the spec in the Docbook xml file? You need to see nxml-mode... the original. James explained it there. - Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/emacs-nxml-mode/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/emacs-nxml-mode/join (Yahoo! ID required) <*> To change settings via email: mailto:emacs-nxml-mode-digest@yahoogroups.com mailto:emacs-nxml-mode-fullfeatured@yahoogroups.com <*> To unsubscribe from this group, send an email to: emacs-nxml-mode-unsubscribe@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: nxml-mode, docbook, xinclude 2009-08-07 11:51 ` Dave Pawson @ 2009-08-07 11:58 ` Lennart Borgman 2009-08-07 12:17 ` Dave Pawson 0 siblings, 1 reply; 8+ messages in thread From: Lennart Borgman @ 2009-08-07 11:58 UTC (permalink / raw) To: Dave Pawson Cc: emacs-nxml-mode, Emacs-Devel devel, Stefan Monnier, Chong Yidong On Fri, Aug 7, 2009 at 1:51 PM, Dave Pawson<dave.pawson@gmail.com> wrote: > 2009/8/7 Lennart Borgman <lennart.borgman@gmail.com>: > >>>> Could you please explain how we should handle this in Emacs? (I have >>>> added Emacs Devel to the discussion.) >>> >>> Just my point. I don't think this should be an emacs issue >>> If you want docbook schema, html or any other schema >>> the end user should pick up that schema from the source >>> of that schema. >> >> Thanks. I see. >> >> I really think they should be part of Emacs distribution (as they are >> now) and wondered whether you have some suggestion regarding Docbook >> 4.5 and 5.0. There is now a schema for Docbook 4.2 in Emacs 22. > > 4.5 is the current Oasis standard. > As I said, either keep up or simply tell people where docbook is. > How many schemas are you going to try and manage? > > Suggest, if you want to track docbook schemas, you point people > to the appropriate place, not fall n versions behind. It is a very good point to show them where to get the newest version since Emacs and docbook schemas might not always be in sync. I think that should be in the documentation for nxml-mode in Emacs. But I think including schemas with Emacs is also very important. So I would suggest checking this for every new Emacs release (to Emacs Devel: Can we please put this in the to-do for new releases?). >> I know nothing about how to distinguish those in Emacs. > > Perhaps that's another good reason not to attempt to provide > docbook schemas for the emacs package you're delivering? > > How should the >> schemas be named so that Emacs can pick the right version according to >> the spec in the Docbook xml file? > > You need to see nxml-mode... the original. > James explained it there. Could you perhaps make a short summary? How do you yourself handle this for example? ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/emacs-nxml-mode/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/emacs-nxml-mode/join (Yahoo! ID required) <*> To change settings via email: mailto:emacs-nxml-mode-digest@yahoogroups.com mailto:emacs-nxml-mode-fullfeatured@yahoogroups.com <*> To unsubscribe from this group, send an email to: emacs-nxml-mode-unsubscribe@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: nxml-mode, docbook, xinclude 2009-08-07 11:58 ` Lennart Borgman @ 2009-08-07 12:17 ` Dave Pawson 2009-08-07 12:40 ` [emacs-nxml-mode] " Lennart Borgman 0 siblings, 1 reply; 8+ messages in thread From: Dave Pawson @ 2009-08-07 12:17 UTC (permalink / raw) To: Lennart Borgman Cc: emacs-nxml-mode, Emacs-Devel devel, Stefan Monnier, Chong Yidong 2009/8/7 Lennart Borgman <lennart.borgman@gmail.com>: > > Could you perhaps make a short summary? How do you yourself handle > this for example? > http://www.dpawson.co.uk/relaxng/nxml/schemaloc.html#d574e168 Full explanation in the documentation provided with the original nxml-mode from JC -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/emacs-nxml-mode/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/emacs-nxml-mode/join (Yahoo! ID required) <*> To change settings via email: mailto:emacs-nxml-mode-digest@yahoogroups.com mailto:emacs-nxml-mode-fullfeatured@yahoogroups.com <*> To unsubscribe from this group, send an email to: emacs-nxml-mode-unsubscribe@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [emacs-nxml-mode] Re: nxml-mode, docbook, xinclude 2009-08-07 12:17 ` Dave Pawson @ 2009-08-07 12:40 ` Lennart Borgman 0 siblings, 0 replies; 8+ messages in thread From: Lennart Borgman @ 2009-08-07 12:40 UTC (permalink / raw) To: Dave Pawson Cc: Chong Yidong, Emacs-Devel devel, Stefan Monnier, emacs-nxml-mode On Fri, Aug 7, 2009 at 2:17 PM, Dave Pawson<dave.pawson@gmail.com> wrote: > 2009/8/7 Lennart Borgman <lennart.borgman@gmail.com>: > >> >> Could you perhaps make a short summary? How do you yourself handle >> this for example? >> > > http://www.dpawson.co.uk/relaxng/nxml/schemaloc.html#d574e168 Thanks. So a doctypePublicId could be used to distinguish different Docbook versions? On the OASIS site I see that they do not distinguish rng files for different Docbook versions by file name, but by file path/location. Is that a convenient way in nxml-mode? Can you use for example <typeId id="DocBook4.5" uri="docbook/dokbook4.5.rnc"/> > Full explanation in the documentation provided with > the original nxml-mode from JC > > -- > Dave Pawson > XSLT XSL-FO FAQ. > Docbook FAQ. > http://www.dpawson.co.uk > ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-08-07 12:40 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <200806091145.04413.danc@merrillpress.com> [not found] ` <h5g13m+dvt4@eGroups.com> [not found] ` <711a73df0908062206lbfbaf4ax6bb63b2c560c966c@mail.gmail.com> [not found] ` <e01d8a50908070341u36ee0e42pdee29beb2b8596c@mail.gmail.com> [not found] ` <711a73df0908070349o44e61dc4n5b4c86447b2dd727@mail.gmail.com> [not found] ` <e01d8a50908070401v2f91662bma0fb0a60442ec62d@mail.gmail.com> [not found] ` <711a73df0908070426u3618680bsd46ba2286c84693d@mail.gmail.com> 2009-08-07 11:30 ` [emacs-nxml-mode] Re: nxml-mode, docbook, xinclude Lennart Borgman 2009-08-07 11:34 ` Dave Pawson 2009-08-07 11:39 ` Lennart Borgman 2009-08-07 11:47 ` Bruce Stephens 2009-08-07 11:51 ` Dave Pawson 2009-08-07 11:58 ` Lennart Borgman 2009-08-07 12:17 ` Dave Pawson 2009-08-07 12:40 ` [emacs-nxml-mode] " Lennart Borgman
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.