Table continuation headers

Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
shudson310
Posts: 153
Joined: Sat Feb 26, 2005 12:09 am
Location: USA
Contact:

Table continuation headers

Post by shudson310 »

How can I bring over the title of a table if it spans multiple pages?

On the subsequent pages, I'd like the text to read:
Table title (continued)

The th is carried over, so there should be a way to do this?
Scott Hudson
Staff Content Engineer
Site: docs.servicenow.com
Costin
Posts: 784
Joined: Mon Dec 05, 2011 6:04 pm

Re: Table continuation headers

Post by Costin »

This is currently not possible.
We have an improvement request logged in our system, so we will let you know when/if this will get implemented.

Costin
Costin Sandoi
oXygen XML Editor and Author Support
shudson310
Posts: 153
Joined: Sat Feb 26, 2005 12:09 am
Location: USA
Contact:

Re: Table continuation headers

Post by shudson310 »

Is table title continuation supported in Chemistry?
Scott Hudson
Staff Content Engineer
Site: docs.servicenow.com
Costin
Posts: 784
Joined: Mon Dec 05, 2011 6:04 pm

Re: Table continuation headers

Post by Costin »

Hello,

When using the DITA Map PDF - based on HTML5 and CSS, this behavior should be the default one, without being need of any extra CSS customization. That's because, for HTML, Oxygen PDF Chemistry already defines the needed selectors for rendering tables in the PDF output.

In case you are using a custom XML file, with custom defined elements, you need to specify which is the header of your table and how it should be displayed in the output. Only for that use-case (though most probably you are working with DITA documents and run the default DITA transformation so you won't need it), see Repeating Headers and Footers in the Chemistry User-Guide.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
shudson310
Posts: 153
Joined: Sat Feb 26, 2005 12:09 am
Location: USA
Contact:

Re: Table continuation headers

Post by shudson310 »

The headers for the table are continued, but we want the title to also flow to the next page with a (continued) label. This is supported in the FOP transforms, but I haven't found a way to to the table title continuation in Chemistry.
Scott Hudson
Staff Content Engineer
Site: docs.servicenow.com
Costin
Posts: 784
Joined: Mon Dec 05, 2011 6:04 pm

Re: Table continuation headers

Post by Costin »

Hello,

I see, now, that's the question you addressed a while ago just at the beginning of this thread.

Repeating also the table title is not supported in the current implementation of the Chemistry engine, as it could break the counters used for tables numbering when deep numbering or deep-numbering in chapter context applies.

However, the improvement request is already logged in our tracking system and its status is still open, as our development team needs to see if the use-case is viable.
We will update this thread when/if this functionality will get implemented.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
chrispitude
Posts: 584
Joined: Thu May 02, 2019 2:32 pm

Re: Table continuation headers

Post by chrispitude »

Please put our site down for this request too! This is a feature we use in FrameMaker and would like to see in PDF Chemistry.
Costin
Posts: 784
Joined: Mon Dec 05, 2011 6:04 pm

Re: Table continuation headers

Post by Costin »

Added your vote too.
Costin Sandoi
oXygen XML Editor and Author Support
chrispitude
Posts: 584
Joined: Thu May 02, 2019 2:32 pm

Re: Table continuation headers

Post by chrispitude »

Oxygen folks - what is the internal issue ID for this enhancement?

Here's an example of how FrameMaker implements this. End of first page:

image.png
image.png (7.29 KiB) Viewed 3458 times

Beginning of second page:

image.png
image.png (7.81 KiB) Viewed 3458 times
julien_lacour
Posts: 303
Joined: Wed Oct 16, 2019 3:47 pm

Re: Table continuation headers

Post by julien_lacour »

Hello,

Thanks for the feedback Chris. The internal ID for this issue is CH-440.
Its status is currently inside our sprint and ongoing.

Regards,
Julien
julien_lacour
Posts: 303
Joined: Wed Oct 16, 2019 3:47 pm

Re: Table continuation headers

Post by julien_lacour »

Hello,

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

Regards,
Julien
Tygopit
Posts: 21
Joined: Fri Nov 27, 2020 12:08 pm

Re: Table continuation headers

Post by Tygopit »

Well, it works in "EN" or "FR" localization.
But it doesn't if topic xml:lang is set to "pl" :(
How to achieve this in my case?
Regards,
Piotr
julien_lacour
Posts: 303
Joined: Wed Oct 16, 2019 3:47 pm

Re: Table continuation headers

Post by julien_lacour »

Hello,

We do not currently have translation for "continued" in polish, but you can use the following rule in your CSS customization:

Code: Select all

*[class~="topic/table"] > *[class~="topic/title"][is-repeated]:lang(pl):after(2) {
    content: " " "(continued)";
}
Just change the "continued" word between parenthesis with the correct polish translation.

I've check the translations on my side, the word continued seems to be translated as "dalszy" or "nieprzerwany".
Which one do you recommend? I will add the translated word in the future version of Oxygen (it will appear without the CSS rule).

Regards,
Julien
Tygopit
Posts: 21
Joined: Fri Nov 27, 2020 12:08 pm

Re: Table continuation headers

Post by Tygopit »

Hi,

Thanks, I'll check it soon in my doc.

As for the translation, it goes like that: (ciąg dalszy)
Ex.: Tabela 7. (ciąg dalszy)
Regards,
Piotr
Post Reply