-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
custom-style has offset while writing docx file #10748
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
Comments
Can you upload the template.docx you are using, so I can try to reproduce this? |
A preliminary observation:
Note that the custom-style attribute on the But I can confirm that there is some kind of bug here; here's the trace of the function
The second block ought to be getting "heading 2 center". |
Explain the problem.
the custom-style has offset while convert html to docx,
example html:
example styles.xml in template.docx
final result in document.xml,
hello sample h2 for center alignment
styleId should be 78 while the textbody text for center alignment
should be 80Pandoc version?
system: MacOS
pandoc 3.6.4
Features: +server +lua
Scripting engine: Lua 5.4
The text was updated successfully, but these errors were encountered: