How to remove extra blank page at end of Word document? #4193
Unanswered
Brackleforth
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The OOXML documentation says this...
It looks like I need to find the xsl code that is generating the last section's sectPr element, which is "stored as a child element of the body element". I've been looking around but it's difficult to find. Can somebody please point me in the right direction? I just need to tell it to reset page numbers to 1 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
in my DITA OT project, I am using custom section breaks in document.root.xsl in order to manage the page numbers. For example, the front matter has its own section so the page numbers are lower roman, then the document body has page numbers that start over at 1 and use digits instead.
The problem I am encountering is that, since I have to use a section break to reset the page numbers to 1, and that goes below the body, there will always be an extra blank page at the end when I export my Word file. Naturally, deleting the section break makes the page numbers mess up, so I can't do that. Is there a workaround that avoids adding an extra page?
Thanks for any advice!
Beta Was this translation helpful? Give feedback.
All reactions