Horizontal tables keep several pages after in landscape mode
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 17
- Joined: Wed Jul 21, 2021 9:39 pm
Horizontal tables keep several pages after in landscape mode
Post 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
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
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Horizontal tables keep several pages after in landscape mode
Post by julien_lacour »
Hello Veronica,
You can add the following rule in your CSS customization:
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
You can add the following rule in your CSS customization:
Code: Select all
*[class ~= "topic/table"][orient="land"] {
page-break-after: always;
}
If this does not work, could you send me back a small randomized sample at support@oxygenxml.com?
Regards,
Julien
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Horizontal tables keep several pages after in landscape mode
Post 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
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
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