Re: Heading 7+ not handled?

Posted by rwinch on
URL: https://discuss.asciidoctor.org/Heading-7-not-handled-tp710p715.html

Thanks for the response.  The more I think about it the more I think I am probably using the heading incorrectly.

The first part of my problem is that I am only using a single level 0 header due to an issue with the pdf rendering [1]. I'm not very knowledgeable on how to fix the issue myself (and a bit pressed for time), so I worked around it by increasing the headers under a parent element.

An example where I was using something like this was for attributes within our XML configuration appendix [2]. I changed this to be a bullet list in the new reference [3], but wasn't keen on needing to add the ids manually. In light of your response, I think that using a heading here was probably the wrong approach in the first place.

Another example of this happening was in the Spring Reference [4]. Again, this is translated to a header 7 due to the pdf issue.

I think your response helps with this issue. Particularly it would be good to find something in the documentation on how to deal with heading level 7.

[1] https://github.com/mojavelinux/asciidoctor-fopdf/issues/5
[2] http://docs.spring.io/spring-security/site/docs/3.2.0.RC1/reference/htmlsingle/#nsa-access-denied-handler-error-page
[3] http://docs.spring.io/spring-security/site/docs/3.2.0.CI-SNAPSHOT/reference/html5/#nsa-access-denied-handler-error-page
[4] http://docs.spring.io/spring-framework/docs/3.2.x/spring-framework-reference/htmlsingle/#beans-factory-ctor-arguments-name