Re[2]: [xep-support] initial page number

From: Alexander Peshkov (peshkov@renderx.com)
Date: Thu Sep 30 2004 - 09:19:03 PDT

  • Next message: Alexei Gagarinov: "Re: [xep-support] XEP and Saxon8"

    Hello Nicholas,

    You can pass parameters to the XSLT stylesheet that will set
    initial-page-number for you. XSLT parameters can be specified on XEP
    command-line as described in our documentation: http://xep.xattic.com/xep/doc/userguide.html#Command-Line_XEP
    As for the usage of XSLT parameters in general - I think it is
    described in the most of XSLT references/books. For example there is
    good book with free excerpts from Ken Holman (take a look here:
    http://www.cranesoftwrights.com/training/), there are also several
    mailing lists dedicated to XSLT (main ones are listed on our site at
    http://xep.xattic.com/xep/lists.html).

    Hope this helps.

    Best regards,
    Alexander Peshkov mailto:peshkov@renderx.com
    RenderX

    NG> Again thanks for clearing that up for me.

    NG> We also want to be able to set the initial page number from the command
    NG> line calling XEP. Is this possible with XEP? If so, how do you hand
    NG> parameters in through the command line - and how do you use them in the
    NG> XSLT?

    NG> Kind regards,

    NG> Nicholas Gledhill
     
    NG> Software Engineer / Analyst & Database Publisher
     
    NG> Web Services
    NG> Level 3, G12
    NG> The University of Sydney
     
    NG> Ph: (02) 9351 6354
    NG> Ext: 16354
    NG> Fax: 9351 8729

    NG> -----Original Message-----
    NG> From: owner-xep-support@renderx.com
    NG> [mailto:owner-xep-support@renderx.com] On Behalf Of Alexander Peshkov
    NG> Sent: Thursday, 30 September 2004 12:31 AM
    NG> To: Nicholas Gledhill
    NG> Subject: Re: [xep-support] initial page number

    NG> Hello Nicholas,

    NG> The 'initial-page-number' attribute should be set on fo:page-sequence
    NG> element.
    NG> Regarding your questions about spanning blocks: elements with
    NG> span="all" allowed only as direct children of fo:flow element and as
    NG> far as I know there is no way to circumvent this limitation.
    NG> Therefore I recommend you to return a step back and look if you can
    NG> change something at document-generation stage in order to avoid
    NG> the necessity for spanning blocks deeper in elements hierarchy.

    NG> Best regards,
    NG> Alexander Peshkov mailto:peshkov@renderx.com
    NG> RenderX

    NG>> I've tried to implement the initial-page-number attribute but I keep
    NG>> getting errors when I use them in the "<fo:page-sequence" or
    NG>> "<fo:page-sequence-master" objects. Can someone tell me where I am
    NG>> supposed to set the initial-page-number attribute?

    NG>> Thanks.

    NG>> Nicholas Gledhill
    NG>> Software Engineer / Analyst & Database Publisher
    NG>> Web Services
    NG>> Level 3, G12
    NG>> NG> The University of Sydney
    NG>> Ph: (02) 9351 6354
    NG>> Ext: 16354
    NG>> Fax: 9351 8729

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

    NG> -------------------
    NG> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    NG> in the body of the message to majordomo@renderx.com from the address
    NG> you are subscribed from.
    NG> (*) 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 : Thu Sep 30 2004 - 09:41:44 PDT