DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › Internal table borders still rendered in PDF even when disabled
-
ChrisTMH August 4, 2016 at 11:02 am
Internal table borders still rendered in PDF even when disabled
August 4, 2016 at 11:02 amParticipants 1Replies 2Last Activity 6 years, 7 months agoDITA version 1.2
XMetaL version 10.0.0.074If I have inserted and table and set the attribute values “colsep” and “rowsep” for the “tgroup” element both to 0 (off), then the following occurs:
- In the XMetaL view, all internal borders are correctly displayed with dashed lines to indicate no borders
- When the PDF is generated, all internal borders still remain
So, there are no internal borders when processed with CSS, but there are when transformed into PDF.
Is this a known glitch, or am I simply overlooking something?
Cheers
Derek Read August 4, 2016 at 7:59 pm
Reply to: Internal table borders still rendered in PDF even when disabled
August 4, 2016 at 7:59 pmDespite the misleading name (“Enhanced”) I don't think development of the deliverable named “XMetaL Enhanced PDF via RenderX XEP” has kept up with that of the rest of the DITA Open Toolkit, so it will have limitations like this. This deliverable was originally included to overcome a large number of limitations in the early versions of the DITA Open Toolkit deliverables (adding support for Bookmaps, indexes, sorting, various elements, etc. that the DITA OT versions of PDF output did not handle), however, it has since fallen behind as development on the DITA OT versions of PDF has progressed.
If you use one of the other PDF deliverables they are likely to give you what you want and are being actively developed (Book via RenderX for example).
ChrisTMH August 5, 2016 at 11:38 am
Reply to: Internal table borders still rendered in PDF even when disabled
August 5, 2016 at 11:38 amDespite the misleading name (“Enhanced”) I don't think development of the deliverable named “XMetaL Enhanced PDF via RenderX XEP” has kept up with that of the rest of the DITA Open Toolkit, so it will have limitations like this. This deliverable was originally included to overcome a large number of limitations in the early versions of the DITA Open Toolkit deliverables (adding support for Bookmaps, indexes, sorting, various elements, etc. that the DITA OT versions of PDF output did not handle), however, it has since fallen behind as development on the DITA OT versions of PDF has progressed.
If you use one of the other PDF deliverables they are likely to give you what you want and are being actively developed (Book via RenderX for example).
Thanks for the help. Yes, the output is as expected when using “Book via RenderX”. So, once I found the source files for this output (org.dita.pdf2), I compared the implementation with my default implementation. I discovered that, by default, there are no table borders (obvious now I know). In our default implementation, not sure if this was done by us in the past, but there was some code that put borders in even with colsep or rowsep set to 0, so I simply commented these out and it now works fine.
Thanks again.
-
AuthorPosts
- You must be logged in to reply to this topic.