On 20 May 2011 20:05, Lionel Orry <[email protected]> wrote:
> Hello Stuart,
>
> while playing with the new toc2 css, I thought it could be interesting to
> get a button to hide the TOC (for both toc and toc2) that would change into
> a button to show the TOC again. I've implemented this in this patch.
>
> When the TOC is displayed, a button is visible on the top side of the toc:
> "Hide the Table of Contents"
> When clicked, the TOC is hidden, and a button appears on the top-right side
> of the screen (thus always visible while reading): "Show the Table of
> Contents"
> When clicked the latter button, the TOC is displayed again, and in the case
> of not fixed-position tocs (like toc but not toc2), the content is scrolled
> to the TOC content. When using toc2, the toc is always on screen anyway when
> shown.
>
> Tell me if you could consider integrating it, or suggest some modifications
> to make it better/even less intrusive/etc.

Hi Lionel,

Nice.

Although you obviously have done your best to minimise the intrusion
and I can't think of a better way so I think it is better if the
button is an option.  The Asciidoc output is very clean, even
minimalist style and the button is somewhat out of place.

Also how is the button text translated for those using Asciidoc for
non-English languages, can it perhaps be specified on the option?

Cheers
Lex

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to