How to not continue table headers?

Post here questions and problems related to editing and publishing DITA content.
tanja
Posts: 39
Joined: Tue Oct 30, 2018 10:49 am

How to not continue table headers?

Post by tanja »

Hi all,

starting with Oxygen 22.1, when running DITA Map PDF - based on HTML5 & CSS any table spanning on multiple pages has its repeated table captions displayed with "(continued)".

However, I would like to have the behavior of previous versions, with the table caption only being displayed when the table starts. It should not be continued on any of the following pages.

I tried this setting in my custom CSS:

Code: Select all

*[class~="topic/table"] > *[class~="topic/title"][is-repeated]:after(1),
*[class~="topic/table"] > *[class~="topic/title"][is-repeated]:after(2) {
    display: none !important;
}
But this results only in the (continued) of the table caption not being displayed, the caption itself is repeated.

Could you tell me what to add to my custom CSS to not have table captions repeated on following pages?

I checked this help article, but it only says that Chemistry does it now, not how to tell it to not do it.
https://www.oxygenxml.com/doc/versions/ ... fpf_jx1_yz

Thanks, Tanja
julien_lacour
Posts: 495
Joined: Wed Oct 16, 2019 3:47 pm

Re: How to not continue table headers?

Post by julien_lacour »

Hello Tanja,

There is a specific parameter in the DITA Map PDF - based on HTML5 & CSS transformation called 'table.title.repeat' which enable or disable the table caption repetition.

You don't need any CSS customization for this behavior.

Regards,
Julien
tanja
Posts: 39
Joined: Tue Oct 30, 2018 10:49 am

Re: How to not continue table headers?

Post by tanja »

Hello Julien,

Worked like a charm! Thanks for the quick reply :-)

Regards,
Tanja
Post Reply