Skip to main content
12-Amethyst
January 28, 2026
Solved

Differing Page Layouts in DITA2.0 Bookmap

  • January 28, 2026
  • 1 reply
  • 97 views

I am trying to put in foldout pages in owners manuals.  However, I cannot for the life of me get the stylesheet/publishing engine to create the landscape page.

 

I have created a Foldout Page set to 8.5 x 11 landscape in Page Sets.

I created a context and condition in the <topicref> element. 

The condition is "IF attribute "outputclass" = "wide"

The output to edit is set to Print/PDF, and the breaks category is set as follows:

Start new: Page

Page set Name: Foldout Page Set

Page Number: Continue

 

When I save the stylesheet and republish, the page is still not landscape.  GRRR

 

On a side note, I am publishing locally with the Use Publishing Engine box unchecked in the Tools>Preferences>Publishing Engine.

 

Any ideas what I may be missing.

 

Thanks in advance.

John 

Best answer by JHollis

Hi Manpreet,

Thanks for the information.  I had the page sets and setup correct to the best of my knowledge.

I finally got it to work a day or so ago by creating a condition under the "topicref anywhere in chapter" context of the topicref element.  I created the content to 'IF attribute "outputclass" = "wide", then it ties the topicref to a Foldout Page Set that I created.

 

I find navigating the stylesheet very difficult as it seems that the same topic can have NUMEROUS variations and ways to accomplish something.

 

It did not work earlier when trying to create a "topic in chapter" context/condition.  Which is where I thought it should have been since I wanted the entire topic in that chapter to be landscape, not portrait.  

 

Thanks again for the information,

John

1 reply

12-Amethyst
February 11, 2026

Dear Customer,

Hope you're doing well. Please refer to the below help center topics about page orientation and let me know if that helps resolving this issue. Thanks.

 

Setting a Page Size and Orientation for a Page Set

Page Sets - Page Size Category

 

Regards,

Manpreet Singh

JHollis12-AmethystAuthorAnswer
12-Amethyst
February 11, 2026

Hi Manpreet,

Thanks for the information.  I had the page sets and setup correct to the best of my knowledge.

I finally got it to work a day or so ago by creating a condition under the "topicref anywhere in chapter" context of the topicref element.  I created the content to 'IF attribute "outputclass" = "wide", then it ties the topicref to a Foldout Page Set that I created.

 

I find navigating the stylesheet very difficult as it seems that the same topic can have NUMEROUS variations and ways to accomplish something.

 

It did not work earlier when trying to create a "topic in chapter" context/condition.  Which is where I thought it should have been since I wanted the entire topic in that chapter to be landscape, not portrait.  

 

Thanks again for the information,

John

12-Amethyst
February 12, 2026

Hi John,

 

I am glad that you were able to resolve this. Thank you for the update.

 

Regards,

Manpreet Singh