Please keep replies on the list

Cheers
Lex

---------- Forwarded message ----------
From: ping <[email protected]>
Date: 31 October 2012 11:50
Subject: Re: (2nd time post) asciidoc :leveloffset: can't be exceeding -3?
To: Lex Trotman <[email protected]>


I added

.following in my /etc/asciidoc/xhtml11.conf

 [sect5]
 <div class="sect5{style? {style}}{role? {role}}">
 <h6{id? id="{id}"}>{title}</h6>
 |
 </div>


.following in /etc/asciidoc/html4.conf

 [sect5]
 <h6{role? class="{role}"}>{id?<a name="{id}"></a>}{title}</h6>
 |

.following in /etc/asciidoc/asciidoc.conf

 sect5=^====== +(?P<title>[\S].*?)( +======)?$

I even add sect5 in docbook.conf...


but still this doesn't work:
asciidoc -a toc -a toclevels=10 -a leveloffset=-3 -o
/mnt/webdata/temp111.html temp111.txt

the "====== section" in that temp111.txt still can't be rendered...

what do I miss here?




On 10/30/12 2:17 AM, Lex Trotman wrote:
>
> Follow the example fo the current sections in xhtml.conf
>
> Cheers
> Lex
>
> On 30 October 2012 11:54, ping <[email protected]> wrote:
>>
>> On 10/29/2012 6:30 PM, Lex Trotman wrote:
>>>
>>>
>>> Asciidoc only knows how to generate 4 levels, offsetting using
>>> :leveloffset: must remain in that range.  :toclevels: sets which
>>> levels show in the toc, it does not generate more levels.
>>>
>>> You need to configure both input syntax and the output to be generated
>>> to extend the number of section levels.  Section level 4 uses h5 and
>>> HTML only goes to h6 so you can only add one more level anyway.
>>>
>>> Cheers
>>> Lex
>>>
>> thanks Lex. now It's cleared for me -- I didn't know there is a hard
>> limitation and though it's just a matter of configurations.
>> anyway can you point me how to get that one more level (level 5 & h6) ?
>>

-- 
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