[docbook-apps] olink problems
hi, i am using website 2.6.0 and docbook-xsl 1.72.0 i am trying to use olink as described in Ch. 29 of "Docbook XSL - The complete Guide" ( from which i just bought a copy as getting tired opening and scrolling the website at sagehill.net :-) While processing my webpages i am getting MANY errors like this: [...] Element div in namespace '' encountered in document, but no template matches. Element ttl in namespace '' encountered in div, but no template matches. Element xreftext in namespace '' encountered in div, but no template matches. Element document in namespace '' encountered in targetset, but no template matches. [...] It seems that somewhere the xsl tries to apply its templates to the website.database.xml file. I am not doing anything special beside a small dtd customization in website.dtd Everything works, even olinking but these errors are anoying and slow down the process. parts of my Makefile: autolayout.xml: layout.xml $(XSLTPROC) --output $@ $(WEBSITE_XSL)/autolayout.xsl $< make depends website.database.xml: autolayout.xml $(XSLTPROC) --output $@ $(WEBSITE_XSL)/website-targets.xsl $< depends: autolayout.xml echo $(HTDIR); $(XSLTPROC) --novalid --output depends \ --stringparam output-root $(HTDIR) \ $(WEBSITE_XSL)/makefile-dep.xsl \ $< %.html: autolayout.xml website.database.xml $(STYLEDIR)/*xsl $(XSLTPROC) \ --output $@ \ --novalid \ --stringparam autolayout-file $(CURDIR)/autolayout.xml \ --stringparam website.database.document $(CURDIR)/website.database.xml \ --stringparam output-root $(HTDIR) \ --stringparam l10n.gentext.default.language $(LANGUAGE) \ $(STYLEDIR)/main.xsl \ $(filter-out autolayout.xml %xsl,$^) Any hints? kind regards Janning - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [docbook-apps] XSL and tex equations
On date Wednesday 2007-05-09 13:11:54 +0200, [EMAIL PROTECTED] wrote: > Stefano Sabatini <[EMAIL PROTECTED]> wrote on Wed, 9 May > 2007 11:38:19 +0200: > > > I would like to avoid to use MathML, due to its need for a graphical > > editor, so using the compact tex notation > > You can have the best of both worlds (compact TeX-math syntax *and* > MathML output): use a TeX-math-to-MathML translator. There are several > options around. > > I have a setup that minimizes typing and manual intervention to almost > nothing, described here: > http://www.oasis-open.org/archives/docbook-apps/200402/msg00221.html > > Justus Thank you Jirka and Justus for the nice pointers and explanations. I'll explore the many ways you suggested to achieve it. Kind regards. -- Stefano Sabatini Linux user number 337176 (see http://counter.li.org) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [docbook-apps] Re: how to upgrade docbook-xml properly w.r.t. nxml-mode -> /usr/share/emacs/site-lisp/nxml-mode/schema/*.rnc
> Actually I would like to see, > that the *.rnc files in /usr/share/emacs/site-lisp/nxml-mode/schema/ get removed > and nxml-mode gets set up to make use of the *.rnc files in /usr/share/xml/docbook/schema/rng/5.0CR3/ or whatever new or old version one wants to make use of. > > Obviously your paths may vary, > mine are from a mixture of SUSE 10.1 through 10.3alpha... > and I actually assume, they are file system standard compliant, but who knows ... > From a Debian "unstable", I made the following changes in the nxml-mode package : 1 - in /usr/share/emacs/site-lisp/nxml/schemas I renamed docbook.rnc docbook.rnc_V4.2 2 - I copied docbook-5.0CR3/rng/docbook.rnc to /usr/share/emacs/site-lisp/nxml/schemas/docbook.rnc and tested ok : the person element admitted an xml:id attribute Then, while I had done the same for a Debian "testing", with the unsuccess I have reported, I reinstalled the nxml-mode package, and proceeded to the same modification, i.e. remplacing the original docbook schema (V4.2) to the V5.0CR3 ; and tested ok. No explanation : lisp is out of my reaches. Thanks for your help, jmt -- -- Informatique technique et scientifique http://www.dxdydz.net Jean-Marie Thomas mailto:[EMAIL PROTECTED] +33 (0)3 88 32 93 64 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [docbook-apps] Re: how to upgrade docbook-xml properly w.r.t.nxml-mode -> /usr/share/emacs/site-lisp/nxml-mode/schema/*.rnc
I didn't think of that:( Thanks for the tip!! > -Original Message- > From: Markus Hoenicka [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 10, 2007 10:12 AM > To: docbook-apps@lists.oasis-open.org > Subject: RE: [docbook-apps] Re: how to upgrade docbook-xml > properly w.r.t.nxml-mode -> > /usr/share/emacs/site-lisp/nxml-mode/schema/*.rnc > > Quoting "Johnson, Eric" <[EMAIL PROTECTED]>: > > > What I do is a bit of a pain, but it works > > > > I just reset the schema location to point at what ever *.rnc file I > > need to validate the document against. The pain is that you > must do it > > for each document you open at least once. > > > > Why don't you put that schema location into your ~/schemas.xml file? > This would allow Emacs to open all DocBook files with that > schema file. > > regards, > Markus > > -- > Markus Hoenicka > [EMAIL PROTECTED] > (Spam-protected email: replace the quadrupeds with > "mhoenicka") http://www.mhoenicka.de > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [docbook-apps] Re: how to upgrade docbook-xml properly w.r.t. nxml-mode -> /usr/share/emacs/site-lisp/nxml-mode/schema/*.rnc
Quoting "Johnson, Eric" <[EMAIL PROTECTED]>: What I do is a bit of a pain, but it works I just reset the schema location to point at what ever *.rnc file I need to validate the document against. The pain is that you must do it for each document you open at least once. Why don't you put that schema location into your ~/schemas.xml file? This would allow Emacs to open all DocBook files with that schema file. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [docbook-apps] Re: how to upgrade docbook-xml properly w.r.t. nxml-mode -> /usr/share/emacs/site-lisp/nxml-mode/schema/*.rnc
What I do is a bit of a pain, but it works I just reset the schema location to point at what ever *.rnc file I need to validate the document against. The pain is that you must do it for each document you open at least once. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 10, 2007 9:11 AM > To: docbook-apps@lists.oasis-open.org > Subject: [docbook-apps] Re: how to upgrade docbook-xml > properly w.r.t. nxml-mode -> > /usr/share/emacs/site-lisp/nxml-mode/schema/*.rnc > > > "JMT" == jmt <[EMAIL PROTECTED]> writes: > > JMT> Hi, list ! > > JMT> I use emacs + nxml mode in Debian ; this package > still uses the Docbook > JMT> schema from V4.2, so I replaced to the original > schema by the schema for > JMT> V5.0RC3. > > My nxml-mode installation keeps emacs mode and specifically > docbook related files (*.rnc -> "RELAG NG compact syntax") here: > > /usr/share/emacs/site-lisp/nxml-mode/schema/ > > So you are telling us, you took files from > /usr/share/xml/docbook/schema/rng/5.0CR3/ > and made them available to emacs nxml-mode, are you? > > JMT> Works like a charm, > > Does that mean "regarding to editing in nxml-mode" or > "regarding to creating HTML or PDF"? > > Do you really make use of new features in nxml-mode, i.e. > features of 5.0, that were not already available in 4.2? > > JMT> except that introducing a xml:id for "person" unvalidates the > JMT> document. > > I guess every new feature will unvalidate the document, as > long as the new and right *.rnc files are not properly made > available to nxml-mode. > > And how that is carried out -- maybe there is somebody else > to tell us how to do that, I mean to give us a recipe of "how > to upgrade docbook-xml properly w.r.t. nxml-mode -> > /usr/share/emacs/site-lisp/nxml-mode/schema/*.rnc". > > Actually I would like to see, > that the *.rnc files in > /usr/share/emacs/site-lisp/nxml-mode/schema/ get removed and > nxml-mode gets set up to make use of the *.rnc files in > /usr/share/xml/docbook/schema/rng/5.0CR3/ or whatever new or > old version one wants to make use of. > > Obviously your paths may vary, > mine are from a mixture of SUSE 10.1 through 10.3alpha... > and I actually assume, they are file system standard > compliant, but who knows ... > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[docbook-apps] Re: how to upgrade docbook-xml properly w.r.t. nxml-mode -> /usr/share/emacs/site-lisp/nxml-mode/schema/*.rnc
> "JMT" == jmt <[EMAIL PROTECTED]> writes: JMT> Hi, list ! JMT> I use emacs + nxml mode in Debian ; this package still uses the Docbook JMT> schema from V4.2, so I replaced to the original schema by the schema for JMT> V5.0RC3. My nxml-mode installation keeps emacs mode and specifically docbook related files (*.rnc -> "RELAG NG compact syntax") here: /usr/share/emacs/site-lisp/nxml-mode/schema/ So you are telling us, you took files from /usr/share/xml/docbook/schema/rng/5.0CR3/ and made them available to emacs nxml-mode, are you? JMT> Works like a charm, Does that mean "regarding to editing in nxml-mode" or "regarding to creating HTML or PDF"? Do you really make use of new features in nxml-mode, i.e. features of 5.0, that were not already available in 4.2? JMT> except that introducing a xml:id for "person" unvalidates the JMT> document. I guess every new feature will unvalidate the document, as long as the new and right *.rnc files are not properly made available to nxml-mode. And how that is carried out -- maybe there is somebody else to tell us how to do that, I mean to give us a recipe of "how to upgrade docbook-xml properly w.r.t. nxml-mode -> /usr/share/emacs/site-lisp/nxml-mode/schema/*.rnc". Actually I would like to see, that the *.rnc files in /usr/share/emacs/site-lisp/nxml-mode/schema/ get removed and nxml-mode gets set up to make use of the *.rnc files in /usr/share/xml/docbook/schema/rng/5.0CR3/ or whatever new or old version one wants to make use of. Obviously your paths may vary, mine are from a mixture of SUSE 10.1 through 10.3alpha... and I actually assume, they are file system standard compliant, but who knows ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [docbook-apps] random thanks
Agreed all the way, and thanks to all those contributing to this list for all the help I've received over the last year or two. This is random, but I was reading James Clark's blog and I thought about DocBook and how useful it has been to me. So, thank you (plural) for DocBook & associated software/documentation/stuff. -- http://chris.chiasson.name/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ron Catterall, Phd, DSc email: [EMAIL PROTECTED] Prolongacion de Hidalgo 140 http://catterall.net/ San Felipe del Agua tel: +52 951 520 1821 Oaxaca 68020 Mexico fax: +1 530 348 8309 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[docbook-apps] random thanks
This is random, but I was reading James Clark's blog and I thought about DocBook and how useful it has been to me. So, thank you (plural) for DocBook & associated software/documentation/stuff. -- http://chris.chiasson.name/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[docbook-apps] emacs + nxml (newcomer)
Hi, list ! I use emacs + nxml mode in Debian ; this package still uses the Docbook schema from V4.2, so I replaced to the original schema by the schema for V5.0RC3. Works like a charm, except that introducing a xml:id for "person" unvalidates the document. I am far from being a specialist of emacs - I use it almost mostly for xml authoring, psgml and now nxml - so it might be a lisp problem or some sort of, but I'm unable to solve it. Any clue ? Best regards, jmt -- -- Informatique technique et scientifique http://www.dxdydz.net Jean-Marie Thomas mailto:[EMAIL PROTECTED] +33 (0)3 88 32 93 64 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]