Re: [xep-support] wrong landing position when jumping

From: Bob Stayton (bobs@sagehill.net)
Date: Wed Apr 07 2004 - 10:18:30 PDT

  • Next message: Nikolai Grigoriev: "Re: [xep-support] XEP deployment issues"

    This is really a question for the docbook-apps mailing list since it is a
    DocBook XSL stylesheet issue.

    Using the 'section.level1.properties' attribute set works for me when I test
    with version 1.65.1 of the stylesheets and XEP 3. That's the attribute set
    you should be using because the bookmark will work with it.

    Can you peek inside the fo file to see if the outer fo:block that starts the
    section has the property? The outer fo:block has the id property for the
    section too, so it should look like this:

    <fo:block id="mysectionid" break-before="page">

    If the break-before property is there, then there is a problem with XEP. If
    the property is not there, then something is going wrong with your
    stylesheet customization.

    Bob Stayton
    Sagehill Enterprises
    DocBook Consulting
    bobs@sagehill.net

    ----- Original Message -----
    From: "Kai Becker" <k.becker@bmiag.de>
    To: <xep-support@renderx.com>
    Sent: Wednesday, April 07, 2004 8:27 AM
    Subject: [xep-support] wrong landing position when jumping

    > Hi xep-support
    >
    > I'm using XMLmind V2.5p2 combined with xep stamped client 3.7.5 to edit
    and
    > publish DocBook 4.2 documents with DocBook stylesheets 1.65.
    >
    > I have two connected problems:
    >
    > 1.
    > I want to start every docbook level1 section on a new page. So I define in
    > my
    > parameter file:
    >
    > <xsl:attribute-set name="section.level1.properties">
    > <xsl:attribute name="break-before">page</xsl:attribute>
    > </xsl:attribute-set>
    >
    > This has no result!
    >
    > Only defining:
    >
    > <xsl:attribute-set name="section.title.level1.properties">
    > <xsl:attribute name="break-before">page</xsl:attribute>
    > </xsl:attribute-set>
    >
    > has the expected result and starts every section of level 1 on an new
    page.
    > I think definig the page-break as a section.title property seems wrong.
    >
    > 2.
    > Using TOC lines and bookmarks in the generated pdf document to jump to
    > sections level 1 does not land on the new page where the new section
    starts
    > but on the page before this, where the old section ends and where the new
    > section would start if the above properties were not set.
    >
    > The second is my greater problem because I do not know how to circumvent
    it.
    > I tried the same parameter file with fop and then every thing seems
    (jumps)
    > fine
    > (but fop has many other shortcomings so I want to use xep).
    >
    > Do you habe any idea to solve this ?
    > Thank you in advance
    >
    > Kai-Christian Becker
    >
    > -------------------
    > (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    > in the body of the message to majordomo@renderx.com from the address
    > you are subscribed from.
    > (*) By using the Service, you expressly agree to these Terms of Service
    http://www.renderx.com/tos.html
    >
    >

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



    This archive was generated by hypermail 2.1.5 : Wed Apr 07 2004 - 10:40:38 PDT