Is there any way to have heading deeper than 5?

classic Classic list List threaded Threaded
5 messages Options
Taz
Reply | Threaded
Open this post in threaded view
|

Is there any way to have heading deeper than 5?

Taz
We need more than 5 levels of (numbered) heading/titles. Is it in anyway possible? Thank you very much in advance!
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to have heading deeper than 5?

mojavelinux
Administrator
5 (0-based levels) is the limit. This limit is imposed by HTML, LaTeX and the DocBook toolchain, so it's only logically that AsciiDoc set this limit as well.

If you want deeper levels, you use discrete headings (at the discrete style) or block titles. But then you have to handle the numbering yourself (either explicitly or through an extension).

Cheers,

-Dan

On Tue, Apr 18, 2017 at 8:07 AM, Taz [via Asciidoctor :: Discussion] <[hidden email]> wrote:
We need more than 5 levels of (numbered) heading/titles. Is it in anyway possible?


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Is-there-any-way-to-have-heading-deeper-than-5-tp5513.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to have heading deeper than 5?

simpligility

Imho if you need more than 5 levels deep you are doing something wrong in structuring your document. In fact 4 is imho already on the border and a warning that you should rethink your approach.. 

Manfred

mojavelinux [via Asciidoctor :: Discussion] wrote on 2017-04-18 11:34:

5 (0-based levels) is the limit. This limit is imposed by HTML, LaTeX and the DocBook toolchain, so it's only logically that AsciiDoc set this limit as well.
 
If you want deeper levels, you use discrete headings (at the discrete style) or block titles. But then you have to handle the numbering yourself (either explicitly or through an extension).
 
Cheers,
 
-Dan
 
On Tue, Apr 18, 2017 at 8:07 AM, Taz [via Asciidoctor :: Discussion] <[hidden email]> wrote:
We need more than 5 levels of (numbered) heading/titles. Is it in anyway possible?
 
If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Is-there-any-way-to-have-heading-deeper-than-5-tp5513.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML
 
 
--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
 
If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Is-there-any-way-to-have-heading-deeper-than-5-tp5513p5514.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML
Taz
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to have heading deeper than 5?

Taz
simpligility wrote
Imho if you need more than 5 levels deep you are doing something wrong in structuring your document. In fact 4 is imho already on the border and a warning that you should rethink your approach.. 

Manfred
Yes, it does cross my mind, regardless to AsciiDoctor...
Taz
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to have heading deeper than 5?

Taz
In reply to this post by simpligility
mojavelinux wrote
5 (0-based levels) is the limit. This limit is imposed by HTML, LaTeX and
the DocBook toolchain, so it's only logically that AsciiDoc set this limit
as well.

If you want deeper levels, you use discrete headings (at the discrete
style) or block titles. But then you have to handle the numbering yourself
(either explicitly or through an extension).

Cheers,

-Dan
Thanks!