RE: [xep-support] vertical block alignment

From: Jack Broeren (jbroeren@ambrac.nl)
Date: Tue Aug 26 2003 - 08:10:46 PDT

  • Next message: Thonger, Ewan: "RE: [xep-support] Can Renderx be used within an EJB ?"

    It turned out to be a parser problem: when using xt i get the result
    i want, with msxsl i got something else :S

    thanks for the tip,

    kind regards,

            Jack Broeren

    > -----Original Message-----
    > From: owner-xep-support@renderx.com
    > [mailto:owner-xep-support@renderx.com]On Behalf Of Alexander Peshkov
    > Sent: Monday, August 25, 2003 3:00 PM
    > To: Jack Broeren
    > Subject: Re: [xep-support] vertical block alignment
    >
    >
    > Hello Jack,
    >
    > The simple solution is to add both keep-with-next.within-line="always"
    > and keep-with-previous.within-line="always" to fo:leader. In this case
    > page number citation (nr) will never be left alone on the line (note
    > that there are should not be any spaces adjacent to fo:leader).
    > However if you want nr to be outdented to the right from the chapter
    > text you can add positive end-indent and appropriate negative
    > last-line-end-indent to the whole block, i.e.:
    > <fo:block text-align-last="justify" end-indent="20pt"
    > last-line-end-indent="-20pt">
    > some title text page<fo:leader
    > keep-with-next.within-line="always"
    > keep-with-previous.within-line="always"/>nr
    > </fo:block>
    >
    > Hope this helps.
    >
    > Best regards,
    > Alexander Peshkov
    > mailto:peshkov@renderx.com
    > RenderX
    >
    > JB> Hi there,
    >
    > JB> i have been strugling the last few days with a toc problem:
    > JB> what i want is the following:
    >
    > JB> it's a two columns toc and every item should be like:
    >
    > JB> NR some title text pagenr
    >
    > JB> NR is a chapter number: should be right aligned: is no problem
    > JB> 'some title text' is the chapter text: should be aligned left and
    > JB> can span multiple lines: no problem either
    > JB> pagenr is the pagenr: it should be aligned right and at the
    > JB> same height as the last line of chapter text: here the
    > puzzle starts
    >
    > JB> I tried the <fo:leader> in a block with the
    > 'text-align-last="justify"'
    > JB> attribute but sometimes the pagenr gets pushed to the new
    > line and i get
    > JB> a line like:
    > JB> 1 9
    >
    > JB> I tried nested fo-list blocks but i can't find a way to
    > get the pagenr
    > JB> at the same height as the last line of the chapter title.
    >
    > JB> I am obviously missing something simple, i hope. Can
    > anyone tell me
    > JB> what it is ?
    >
    > JB> kind regards,
    >
    > JB> Jack Broeren (Ambrac)
    >
    >
    >
    >
    >
    >
    >
    > JB> ---
    > JB> Outgoing mail is certified Virus Free.
    > JB> Checked by AVG anti-virus system (http://www.grisoft.com).
    > JB> Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003
    >
    >
    > JB> -------------------
    > JB> (*) To unsubscribe, send a message with words
    > 'unsubscribe xep-support'
    > JB> in the body of the message to majordomo@renderx.com from
    > the address
    > JB> you are subscribed from.
    > JB> (*) 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
    > ---
    > Incoming mail is certified Virus Free.
    > Checked by AVG anti-virus system (http://www.grisoft.com).
    > Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003
    >

    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003
     
    -------------------
    (*) 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 : Tue Aug 26 2003 - 08:15:30 PDT