Search the web
Sign In
New User? Sign Up
dita-users · DITA users group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
pdf2 top level topics starting new page.   Message List  
Reply | Forward Message #12749 of 16159 |
Re: [dita-users] pdf2 top level topics starting new page.

We found that by default, top level topics shouldn't break to a new page. In our customized pdf2 code, we create a page break only if <topicref outputclass="break"> is specified by the author. In that case we apply <xsl:attribute name="break-before">page</xsl:attribute> to the <fo:block> that formats the topic. I would check for a similar page break attribute in an attribute set called "topic.topic.title" in your pdf2 code. Might be something in there that is causing the behavior you describe.
Paul Masalsky - paulmasalsky@...
EMC


--- On Mon, 1/5/09, Shawn McKenzie <smckenzie23@...> wrote:
From: Shawn McKenzie <smckenzie23@...>
Subject: [dita-users] pdf2 top level topics starting new page.
To: dita-users@yahoogroups.com
Date: Monday, January 5, 2009, 4:36 PM

Trying to sort through changing the FO so the top level topics in a
ditamap don't start a new page. I don't see anything in the attribute
sets that should be causing it, so I'm thinking top level topics are
their own FO block or something, but I can't tell as I can't seem to
find the FO file. Seems like I used to know how to find this, but I've
lost it.

Any suggestions on how to get topics to not start a new page, or how I
can find the FO so I can sort it out myself?



Tue Jan 6, 2009 1:49 pm

paulmasalsky
Offline Offline
Send Email Send Email

Forward
Message #12749 of 16159 |
Expand Messages Author Sort by Date

Trying to sort through changing the FO so the top level topics in a ditamap don't start a new page. I don't see anything in the attribute sets that should be...
Shawn McKenzie
smckenzie23
Offline Send Email
Jan 5, 2009
9:36 pm

We found that by default, top level topics shouldn't break to a new page. In our customized pdf2 code, we create a page break only if <topicref...
Paul Masalsky
paulmasalsky
Offline Send Email
Jan 6, 2009
1:49 pm

Hey Shawn, This behaviour is hard-coded; to change it you'll need to override a template in demo/fo/xsl/fo/commons.xsl, around line 184: <xsl:template...
Chris Johnson
chris_xmetal
Offline Send Email
Jan 7, 2009
5:40 pm

Customisation code to remove page breaks before heading 1 elements in PDF: http://tech.groups.yahoo.com/group/dita-users/message/11270 To keep the topic.fo...
Phil Champ
philchamp
Offline Send Email
Jan 6, 2009
1:54 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help