Page 1 of 1

Horizontal tables keep several pages after in landscape mode

Posted: Wed Jul 21, 2021 9:55 pm
by verostarry
Hi,

I'm not sure this is a Chemistry-related issue, but it is the processor my team is using. I've noticed that when we set the orient@land attribute on tables, the pages the tables are on do indeed orient landscape, but this doesn't stop until the next chapter begins in the bookmap type ditamap. All the rest of the pages in the same chapter, although in different DITA files and not having tables themselves, remain landscape.

Is there a fix for this? We'd only like the pages with the tables we specify orient@land in landscape, or at most just the sub-chapter they're in. We use very little table-related CSS, which I'm c+ping here but it doesn't look like any would cause this behavior:

Numbering tables:
*[class ~= "topic/table"]{
counter-increment: tablecount;
}

*[class ~= "topic/table"] caption::before {
content: "Table " counter(tablecount) ": ";
}

table {
word-wrap:break-word;
white-space: normal;
table-layout: fixed;
word-break: break-all;
width:100%;
overflow-wrap: break-word;
position:relative;
}

*[class~="topic/table"] {
-oxy-borders-conditionality: retain;
}

Thanks!
Veronica

Re: Horizontal tables keep several pages after in landscape mode

Posted: Thu Jul 22, 2021 11:17 am
by julien_lacour
Hello Veronica,

You can add the following rule in your CSS customization:

Code: Select all

*[class ~= "topic/table"][orient="land"] {
  page-break-after: always;
}
To make sure that your tables are isolated on the landscape page.

If this does not work, could you send me back a small randomized sample at support@oxygenxml.com?

Regards,
Julien

Re: Horizontal tables keep several pages after in landscape mode

Posted: Fri Oct 14, 2022 11:49 am
by julien_lacour
Hello Veronica,

We just released the new version of Oxygen (25.0).
In this version the page remaining landscape problem should be resolved.

I hope you will enjoy this new version!

Regards,
Julien