Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List numbering: reversed styles, inconsistent delimiters. #38

Open
d5ous opened this issue Dec 3, 2012 · 3 comments
Open

List numbering: reversed styles, inconsistent delimiters. #38

d5ous opened this issue Dec 3, 2012 · 3 comments

Comments

@d5ous
Copy link

d5ous commented Dec 3, 2012

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:

  • Inverts some of the numbering styles.
  • It also echoes the parentheses used in AsciiDoc syntax as delimiters, but the delimiters should probably be consistent among all list levels in the backend output.
@d5ous
Copy link
Author

d5ous commented Dec 3, 2012

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
Copy link
Owner

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
Copy link
Author

d5ous commented Dec 3, 2012

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 [email protected] 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//issues/38#issuecomment-10957589.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants