On 03/11/10 14:45, Matthew Flatt wrote:
Oh, right. You can use the 'toc-hidden style on all the sub-parts, but I don't think there's currently a style on a part to leave out the "on this page" panel. We could add one, or you could add a bit of CSS to make "tocviewsublistonly" hidden.
Thanks again... I don't know if this is the intended behaviour, but... the following document has no TOC and no "on this page" at all as a result of: 'scribble --html' But with: 'scribble --htmls' I need [#:style '(no-toc toc-hidden)] on all parts (document title, foo and moo) if I want nothing to appear on the left of my pages. I don't know whether I should declare that this is inconsistent behaviour. It's certainly convenient for me to have to style only the title and first section. ----------------------------------------------------------------------- #lang scribble/base @title[#:style '(no-toc toc-hidden)]{Document Title} Introductory bit... @section[#:style '(toc-hidden)]{All about Foo} Foo is related to ``bar'' in some way. @section{All about Moo} Moo is the noise that cows make. ----------------------------------------------------------------------- Tim -- Tim Brown <tim.br...@cityc.co.uk> | City Computing Limited | T: +44 20 8770 2110 | City House, Sutton Park Road | F: +44 20 8770 2130 | Sutton, Surrey, SM1 2AE, GB | -----------------------------------------------------------------------| BEAUTY: What's in your eye when you have a bee in your hand | -----------------------------------------------------------------------' City Computing Limited registered in London No. 1767817. Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE VAT number 372 8290 34. _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users