docbook-apps

Re: [docbook-apps] Customising provisional-distance-between-starts in an orderedlist

  • 1.  Re: [docbook-apps] Customising provisional-distance-between-starts in an orderedlist

    Posted 02-25-2014 01:14

    On 25/02/14 03:29, Bob Stayton wrote:

    Hi,
    That particular property is controlled by a separate stylesheet
    parameter, as well as an optional processing instruction for an
    individual list. Those override the attribute-set property. See the
    second half of this webpage for details:

    http://www.sagehill.net/docbookxsl/ListSpacing.html#ListHorizSpacing


    Thanks - orderedlist.label.width was it!



    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net<mailto:bobs@sagehill.net>

    On 2/23/2014 9:50 PM, Vadim Peretokin wrote:


    Hi,

    How can I go about customising the value of provisional-distance-between-starts that is used for an orderedlist? It is currently at 1.2em in my XSL FO output and that is not enough for double-digit numbers - they get squished in. param.xsl defines the value at 2em, but that is not what I get in the output (I get 1.2em). I tried copying the following into my customisation layer:

    <xsl:attribute-set name="orderedlist.properties" use-attribute-sets="list.block.properties">
    <xsl:attribute name="provisional-distance-between-starts">2em</xsl:attribute>
    </xsl:attribute-set>


    Which didn't have any effect. provisional-distance-between-starts is used a lot in lists.xsl, and I can't tell exactly which instance exactly passes the value in.

    Vadim Peretokin
    Clinical Information Modeller
    nehta - National E-Health Transition Authority
    NEHTA Brisbane Office
    Level 2, 10 Browning Street
    West End QLD 4101
    Phone: (0) 3023 8573
    Mobile: (0) 431 511 032
    Fax: (02) 8298 2666
    Email: vadim.peretokin@nehta.gov.au<mailto:vadim.peretokin@nehta.gov.au><mailto:vadim.peretokin@nehta.gov.au><mailto:vadim.peretokin@nehta.gov.au>
    Web: www.nehta.gov.au<http://www.nehta.gov.au><http://www.nehta.gov.au/><http://www.nehta.gov.au/>



    The information contained in this e-mail message and any accompanying files is or may be privileged or confidential. If you are not the intended recipient, any use, dissemination, reliance, forwarding, printing or copying of this e-mail or any attached files is unauthorised. This e-mail and any attachments may be subject to copyright. Copyright material should not be reproduced, adapted or communicated without the written consent of the copyright owner. If you have received this e-mail in error please advise the sender immediately by return e-mail or telephone and delete all copies. NEHTA does not make any representations or give any guarantees in respect of the accuracy or completeness of any information contained in this e-mail or attached files. Internet communications are not secure, therefore NEHTA does not accept any liability for the contents of this message or attached files.








    The information contained in this e-mail message and any accompanying files is or may be privileged or confidential. If you are not the intended recipient, any use, dissemination, reliance, forwarding, printing or copying of this e-mail or any attached files is unauthorised. This e-mail and any attachments may be subject to copyright. Copyright material should not be reproduced, adapted or communicated without the written consent of the copyright owner. If you have received this e-mail in error please advise the sender immediately by return e-mail or telephone and delete all copies. NEHTA does not make any representations or give any guarantees in respect of the accuracy or completeness of any information contained in this e-mail or attached files. Internet communications are not secure, therefore NEHTA does not accept any liability for the contents of this message or attached files.