OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook-apps] Force TOC and Chapter 1 on odd pages with $double.sided=0


That's it!  That works. I was just looking at that template when I received
your email. Thank You.

Jerry Janofsky

-----Original Message-----
From: Keith Fahlgren [mailto:abdelazer@gmail.com] 
Sent: Tuesday, October 03, 2006 1:42 PM
To: Jerry Janofsky
Cc: docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] Force TOC and Chapter 1 on odd pages with

On 10/3/06, Jerry Janofsky <JanofskyJ@comcast.net> wrote:
> Thanks for this information, however, doesn't the "initial.page.number"
> template just affect the actual page numbers but not the placement of the
> pages themselves?

Oops.. yes.

> Another way to word my issue is this:
> I know it is sounds rather non-standard, but many of my "Chapter" elements
> only contain "mediaobjects". When the document is printed, I need the
> resulting mediaobjects to just run consecutively. Without any chapter
> interruptions.

No, this is exactly the same thing I do, which is why I grabbed the
first template that matched what I was expecting. How about this one:

  <xsl:template name="force.page.count">
    <xsl:param name="element" select="local-name(.)"/>
    <xsl:param name="master-reference" select="''"/>
      <xsl:when test="$double.sided != 0">
          <xsl:when test="$element = 'toc'">end-on-even</xsl:when>
          <xsl:when test="$element = 'book'">end-on-even</xsl:when>
          <xsl:when test="$element = 'preface'">end-on-even</xsl:when>
          <xsl:when test="$element = 'part'">end-on-even</xsl:when>
          <xsl:when test="($element = 'chapter') and
          <xsl:when test="($element = 'appendix') and
          <!-- Otherwise, always start on right, not what you want... -->
          <!-- so comment it out
          <!-- Or, allow left starts, what you want-->
      <!-- single-sided output -->


To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]