forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason End <bensnep...@yahoo.com>
Subject Re: More krysalis problems (WAS: HEAD: Krysalis-skin: some images not copied)
Date Sat, 29 Nov 2003 21:08:55 GMT
Excellent, thanks for the work and tips. Everything
seems to be working for me now.

Jay

--- Ross Gardler <rgardler@wkwyw.net> wrote:
> Ross Gardler wrote:
> > Nicola Ken Barozzi wrote:
> > 
> >> Jason End wrote:
> >> ...
> >>
> >>> Apart from the image problem, Krysalis isn't
> >>> generating the mini-toc in the left menu, and in
> my
> >>> pages main index.html, it doesn't add a pdf
> image/link
> >>> (it does add the pdf link in other files)
> >>> I built the site using the default forrest skin
> and
> >>> both these elements work correctly, so I don't
> think
> >>> it's due to any errors in my xmls.
> 
> The mini-toc is only placed in the left menu if the
> skinconfig contains
> 
> <toc level="2" location="menu">
> 
> The default (for a seeded site) is to have the
> location set to "page" 
> meaning the mini-toc appears in the page.
> 
> I was also unaware of this, so I have added it to
> the docs with the 
> attached patch.
> 
> I'm going to look at the missing images problem now.
> 
> Ross
> 
> > Index: linking.xml
>
===================================================================
> RCS file:
>
/home/cvspublic/xml-forrest/src/documentation/content/xdocs/linking.xml,v
> retrieving revision 1.10
> diff -c -r1.10 linking.xml
> *** linking.xml	19 Sep 2003 07:07:33 -0000	1.10
> --- linking.xml	28 Nov 2003 17:04:50 -0000
> ***************
> *** 258,263 ****
> --- 258,296 ----
>   
>       </section>
>       
> +     <section id="toc_generation">
> +       <title>Table of Contents Generation</title>
> +       <p>Each page can have an automatically
> generated table of contents. This
> +       is created from the titles of each section
> in your xdoc. By default only
> +       sections up to two levels deep are included
> and the table of contents is
> +       displayed at the top of the page. However,
> you can configure this
> +       behaviour in
> <code>src/documentation/skinconf.xml</code> using
> the <code>toc</code>
> +       element.</p>
> +       
> +       <source><![CDATA[
> + <toc level="2" location="page"/>
> +       ]]></source>
> +       
> +       <ul>
> +         <li><strong><code>level</code></strong> -
> is the depth to which you
> +         want your table of contents to go. Setting
> it to 3 will therefore 
> +         include sections nested to 3 levels.
> Setting this to 0 will result in
> +         no table of contents being generated.</li>
> +         <li><strong><code>location</code></strong>
> - indicates where you
> +         want the table of contents to be rendered.
> It can be set to one of
> +         three values:
> +           <ul>
> +             <li><code>page</code> - the table of
> contents will be rendered
> +             at the top of the body of your
> page</li>
> +             <li><code>menu</code> - the table of
> contents will be rendered
> +             in the menu to the left of the body of
> the page</li>
> +             <li><code>menu, page</code> - table of
> contents will be rendered
> +             in both the page and the menu
> positions</li>
> +           </ul>
> +         </li>
> +       </ul>
> +     </section>
> +     
>       <section id="linking">
>         <title>Linking systems</title>
>   
> 


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

Mime
View raw message