DOCM to MD Conversion - Headings to not match expected numbering from document.
- Dominant language
- Rust
- Stars
- 21.5k
- Forks
- 1.3k
- Avg merge
- 42m
- Merged PRs (30d)
- 17
Description
When running my DOCM through anydoc for a markdown output, I commonly get heading/subheading numberings that do not match the input DOCX file. Is there any way to change this or diagnose WHY is is doing this?
Additional Information
- ToC is correct
- Multiple section '1' at the start of the document.
- In 'Section 4' it went in this order
> Section 4
> Section 4.1
> Section 1.1
> Section 4.2
EDIT: Applying a new style and reapplying the intended style fixes the issues. If needed I could try to add a pre/post processing script to check for this, but I need to know what anydoc is interpreting as incorrect.
*I can not attach the document directly as it contains proprietary company information.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the DOCM-to-Markdown conversion described here and compare heading numbering with the source document, including the Section 4 sequence. Investigate how heading styles are interpreted, using the reported style-reapplication workaround as a clue. Done means numbering in the Markdown matches the input; the proprietary document is unavailable, so a minimal reproducible DOCM will be needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- content
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100