Hi Scott,
The toc is put into its own page-sequence, calling the select.pagemaster template. That template does not have a choice for 'toc', so it falls back to 'body', which gives you two columns. You can customize the 'select.user.pagemaster' template to choose 'front' instead when the element is 'toc'.

I presume to get rid of the default front TOC you set the 'generate.toc' param to either blank or 'book nop'?

Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


----- Original Message ----- From: "Scott Hudson" <[EMAIL PROTECTED]>
To: "Docbook-Apps" <[email protected]>
Sent: Thursday, November 13, 2008 2:15 PM
Subject: Re: [docbook-apps] Placement of auto-generated TOC


OK, the placement seems to work properly, but I am setting:
  <xsl:param name="column.count.titlepage" select="1"/>
  <xsl:param name="column.count.lot" select="1"/>
  <xsl:param name="column.count.front" select="1"/>
  <xsl:param name="column.count.body" select="2"/>
  <xsl:param name="column.count.back" select="2"/>
  <xsl:param name="column.count.index" select="2"/>

Yet, my toc is still coming out in a 2 column flow. Do I have to set a pagemaster differently somehow for empty tocs?

Thanks,

--Scott

Scott Hudson wrote:
I've got a book, where the TOC should be inserted at the end of the frontmatter.

I've got several preface elements in the frontmatter, so the book is essentially:
<book>
  <preface>...</preface>
  <preface>...</preface>
  <preface>...</preface>
  <toc/>
...
</book>

I've set the <xsl:param name="process.empty.source.toc" select="1"/> param in my customization layer, but the TOC keeps showing up at the front of the doc. What am I missing?

I'm using the 1.74.0 stylesheets.

Thanks and best regards,

-- Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to