docbook-apps

  • 1.  When double-sided print, how to avoid chapter starting on odd pages?

    Posted 08-14-2020 18:04
    Hallo,

    I am using docbook for an book on butterflies and moths. The design is
    in A4, the brochure print is half size. The color print becomes
    increasingly expensive, since I have to pay for colour pages even if a
    page is empty. Since I adopted to double-sided organization for the sake
    of the thumb index, the empty (ever) pages before a new chapter cause
    increased costs. How can I avoid these empty pages? Which template to
    change?

    Thanks for any help!

    Bernhard


    --
    spitzhalde9
    D-79853 lenzkirch
    bernhard.kleine@gmx.net
    www.b-kleine.com, www.urseetal.net
    Ich darf auch auf mein neues Buch "Falter in Lenzkirch" aufmerksam machen
    (Infos bei mir)
    -
    thunderbird mit enigmail
    GPG schlüssel: D5257409
    fingerprint:
    08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09





  • 2.  Re: [docbook-apps] When double-sided print, how to avoid chapter starting on odd pages?

    Posted 08-14-2020 18:39
    On 14/08/2020 19:04, Bernhard Kleine wrote:
    > I am using docbook for an book on butterflies and moths. The design is
    > in A4, the brochure print is half size. The color print becomes
    > increasingly expensive, since I have to pay for colour pages even if a
    > page is empty. Since I adopted to double-sided organization for the sake
    > of the thumb index, the empty (ever) pages before a new chapter cause
    > increased costs. How can I avoid these empty pages? Which template to
    > change?

    It looks like you need to set the 'force.blank.pages' parameter [1] to '0'.

    Regards,


    Tony Graham.
    --
    Senior Architect
    XML Division
    Antenna House, Inc.
    ----
    Skerries, Ireland
    tgraham@antenna.co.jp


    [1]
    http://docbook.sourceforge.net/release/xsl/current/doc/fo/force.blank.pages.html



  • 3.  Re: [docbook-apps] When double-sided print, how to avoid chapter starting on odd pages?

    Posted 08-15-2020 15:40

    Am 14.08.2020 um 20:38 schrieb Tony Graham:
    > On 14/08/2020 19:04, Bernhard Kleine wrote:
    >> I am using docbook for an book on butterflies and moths. The design is
    >> in A4, the brochure print is half size. The color print becomes
    >> increasingly expensive, since I have to pay for colour pages even if a
    >> page is empty. Since I adopted to double-sided organization for the sake
    >> of the thumb index, the empty (ever) pages before a new chapter cause
    >> increased costs. How can I avoid these empty pages? Which template to
    >> change?
    >
    > It looks like you need to set the 'force.blank.pages' parameter [1] to
    > '0'.
    >
    Obviously that does not help very much: The page numbering and the thumb
    index will be on the wrong (inner) side doing this. There is to be
    something else: At first: if a page is empty, skip it; but secondly let
    the odd page following be an "even" one, and thirdly, adjust page
    numbering and thumb index accordingly.

    Regards

    Bernhard

    --
    spitzhalde9
    D-79853 lenzkirch
    bernhard.kleine@gmx.net
    www.b-kleine.com, www.urseetal.net
    Ich darf auch auf mein neues Buch "Falter in Lenzkirch" aufmerksam machen
    (Infos bei mir)
    -
    thunderbird mit enigmail
    GPG schlüssel: D5257409
    fingerprint:
    08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09





  • 4.  Re: [docbook-apps] When double-sided print, how to avoid chapter starting on odd pages?

    Posted 08-15-2020 17:42
    There are additional steps required because of the way XSL-FO uses
    page-sequences for book components like chapters, etc. and the multiple
    XSL-FO properties that control page numbering, so getting the boundaries
    between page sequences to work is the issue..  This thread describes
    other parameters and changes that need to be made.

    https://lists.oasis-open.org/archives/docbook-apps/200707/msg00093.html

    It does not cover the thumb index because that's your own customization.

    Bob Stayton
    bobs@sagehill.net

    On 8/15/2020 8:39 AM, Bernhard Kleine wrote:
    > Am 14.08.2020 um 20:38 schrieb Tony Graham:
    >> On 14/08/2020 19:04, Bernhard Kleine wrote:
    >>> I am using docbook for an book on butterflies and moths. The design is
    >>> in A4, the brochure print is half size. The color print becomes
    >>> increasingly expensive, since I have to pay for colour pages even if a
    >>> page is empty. Since I adopted to double-sided organization for the sake
    >>> of the thumb index, the empty (ever) pages before a new chapter cause
    >>> increased costs. How can I avoid these empty pages? Which template to
    >>> change?
    >> It looks like you need to set the 'force.blank.pages' parameter [1] to
    >> '0'.
    >>
    > Obviously that does not help very much: The page numbering and the thumb
    > index will be on the wrong (inner) side doing this. There is to be
    > something else: At first: if a page is empty, skip it; but secondly let
    > the odd page following be an "even" one, and thirdly, adjust page
    > numbering and thumb index accordingly.
    >
    > Regards
    >
    > Bernhard
    >