Re: Chapter number change to an alpha after level 5

Posted by ggenier on
URL: https://discuss.asciidoctor.org/Chapter-number-change-to-an-alpha-after-level-5-tp8261p8276.html

Yes, it show the level, but I don't have any information about previous level.

Yes you are right, I speak about Asciidoctor PDF.

For example I  have this code :
==== Title
===== Title_1
blablablabla

===== Title_2
blablablabla

The render is :
6.1.1 Title
    Title_1
blablablabla

    Title_2
blablablabla

Render I want is :
6.1.1 Title
    a. Title_1
blablablabla

    b. Title_2
blablablabla

I search a solution to retrieve number of Title_1, to convert it to a letter of the alphabet (1=a, 2=b...)

I will thinking to put this in ruby, by at this point of my code opts does not give me enough information to do this.

I don't know if I am more clear.