Login  Register

Rendering an outline

Posted by Chuck on May 27, 2013; 3:57am
URL: https://discuss.asciidoctor.org/Rendering-an-outline-tp241.html

I hope this is the right place to ask this question. If not, please gently correct me.

I'm experimenting with using Asciidoc vs Asciidoctor for rendering docs. I noticed this discrepancy and was wondering if someone can provide a reason for this or if it is, as I suspect, a bug.

When I run this file through asciidoc 8.6.8 the following outline comes out as I would expect. The numbers come out as numbers and the letters come out as sub items using the letters. However, if I run it through asciidoctor 0.1.2 the numbers come out as numbers and the letter options come out as numbers as well.ยท

I am running this on Fedora 18 using RPM packages for asciidoc and 'gem install asciidoctor'. The commands I'm using to output the html file is simply 'asciidoc file.name' or 'asciidoctor file.name'. The file contains content similar to the following:

1. What is the problem?
2. Asciidoc shows this line as a number
A. Asciidoc shows this line as a letter
B. Asciidoc shows this line as a letter
C. Asciidoc shows this line as a letter
3. Asciidoctor shows this line as a number
A. Asciidoctor shows this line as a number
B. Asciidoctor shows this line as a number
C. Asciidoctor shows this line as a number