Replies: 1 comment 1 reply
-
This is the (simplified) XML of the first list: <w:p>
<w:pPr>
<w:pStyle w:val="ListParagraph" />
<w:numPr>
<w:ilvl w:val="0" />
<w:numId w:val="6" />
</w:numPr>
</w:pPr>
<w:r>
<w:t>Lorem ipsum dolor sit amet ?</w:t>
</w:r>
</w:p>
<w:p>
<w:pPr>
<w:pStyle w:val="ListParagraph" />
<w:numPr>
<w:ilvl w:val="0" />
<w:numId w:val="7" />
</w:numPr>
</w:pPr>
<w:r>
<w:t>Consectetur adipiscing elit sed do eiusmod.</w:t>
</w:r>
</w:p>
<w:p>
<w:pPr>
<w:pStyle w:val="ListParagraph" />
<w:numPr>
<w:ilvl w:val="0" />
<w:numId w:val="8" />
</w:numPr>
</w:pPr>
<w:r>
<w:t>Tempor incididunt ut labore et dolore magna
aliqua. ?</w:t>
</w:r>
</w:p> And this is the second: <w:p>
<w:pPr>
<w:pStyle w:val="Normal" />
<w:numPr>
<w:ilvl w:val="0" />
<w:numId w:val="1" />
</w:numPr>
</w:pPr>
<w:r>
<w:t>Lorem ipsum dolor sit amet ?</w:t>
</w:r>
</w:p>
<w:p>
<w:pPr>
<w:pStyle w:val="Normal" />
<w:numPr>
<w:ilvl w:val="0" />
<w:numId w:val="1" />
</w:numPr>
<w:rPr></w:rPr>
</w:pPr>
<w:r>
<w:t>Consectetur adipiscing elit sed do eiusmod.</w:t>
</w:r>
</w:p>
<w:p>
<w:pPr>
<w:pStyle w:val="Normal" />
<w:numPr>
<w:ilvl w:val="0" />
<w:numId w:val="1" />
</w:numPr>
<w:spacing w:before="0" w:after="160" />
<w:rPr></w:rPr>
</w:pPr>
<w:r>
<w:t>Tempor incididunt ut labore et dolore magna
aliqua. ?</w:t>
</w:r>
</w:p> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I have this docx file debug-lists-mini.docx with two OrderedList list in it.
The first produce the following markdown output
Pandoc native:
The second produce the following output:
Pandoc native
I don't know how the first list was constructed.
The second list is a copy of the first where formatting have been cleared and the list added back.
I would like to avoid doing this for every file I have so I wanted to know if it's something Pandoc can handle.
(For now I'm thinking of creating a lua filter to merge a list where
start
,style
anddelimiter
is the same; assuming that we never want to have in our documents two different list following themselves without an intermediary paragraph)Thanks
Beta Was this translation helpful? Give feedback.
All reactions