dagwieers / asciidoc-odf

ODF backend for AsciiDoc
98 stars 26 forks source link

List numbering: reversed styles, inconsistent delimiters. #38

Open d5ous opened 11 years ago

d5ous commented 11 years ago

This outputs as expected with AsciiDoc 8.6.8 HTML backend:

  1. This is a list item, with arabic numbering a. This is another list item, with loweralpha numbering A. This is at list level 3, with upperalpha numbering i) Level 4, lowerroman numbering. I) Level 5, upperroman numbering

Tested with ODT backend (v. 0.1, downloaded 12/3/2012).

.Issues:

d5ous commented 11 years ago

Ahem. That looked fine formatted as AsciiDoc. I should learn to read instructions. Here's the sample again.

1. This is a list item, with _arabic_ numbering
a. This is another list item, with _loweralpha_ numbering
A. This is at list level 3, with _upperalpha_ numbering
i) Level 4, _lowerroman_ numbering.
I) Level 5, _upperroman_ numbering.
dagwieers commented 11 years ago

Yes, at the moment the numbering styles are hardcoded in the stylesheet. Since we cannot "template" the stylesheet, doing this correctly is hard to impossible, unless we can agree on some work-around with the AsciiDoc project.

d5ous commented 11 years ago

Well, I agree that the trivial fix isn't that appealing bloat-wise if there are alternatives. Chaining to a post-processing script to auto-generate referenced styles post-hoc wouldn't be too bad, but it... probably wouldn't be the only one you had to write before you were finished.

-d.

On Mon, Dec 3, 2012 at 5:33 PM, Dag Wieers notifications@github.com wrote:

Yes, at the moment the numbering styles are hardcoded in the stylesheet. Since we cannot "template" the stylesheet, doing this correctly is hard to impossible, unless we can agree on some work-around with the AsciiDoc project.

— Reply to this email directly or view it on GitHubhttps://github.com/dagwieers/asciidoc-odf/issues/38#issuecomment-10957589.