DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › page breaks between topics
-
gcrews March 22, 2010 at 9:41 pm
page breaks between topics
March 22, 2010 at 9:41 pmParticipants 10Replies 11Last Activity 12 years, 10 months agoForgive me for asking this specific question that’s probably been covered before but I can’t figure this out. How do I remove the page breaks between topics in pdf output? I’ve been poking all around in the xslt’s and customization files and stuff for the last half hour, but with no luck. Thinking about it, there has got to be some simple way to remove them. When you’re creating a book map for a physical book you would not want 20 topics that make up a chapter to be on individual pages. Am I missing some DITA tagging to put topics together without page breaks between them? OR is a chapter in a book usually just made up one on topic page?
Derek Read March 23, 2010 at 12:04 am
Reply to: page breaks between topics
March 23, 2010 at 12:04 amI can't reproduce this with XMetaL Author Enterprise 6.0 using the “XMetaL Enhanced PDF via RenderX XEP” deliverable type.
Which version of XMetaL Author Enterprise are you running?
Which “deliverable type” are you using to produce your PDF?
Has the XSLT/XSL-FO been modified in a way that might alter this behavior?It is possible that this has something to do with the map/topics you are using to produce the output, but the simplest test to see if you see the same thing as me (eliminating your files from the equation for the moment) would be to open the following sample map from the Help menu (which is a bookmap) and generate output using the “XMetaL Enhanced PDF via RenderX XEP” deliverable type:
Help > Samples > Evaluation Guide (DITA)
You should end up with a document containing 5 chapters that each have several topics within them (as well as some topics before and after those chapters plus the TOC, Index, etc). None of the topics within the chapters should have forced page breaks between them while the chapters themselves always begin on a new page.
gcrews March 23, 2010 at 5:00 pm
Reply to: page breaks between topics
March 23, 2010 at 5:00 pmI tried the Evaluation Guide and low and behold there were no page breaks between the topics. Turns out if you have a chapter tag but with no topic associated with it puts the sub topics on separate book pages.
Thank you for your help, I Knew there must have been some DITA element I was missing.IF September 1, 2010 at 11:51 pm
Reply to: page breaks between topics
September 1, 2010 at 11:51 pmI have a related issue. I am using a DITA map not a DITA bookmap. All topics start on separate pages in the PDF file. Is there a way to change this so that a new topic does not trigger a page break other than using a DITA bookmap and the chapter tag as described above ?
Using XMetal 6.0 on Windows 7. Deliverable type is XMetal Enhanced PDF via RenderX XEP
gcrews September 2, 2010 at 12:00 am
Reply to: page breaks between topics
September 2, 2010 at 12:00 amAre you using topichead or topicgroup by any chance?
IF September 2, 2010 at 12:03 am
Reply to: page breaks between topics
September 2, 2010 at 12:03 amgcrews September 2, 2010 at 12:19 am
Reply to: page breaks between topics
September 2, 2010 at 12:19 amI think it’s doing that because they are all on the main level. If you have a main topicref with everything below that there are no breaks.
IF September 2, 2010 at 2:59 pm
Reply to: page breaks between topics
September 2, 2010 at 2:59 pmYou're right. I inserted my topics below a main topic and that solved the problem.
BTW, using a topic heading or a topic group did not get rid of the page breaks.
Thanks for the help.IF August 23, 2011 at 11:38 pm
Reply to: page breaks between topics
August 23, 2011 at 11:38 pmThe template modifications described here work well: http://tech.groups.yahoo.com/group/dita-users/message/21935 (How to remove page breaks after level-1 topic in the output pdf )
iweyers February 14, 2013 at 8:35 am
Reply to: page breaks between topics
February 14, 2013 at 8:35 amI want to achieve the same thing for my publication. I have a map with only first-level topics and I do not want a title page or page breaks, but have all content follow one another continueously. I followed the link to the tech.groups.yahoo.com post. But I cannot see any of the previews of the template and thus are unable to replicate your solution. Can you help me perhaps with a copy of your template?
IF February 14, 2013 at 9:14 pm
Reply to: page breaks between topics
February 14, 2013 at 9:14 pmI did not implement this in the end. All I have are screen captures that I took at the time when I tried it. Not sure if they will help… Use at your own risk… Isabelle
-
AuthorPosts
- You must be logged in to reply to this topic.