Word can define a list through a numbering style: the abstractNum referenced by the list has no `w:lvl` of its own, only a `w:numStyleLink`, and the levels live in the abstractNum whose `w:styleLink` names the same style (ECMA-376 17.9.21 and 17.9.27). The reader only looked at the referenced abstractNum, found no levels, and turned the list items into plain paragraphs. When an abstractNum has no levels but has a `w:numStyleLink`, take the levels of the abstractNum with the matching `w:styleLink`. Closes #9222.
297 B
297 B
A list whose abstract numbering only has a w:numStyleLink takes its
levels from the abstract numbering with the matching w:styleLink:
% pandoc -f docx -t native command/9222.docx
^D
[ OrderedList
( 1 , Decimal , Period )
[ [ Plain [ Str "one" ] ] , [ Plain [ Str "two" ] ] ]
]