Re: [Boost-docs] [quickbook][boostbook] CSS & image files

Subject: Re: [Boost-docs] [quickbook][boostbook] CSS & image files
From: Daniel James (dnljms_at_[hidden])
Date: 2010-07-10 20:07:30


On 10 July 2010 18:30, Paul A. Bristow <pbristow_at_[hidden]> wrote:
>
> OK I suspected this, and it's usual, though I'm not clear why an absolute path is not allowed

In html, an absolute path won't work for anyone who's not using your computer.

> So I've got my blunderbuss out and tried everything I can think of to try to understand what is going on :-(
>
> <xsl:param>img.src.path=images
> file:///I:/boost-sandbox/tools/quick_auto_dox_index/libs/quick_auto_dox_index/doc/html/quick_auto_dox_index/images../my_image.jpg

You need a trailing slash after images. Docbook just concatenates
strings so it won't add one for you.

> <xsl:param>img.src.path=/images
> file:///images../my_image.jpg

Same again:

'/images' + '../my_image.jpg' = '/images../my_image.jpg'

> <xsl:param>img.src.path=./images/
> file:///I:/boost-sandbox/tools/quick_auto_dox_index/libs/quick_auto_dox_index/doc/html/quick_auto_dox_index/my_image.jpg

Are you looking at the paths in your browser? You need to look at the
html, the browser is resolving the paths for you so you're missing how
docbook is generating the paths e.g. if it generates
"images/../my_image.jpg", you're seeing "my_image.jpg". That's
probably why there's no 'images' in your path.

But this is getting nowhere, I need to see your Jamfile and quickbook
to see what you're doing.

Daniel


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC