On 26 January 2013 11:11, Dan Allen <[email protected]> wrote:
> You'd probably need to hack the asciidoc.js, because it only works off the
> toclevels passed to it when the asciidoc.install function is called on
> document load.
>
> I was thinking that you could add [float] to the appendix to take it out of
> the structure, but it seems you can't set both float and a special section
> type (like appendix).
>
> -Dan
>
>
> On Fri, Jan 25, 2013 at 4:52 PM, Barry Arthur <[email protected]>
> wrote:
>>
>> Hi, guys,
>>
>> Is it possible to suppress headings from appearing in the TOC on either an
>> individual basis or change :toclevels: from an arbitrary point in the
>> document?
>> I thought I read something about this the other day, but my manual
>> scanning and googling skills are failing me now. :-(
>>
>> I am using   :toclevels: 3   for the bulk of the document, but I don't
>> want that in the appendices.
>>
>> Cheers,
>> Bazz

Hi Bazz,

No backends support changing toclevels part way through the document,
the only way is to change the levels o fthe appendix entities, but
have a custom css that styled them as a higher level.

@Dan, float is a style, and you can't have two styles on an entity,
thats why you can't apply float to appendixes or anything else
non-standard.  Also float has special semantics, the heading is no
longer a section, its just an entity within the current section. So
for xhtml it doesn't have the divs wrapping any section body and for
docbook its a <bridgehead> not a <section>.

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].
>> Visit this group at http://groups.google.com/group/asciidoc?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
>
>
>
> --
> Dan Allen
> Principal Software Engineer, Red Hat | Author of Seam in Action
> Registered Linux User #231597
>
> http://google.com/profiles/dan.j.allen
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
>
> --
> 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].
> Visit this group at http://groups.google.com/group/asciidoc?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
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].
Visit this group at http://groups.google.com/group/asciidoc?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to