Thanks. That was an unexpected solution. I used two-sided=yes to make sure the 
margins were mirrored for publishing. No worries, though.

 Julio J. Vazquez
Author of Where is Love?, The Truant Murders, Death at Disney and
Practical DITA

cell: 919-630-0484  home: 919-781-1270





________________________________
From: Hussein Shafie <[email protected]>
To: Julio Vazquez <[email protected]>
Cc: [email protected]
Sent: Mon, May 30, 2011 4:27:21 AM
Subject: Re: [ditac] Chapter control

Julio Vazquez wrote:
> I'm working with XMLMind XSL Utility 4.4.2 and I've run into something
> that I haven't been able to find to override. In PDF, the chapters
> currently start on the odd page. I'd like to allow the chapters to start
> on the next page and not have any extra blank pages. Can you point me to
> the right area so can see how it's currently coded?
> 

--> The simplest way to suppress this behavior is to specify XSLT
stylesheet parameter two-sided=no (which in fact, is the default).

See
http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__two-sided


For example, please compare:

http://www.xmlmind.com/ditac/_distrib/doc/manual/manual.pdf

which is double-sided, and hence has its chapters starting on the next
odd page, to:

http://www.xmlmind.com/ditac/_distrib/doc/manual/manual-fop.pdf

which is single-sided, and hence has its chapters starting on any new
page, whether even or odd.



--> If you want to see how it's coded, please take a look at
DITAC_install_dir/xsl/fo/pagination.xsl.

The template of interest being:
---
  <!-- configurePageSequence ====================================== -->

  <xsl:template name="configurePageSequence">
    <!-- The context node is the element (titlePage, toc,
         chapter, etc) which is the head of this page sequence. -->

    <xsl:param name="sequenceName" select="''"/>
    <xsl:param name="frontmatterNames" select="()"/>
    <xsl:param name="bodyNames" select="()"/>
    <xsl:param name="backmatterNames" select="()"/>
    <xsl:param name="topicInfo" select="element()"/>
    <xsl:param name="documentTitle" select="''"/>
...
---
 
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to