
On Sun, Dec 19, 2010 at 11:44 AM, Paul A. Bristow <pbristow@hetp.u-net.com> wrote:
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Daniel James Sent: Sunday, December 19, 2010 2:41 PM To: boost@lists.boost.org Subject: Re: [boost] [QuickBook] missing prev/next
On 17 December 2010 13:35, Lorenzo Caminiti <lorcaminiti@gmail.com> 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): <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Tutorial</title> <link rel="stylesheet" href="C:%5CPROGRA~1%5Cboost%5Cboost_1_45_0/doc/src/boostbook.css" type="text/css"> <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)"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <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 href="C:%5CPROGRA~1%5Cboost%5Cboost_1_45_0/index.html">Home</a></td> <td align="center"><a href="C:%5CPROGRA~1%5Cboost%5Cboost_1_45_0/libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="C:%5CPROGRA~1%5Cboost%5Cboost_1_45_0/more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="u" href="../index.html"><img src="C:%5CPROGRA~1%5Cboost%5Cboost_1_45_0/doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="C:%5CPROGRA~1%5Cboost%5Cboost_1_45_0/doc/src/images/home.png" alt="Home"></a> </div> <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> </h2></div></div></div> <p> This section illustrates the basic library features that support all local functions, local blocks, and local exits. </p> ... **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 = "href.target"> <xsl:with-param name = "object" select = "$prev"/> </xsl:call-template></xsl:attribute> <xsl:call-template name = "navig.content"> <xsl:with-param name = "direction" select = "'prev'"/> </xsl:call-template> </a></xsl:if> Thanks a lot! -- Lorenzo