On 11/16/2012 02:23 AM, Lex Trotman wrote:


On 3 November 2012 02:44, ping <[email protected] <mailto:[email protected]>> wrote:

    shall I give up the hope to get an concrete answer on this?


The title levels are unfortunately limited by the asciidoc code, not just the configuration, sorry for misleading you. Given that you can only get one more level in HTML and you can't get any more levels in docbook what were you originally trying to achieve?

hi Lex, thanks for the response.
originally I just want to extend the title level to the most, no matter be it HTML or docbook. can you guide me the clear instruction on how to generate level 5(h6) in HTML? I tried but never succeed.
I want to make it my default setting.


Cheers
Lex


    On 10/30/2012 9:04 PM, ping wrote:

        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]
            <mailto:[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]
    <mailto:[email protected]>.
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:asciidoc%[email protected]>.
    For more options, visit this group at
    http://groups.google.com/group/asciidoc?hl=en.


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

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