-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
word to wikitext number list is not converted correctly. #5134
Comments
What is the exact command used? What do you mean with wikitext? |
The command used: |
You can see from the uploaded image that the header “Content Migration" has number 1 but in the original document it has number 2. |
It's an issue with the docx reader, not the mediawiki writer. |
These are separate items, so it's an issue with the start num. There seems to be a <w:num w:numId="2">
<w:abstractNumId w:val="5"/>
<w:lvlOverride w:ilvl="0">
<w:startOverride w:val="2"/>
</w:lvlOverride> So I have to implement a |
There can be overrides for the definitions of certain levels in numbering definitions. This implements that behavior. Closes: jgm#5134
Ok -- I have a fix. @liao24hoho, would it be okay if I used a (simplified) copy of your file as a test case? I don't know how to reproduce this behavior from scratch. I'll push it as soon as a I hear back. |
@jkr feel free to use it. |
There can be overrides for the definitions of certain levels in numbering definitions. This implements that behavior. Closes: jgm#5134
When using pandoc to convert from word(docx) to wikitext,
the end result wikitext does not have the big numbered list.
looks like the resultant wikitext treat the list items as separate items.
I tried two versions of Pandoc:
The text was updated successfully, but these errors were encountered: