[racket] How to scribble HTML with no-toc

From: Tim Brown (tim.brown at cityc.co.uk)
Date: Wed Nov 3 10:00:52 EDT 2010

Matthew, thanks.

I wasn't appreciating the difference between the full TOC and
"on this page..." -- so when I provided a 'no-toc style, I didn't
notice.

Unfortunately, I want to get rid of all the left-margin content --
both the TOC and "on this page". (Leaving me with a simpler HTML
rendering of my document).

Is that possible with a similar #:style ?

Tim

On 03/11/10 13:13, Matthew Flatt wrote:
> Use 'no-toc as a `title' style:
>
>   @title[#:style '(no-toc)]{....}
>
>
> If you don't want a title to show up in the HTML, you can hide it:
>
>   @title[#:style '(no-toc hidden)]{....}
>
>
> At Wed, 03 Nov 2010 09:49:02 +0000, Tim Brown wrote:
>> Hello,
>>
>> I'm trying to 'scribble' a simple HTML document, but without the TOC
>> sidebar. Is there a simple way to make the top level part (i.e. my
>> document have the 'no-toc style)?
>>
>> I really want to be able to have:
>>
>> #lang scribble/doc
>> @(some no-toc magic)
>> ... everything else just as it would be with toc ...

-- 
Tim Brown <tim.brown at 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.


Posted on the users mailing list.