Boost logo

Boost :

Subject: Re: [boost] [QuickBook] missing prev/next
From: Lorenzo Caminiti (lorcaminiti_at_[hidden])
Date: 2010-12-20 21:31:56

On Sun, Dec 19, 2010 at 11:44 AM, Paul A. Bristow
<pbristow_at_[hidden]> wrote:
>> -----Original Message-----
>> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
>> On Behalf Of Daniel James
>> Sent: Sunday, December 19, 2010 2:41 PM
>> To: boost_at_[hidden]
>> Subject: Re: [boost] [QuickBook] missing prev/next
>> On 17 December 2010 13:35, Lorenzo Caminiti <lorcaminiti_at_[hidden]> wrote:
>> >
>> > I have generate the Boost.Units documentatiom using Boost.QuickBook
>> > from the latest Boost release 1.45.0 but the HTML pages are missing
>> > the prev and next page links. I only have the up and home links in the
>> > navbar.
>> >
>> > How can I get the prev and next links to show? Do I need to enable
>> > some XLS configuration in the Jamfile?
> Are you quite sure that the next.png and prev.png files are present where
> they should be (with home.png ... of course)?
> (I've managed to fail to get them in the right place with my faulty docs
> builds - with the symptom you describe).

Yes, I have the next/prev.png together with home.png:

$ ls /cygdrive/c/Program\ Files/boost/boost_1_45_0/doc/src/images/
alert.png callouts caution.svg home.png important.png next.png
 next_disabled.png note.svg prev.svg smiley.png tip.svg
     toc-minus.png up.png up_disabled.png warning.svg
blank.png caution.png draft.png home.svg important.svg next.svg
 note.png prev.png prev_disabled.png tip.png
toc-blank.png toc-plus.png up.svg warning.png

Here is the HTML generated by QuickBook (you can see the path of
home.png is the same as the `ls` above):

<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<link rel="stylesheet"
<meta name="generator" content="DocBook XSL-NS Stylesheets V1.76.1">
<link rel="home" href="../index.html" title="Boost.Local 0.0.1 (development)">
<link rel="up" href="../index.html" title="Boost.Local 0.0.1 (development)">
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084"
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277"
height="86" src="C:%5CPROGRA~1%5Cboost%5Cboost_1_45_0/boost.png"></td>
<td align="center"><a
<td align="center"><a
<td align="center"><a
<td align="center">FAQ</td>
<td align="center"><a
<div class="spirit-nav">
<a accesskey="u" href="../index.html"><img
alt="Up"></a><a accesskey="h" href="../index.html"><img
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="boost_local.tutorial"></a><a class="link"
href="tutorial.html" title="Tutorial">Tutorial</a>

      This section illustrates the basic library features that support all local
      functions, local blocks, and local exits.

**Is there any way I can pullout debug info from XSL or similar?**

I looked at navbar.xsl and I see code that test is `count($prev)>0`
but I am really not familiar with this XSL stuff...

      <div class = "spirit-nav">
         <!-- prev -->
         <xsl:if test = "count($prev)>0"><a accesskey = "p">
            <xsl:attribute name = "href"><xsl:call-template name =
               <xsl:with-param name = "object" select = "$prev"/>
            <xsl:call-template name = "navig.content">
               <xsl:with-param name = "direction" select = "'prev'"/>

Thanks a lot!


Boost list run by bdawes at, gregod at, cpdaniel at, john at