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

Markdown to ODT nested list indentation #369

Closed
ausuwardi opened this issue Jan 6, 2012 · 3 comments
Closed

Markdown to ODT nested list indentation #369

ausuwardi opened this issue Jan 6, 2012 · 3 comments
Labels

Comments

@ausuwardi
Copy link

Pandoc version: 1.8.1.1 (from Ubuntu 11.10 repo)
LibreOffice version: 3.4.3

When converting markdown to ODT, nested numbered lists don't get correct indentation. This happens when creating a numbered sub list inside a bulleted list. Here's example code to reproduce the problem:

# Test Nested List

* Bullet 1

    Paragraph in bullet 1

* Bullet 2

    Paragraph in bullet 2

    * Nested bullet 1
    * Nested bullet 2
    * Nested bullet 3

* Bulllet 3

    Paragraph in bullet 3

    1. Nested list 1
    2. Nested list 2
    3. Nested list 3

    Second paragraph in bullet 3

All done, aren't they displayed correctly?

Run pandoc with:

pandoc -f markdown -t odt -o test.odt test.md

The numbered list inside 'Bullet list 3' are not indented correctly. I checked the content.xml inside generated ODT file, and found that there is no level 2 style for numbered list. While there are 10 level styles declared for bullet lists, numbered list only have 1 level style entry in the content.xml.

@arossato
Copy link

this is a tricky issue with automatic style generation. I'll try to find a solution shortly.

@ausuwardi
Copy link
Author

Thank you arossato. Please let me know if there is something I can do to
help :-)
On Jan 30, 2012 11:21 PM, "arossato" <
reply@reply.github.com>
wrote:

this is a tricky issue with automatic style generation. I'll try to find a
solution shortly.


Reply to this email directly or view it on GitHub:
#369 (comment)

@jgm
Copy link
Owner

jgm commented Jul 14, 2013

Fixed by pull request #910.

@jgm jgm closed this as completed Jul 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants