[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Problems with <?dbhtml> and graphics.
Here is a bit more description of what goes on with XIncludes and graphics: http://www.sagehill.net/docbookxsl/ModularDoc.html#XIncludeGraphics Bob Stayton Sagehill Enterprises bobs@sagehill.net ----- Original Message ----- From: "Mauritz Jeanson" <mj@johanneberg.com> To: "'Christian-Josef Schrattenthaler'" <christian-josef@schrattenthaler.com>; <docbook-apps@lists.oasis-open.org> Sent: Thursday, February 21, 2008 10:08 AM Subject: RE: [docbook-apps] Problems with <?dbhtml> and graphics. >> -----Original Message----- >> From: Christian-Josef Schrattenthaler >> The images stays in the folder ,images_en', and all HTML >> files, which are in the root of my directory structure, have >> no problems, but if a HTML file is not in the root directroy >> the link to the images must be widened with a ,../' (or mor, >> to change in to the right directory), but the links are the >> same as in the DocBook-XML file. > > > I think it will work if you set the keep.relative.image.uris parameter to > 0. > The default value is 1, which means that relative image URIs are left > untouched. See > http://docbook.sourceforge.net/release/xsl/current/doc/html/keep.relative.im > age.uris.html > > In HTML files that are written to subdirectories, image URIs will be > prepended by one "../" string for each directory level. > > Your source document has no explicit base URI (there is no xml:base > attribute), and I think the parameter documentation could be clearer about > what the interpretation is in this case. A source document always has a > base > URI, but unless it is specified with an xml:base attribute, you don't have > access to it in XSLT 1.0. > > /MJ > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]