Replies: 1 comment
-
No, there is not. The docx reader does not store information about the specific numbering used. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a test document (docx) that uses letters for section (header) numbering. I'm trying to convert this to HTML while preserving the numbering found in the original document but no matter what setting or extension i've tried it generates numeric section ids.
Running this command:
pandoc '/tmp/List2 (1).docx' -o /tmp/a.html --number-sections
On this document:

Produces:
I've tried creating a lua filter to inspect what information is available at runtime and I've noticed that headers (unlike lists) contain no numbering information:
Is there any way to accomplish this?
List2 (1).docx
Beta Was this translation helpful? Give feedback.
All reactions