Re: [Boost-docs] Navigation buttons

Subject: Re: [Boost-docs] Navigation buttons
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2014-07-14 11:39:43


 

 

From: Boost-docs [mailto:boost-docs-bounces_at_[hidden]] On Behalf Of
Michael Shepanski
Sent: 14 July 2014 04:44
To: boost-docs_at_[hidden]
Subject: [Boost-docs] Navigation buttons

 

Hello!

I've put together a document with quickbook, and a boostbook.css file that I
copied from the boost distribution. There were several there so I chose the one
that gave the look I liked the best, and I'm attaching it here.

Now this works fine as long as I'm using Firefox to view the document locally on
my machine with with <file:///\\> "file://". In particular, I see the words
"Prev", "Up, "Home", and "Next" displayed neatly in the top-right and
bottom-right corner of each page. (I don't see all four words all the time, but
I always see the ones I should see, e.g. I see the "Next" button on every page
but the last.) That's all great.

But now, various problems:

1. If I use Internet Explorer with <file:///\\> "file://" each of these words
is accompanied by an icon that looks like a computer screen with a "X" on it.

2. When I upload the files to a web host and view them in Firefox with
<http://> "http://", then the words only appear some of the time. E.g., the
first time I view a page, its "Next" button doesn't appear. Yet when I click in
the place where it should be, the navigation action works. And then when I come
back to that page, it does appear.

3. When I use Internet Explore with <http://> "http://" then I get a
combination of problems 1 and 2. That is to say, I always see the ugly "X"
icons, but the accompanying text is unreliable in the same way as it is on
Firefox.

You can see the document here: http://quince-lib.com/index.html .

I'm guessing that the ugly "X" icons indicate a failed attempt to display arrows
for "Prev", "Up", and "Next", and a house shape for "Home". If you have a
solution that will display the arrows and house, then that would be great; but a
solution that gets the the words to show consistently would be fine too.

They do indeed L

You can investigate the cause using the right click, View Source option. The
home page shows <img src=" <view-source:http://quince-lib.com/images/next.png>
images/next.png" alt="Next">.

So you don't have next.png in the expected /images folder.

If you want a standalone document, then you need to provide a folder images with
the png files you use. You can copy from modular-boost\doc\src\images

If you intend it to be a Boost library, then using the 'standard' modular-boost
file structure with the documentation in /yourlibrary/doc then the
Boostbook.css provided will point to the main Boost images at

modular-boost\doc\src\images and everything works nicely.

HTH

Paul

 

---
Paul A. Bristow
Prizet Farmhouse
Kendal UK LA8 8AB
+44 01539 561830
 
 
 
 
 
 
 
 



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