PDF: Table cells duplicated before and after a page break
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 4
- Joined: Wed Dec 04, 2024 12:51 am
PDF: Table cells duplicated before and after a page break
Post by ChrisWarren »
Hello everyone,
I'm seeing a weird and inconsistent issue outputting DITA content to PDF. Sometimes, if a table crosses a page break, one or more rows of the table will be printed twice: before and after the page break. The attached example is a <choicetable>, but the same thing happened with a standard <table> before I shrank its cell padding. Note that the header row is printed an additional time before the page break as well.
It seems to be related to the particular placement of the table relative to the page break. I tried exporting an example ditamap with only the offending topic and its parent. The spacing of the topic on the page came out slightly differently, and the table split across the page break correctly, with the header row repeated at the top of the second page.
My custom CSS normally includes the lines:
I'm using DITA 2.0. To attempt to rule out a publishing incompatibility with 2.0, I've tried creating test files to try switching between 1.3 and 2.0, but I have been unable to reproduce the issue with a smaller ditamap in either version.
Has anyone encountered something like this before?
I'm seeing a weird and inconsistent issue outputting DITA content to PDF. Sometimes, if a table crosses a page break, one or more rows of the table will be printed twice: before and after the page break. The attached example is a <choicetable>, but the same thing happened with a standard <table> before I shrank its cell padding. Note that the header row is printed an additional time before the page break as well.
- With "page-break-inside:avoid"
- choicetable_duplication_error.png (58.87 KiB) Viewed 511 times
My custom CSS normally includes the lines:
When I tried commenting this out, I got a different version of the same issue (see second attachment).tr,
th,
td {
page-break-inside: avoid;
}
- Without "page-break-inside:avoid"
- choicetable_duplication_error_2.png (52.06 KiB) Viewed 511 times
Has anyone encountered something like this before?
-
- Posts: 613
- Joined: Wed Oct 16, 2019 3:47 pm
Re: PDF: Table cells duplicated before and after a page break
Post by julien_lacour »
Hello,
Could you indicate which version of Oxygen you are using?
Regards,
Julien
Could you indicate which version of Oxygen you are using?
Regards,
Julien
-
- Posts: 4
- Joined: Wed Dec 04, 2024 12:51 am
Re: PDF: Table cells duplicated before and after a page break
Post by ChrisWarren »
Hi Julien,
Version 27.0 on MacOS 15.1.1
Thanks,
Chris
Version 27.0 on MacOS 15.1.1
Thanks,
Chris
-
- Posts: 613
- Joined: Wed Oct 16, 2019 3:47 pm
Re: PDF: Table cells duplicated before and after a page break
Post by julien_lacour »
Hi Chris,
We are aware of this issue and a fix is already ready.
It will be available in the new maintenance build of Oxygen 27.0.
I will notify this thread when it will be available.
Regards,
Julien
We are aware of this issue and a fix is already ready.
It will be available in the new maintenance build of Oxygen 27.0.
I will notify this thread when it will be available.
Regards,
Julien
-
- Posts: 4
- Joined: Wed Dec 04, 2024 12:51 am
Re: PDF: Table cells duplicated before and after a page break
Post by ChrisWarren »
Excellent! Glad to hear it.
Re: PDF: Table cells duplicated before and after a page break
Hi Julien:
Is there a timeline for the fix?
I'm seeing the same thing (Windows 11 | XML Editor 27.0, build 2024112212 ); some of the tables in one of the documents I work with are 10 or more pages long.
It is happening when I try the DITA Map PDF - based on HTML5 & CSS transformation scenario, as well as our own scenarios.
I will probably need to publish this document in the next week or so. (Would using an older version of oXygen be the workaround for this?)
Thanks!
Is there a timeline for the fix?
I'm seeing the same thing (Windows 11 | XML Editor 27.0, build 2024112212 ); some of the tables in one of the documents I work with are 10 or more pages long.
It is happening when I try the DITA Map PDF - based on HTML5 & CSS transformation scenario, as well as our own scenarios.
I will probably need to publish this document in the next week or so. (Would using an older version of oXygen be the workaround for this?)
Thanks!
-
- Posts: 613
- Joined: Wed Oct 16, 2019 3:47 pm
Re: PDF: Table cells duplicated before and after a page break
Post by julien_lacour »
Hello,
The maintenance build is planned for next week. The problem is only happening in the DITA Map PDF - based on HTML5 & CSS scenario using Oxygen 27.0 so if you are in a hurry you can still use Oxygen 26.1 to generate the PDF output.
Regards,
Julien
The maintenance build is planned for next week. The problem is only happening in the DITA Map PDF - based on HTML5 & CSS scenario using Oxygen 27.0 so if you are in a hurry you can still use Oxygen 26.1 to generate the PDF output.
Regards,
Julien
-
- Posts: 613
- Joined: Wed Oct 16, 2019 3:47 pm
Re: PDF: Table cells duplicated before and after a page break
Post by julien_lacour »
Hello,
The new maintenance build of Oxygen 27.0 is available.
This build contains the fix for the extra table caption displayed in the page footer.
Regards,
Julien
The new maintenance build of Oxygen 27.0 is available.
This build contains the fix for the extra table caption displayed in the page footer.
Regards,
Julien
-
- Posts: 4
- Joined: Wed Dec 04, 2024 12:51 am
Re: PDF: Table cells duplicated before and after a page break
Post by ChrisWarren »
Thanks, Julien! So far it looks like today's update has fixed the issue for me.
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service