← Prev in month ← Prev in thread

How to remove page breaks between articles in book

From
Michael Broschinsky <>
Date
2013-03-16T22:18:19+00:00
ID
Thread
How to remove page breaks between articles in book
I have the following Docbook file:

<book xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
  <info>
    <title>Family History Encyclopedia</title>
  </info>
    <article>
      <title>Article the first</title>
      <para>Now is the time for all good men to come to the aid of their country. We hold these truths to be self-evident; that all men are created equal. Four-score and seven years ago. Ask not what your country can do for your, as what you can do for your country. Whatever the mind of man can conceive, it can acheive.</para>
    </article>
    <article>
      <title>Article the second</title>
      <para>Now is the time for all good men to come to the aid of their country. We hold these truths to be self-evident; that all men are created equal. Four-score and seven years ago. Ask not what your country can do for your, as what you can do for your country. Whatever the mind of man can conceive, it can acheive.</para>
</book>

I process this file using the stock DocBook stylesheets to produce fo output using this command line:

C:\Programs>xsltproc --output book.fo --stringparam column.count.body 2 C:\Programs\docbook-xsl-ns\fo\docbook.xsl book.xml

I then process using fop ver. 1.1 to get the pdf output.

The articles each begin a new page. I poked around in the stylesheets and found titlepage.templates.xsl which seems to default to haveing articles always begin on a recto page. Is it possible to have the articles appear consecutively?

Thanks,

Mike
← Prev in month ← Prev in thread