This is the mail archive of the docbook-tools-discuss@sourceware.org mailing list for the docbook-tools project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: docbook 2 html with images


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>And why should the images be precisely in the same directory as the
>>>docbook source ?
>>
>>Where else would they be?
> 
> 
> For example, at my place, they are in images/ ...
Does your docbook link to them with the 'images' in the path?

In my case the Blender guide is not just referring to images but images
under subdirectories so that the src looks like
src="boo/bar/baz/image.png" in the resulting html.  the original docbook
files use
ref="boo/bar/baz/image.png" format="png"

>>if they are being referred to in the docbook 
>>files and they are not external?
> 
> 
> In fact, they could be anywhere.
> 
> You would at least need to pass a parameter like --images-dir to your script. 
> That could default to ".".

That's fine but I'm not sure that it makes sense.  How could the docbook
stuff use images from anywhere without specifiying where that is in the
ref tag?
And if it is specified it results in an <img src= after conversion to html?
And if it can be found by the docbook stuff why wouldn't it be findable
by the html conversion stuff and my utility as well?

- --
JT Morée
PC Xperience, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD5SWrucZ4lMT2d5IRAozpAJ9OmUPYieDy7mjvklI+7GER7dwb/gCfVDOh
7beUIIQiHvezgZAbSee+g14=
=a617
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]