Start a topic
With the exception of Windchill, The PTC Community is on read-only status until April 6 in preparation for moving our community to a new platform. Learn more here
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here

Translate the entire conversation x

Differing Page Layouts in DITA2.0 Bookmap

JHollis
12-Amethyst

Differing Page Layouts in DITA2.0 Bookmap

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 

ACCEPTED SOLUTION

Accepted Solutions
JHollis
12-Amethyst
(To:manpsingh)

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

View solution in original post

3 REPLIES 3
manpsingh
12-Amethyst
(To:JHollis)

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

JHollis
12-Amethyst
(To:manpsingh)

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

manpsingh
12-Amethyst
(To:JHollis)

Hi John,

 

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

 

Regards,

Manpreet Singh

Announcements


Top Tags