-
Notifications
You must be signed in to change notification settings - Fork 339
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
format: docx will double up autonumbering in headings if number-sections: true is supplied in YAML and the reference-doc includes numbering. #12095
Comments
That makes perfect sense - thanks for taking the time to reply! I'm going to close :) |
I'm reopening because the maintainers might see this as an enhancement to make |
Thank @mcanouil. I don't think we can do something about this. Also because pandoc itself does not handle this differently.
Unfortunately I don't see what enhancement we could do, especially with custom reference doc... 🤔 |
The style is likely controlled somehow in OpenXML, I'm guessing using OpenXML to set numbering instead of hardcoding it could be the enhancement, but it could be on Pandoc side. |
I agree that if this was done, it should probably be upstream in Pandoc anyway |
Bug description
Hello Quarto devs! Thanks for the ambitious project - it's very impressive.
I'll leave this up to you if you count this as a bug or expected behaviour. When combining
number-sections: true
with a reference-doc with numbering included it'll double up the numbers.Steps to reproduce
Reprex making use of the attached reference doc
custom-reference-doc.docx
Actual behavior
Expected behavior
Your environment
Quarto check output
Quarto 1.6.40
[✓] Checking environment information...
Quarto cache location: /home/vscode/.cache/quarto
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.4.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.46.3: OK
Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.6.40
Path: /opt/quarto/bin
[✓] Checking tools....................OK
TinyTeX: v2025.01
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /home/vscode/.TinyTeX/bin/x86_64-linux
Version: 2024
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.13.1
Path: /usr/local/bin/python3
Jupyter: 5.7.2
Kernels: python3
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........(None)
The text was updated successfully, but these errors were encountered: