docbook-apps

  • 1.  Re: [docbook-apps] Alignment of an uneven multi-line footer

    Posted 02-12-2014 00:51

    On 11/02/14 03:22, Bob Stayton wrote:
    > Unfortunately, the display-align property is hard coded into the layout
    > table for the footer, so that will require customizing the footer table.
    Changing display-align="before" for the middle cell achieved the desired
    result, thanks!

    > The reason display-align="after" is used in the footer is so that the
    > "page.margin.bottom" setting is accurate and consistent. See the
    > diagram on this page:

    What are the possible side-effects of changing display-align? I do need
    my custom page.margin.bottom working as well.

    > http://www.sagehill.net/docbookxsl/PrintOutput.html#TopBotMargins
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    > On 2/9/2014 9:12 PM, Vadim Peretokin wrote:
    >> Hi,
    >>
    >> I've got a footer which uses blocks for stacking information (per "Multi-line header or footer" from Running headers and footers<http://www.sagehill.net/docbookxsl/PrintHeaders.html>). The centre row has one block, the side row has two blocks, which are rendered like this:
    >>
    >> [cid:part2.06080007.04030509@nehta.gov.au]
    >> (background colours added for clarity)
    >>
    >> Is it possible to make the centre row align to the top instead of the bottom by default without redoing the whole setup as a customisation of the table template?
    >> --
    >>
    >> Vadim Peretokin
    >> Clinical Information Modeller
    >> nehta - National E-Health Transition Authority
    >> Level 2, 10 Browning St, West End, QLD 4101, Australia
    >> Phone: (0) 3023 8573
    >> Email: vadim.peretokin@nehta.gov.au<mailto:firstname.lastname@nehta.gov.au>
    >> Web: 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.
    >>
    >>
    >>
    >>
    >> ---------------------------------------------------------------------
    >> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    >> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >>



    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.



  • 2.  Re: [docbook-apps] Alignment of an uneven multi-line footer

    Posted 02-12-2014 06:26
    Hi Vadim,
    If you look at the diagram I mentioned, you can see that the
    page.margin.bottom param sets the bottom position of the
    region.after.extent. If that extent is tall and your text resides at
    the top of it, then it will appear that the visible margin (from bottom
    of the paper to the bottom of the footer text) is larger than
    page.margin.bottom.

    I wonder about setting display-align="before" on only one of the three
    table cells. How do you get the baselines to line up? Also, what
    happens if that cell on some pages has only one line of text?

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net

    On 2/11/2014 4:51 PM, Vadim Peretokin wrote:
    >
    > On 11/02/14 03:22, Bob Stayton wrote:
    >> Unfortunately, the display-align property is hard coded into the layout
    >> table for the footer, so that will require customizing the footer table.
    > Changing display-align="before" for the middle cell achieved the desired
    > result, thanks!
    >
    >> The reason display-align="after" is used in the footer is so that the
    >> "page.margin.bottom" setting is accurate and consistent. See the
    >> diagram on this page:
    >
    > What are the possible side-effects of changing display-align? I do need
    > my custom page.margin.bottom working as well.
    >
    >> http://www.sagehill.net/docbookxsl/PrintOutput.html#TopBotMargins
    >>
    >> Bob Stayton
    >> Sagehill Enterprises
    >> bobs@sagehill.net
    >>
    >> On 2/9/2014 9:12 PM, Vadim Peretokin wrote:
    >>> Hi,
    >>>
    >>> I've got a footer which uses blocks for stacking information (per "Multi-line header or footer" from Running headers and footers<http://www.sagehill.net/docbookxsl/PrintHeaders.html>). The centre row has one block, the side row has two blocks, which are rendered like this:
    >>>
    >>> [cid:part2.06080007.04030509@nehta.gov.au]
    >>> (background colours added for clarity)
    >>>
    >>> Is it possible to make the centre row align to the top instead of the bottom by default without redoing the whole setup as a customisation of the table template?
    >>> --
    >>>
    >>> Vadim Peretokin
    >>> Clinical Information Modeller
    >>> nehta - National E-Health Transition Authority
    >>> Level 2, 10 Browning St, West End, QLD 4101, Australia
    >>> Phone: (0) 3023 8573
    >>> Email: vadim.peretokin@nehta.gov.au<mailto:firstname.lastname@nehta.gov.au>
    >>> Web: 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.
    >>>
    >>>
    >>>
    >>>
    >>> ---------------------------------------------------------------------
    >>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    >>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >>>
    >
    >
    >
    > 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.
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >
    >
    >