Loading ...
Sorry, an error occurred while loading the content.

306Re: [XSL-FO] Vert. alignment of list-item-label/-body (XEP 2.21)

Expand Messages
  • Nikolai Grigoriev
    Apr 2, 2001

      I have formatted your fragment with the eval version of XEP 2.21,
      and I cannot reproduce the problem. Could you please send me
      a full FO file, so that I can look at the contents of your fo:basic link?

      However, what you describe is quite possible: it may happen if your
      fo:basic-link element contains inlined graphics, inclusions of larger
      fonts, etc. Fo:basic-link is treated as an inline element in XSL FO; if it
      contains tall elements, it increases the height of the line where it stays.

      As a workaround, I can suggest using line-stacking-strategy="font-height"
      on lists. This makes a fixed separation between consecutive lines
      (equal to the computed value of the line-height attribute). As a result,
      all baseline shifts due to nested inlines should go away.

      Ken Holman already said that we still don't support relative-align="baseline"
      It looks like this is becoming a real priority; we will try to deal with it as
      as possible.

      Best regards,
      Nikolai Grigoriev


      ----- Original Message -----
      From: "John E. Simpson" <simpson@...>
      To: <XSL-FO@yahoogroups.com>
      Cc: <support@...>
      Sent: Sunday, April 01, 2001 10:28 PM
      Subject: Re: [XSL-FO] Vert. alignment of list-item-label/-body (XEP 2.21)

      > Comparing the result I just reported to the list a few minutes ago, with
      > the result I'd gotten on the previous version of the XSLT stylesheet (which
      > didn't have the "helium-filled pilcrow" effect), I see I made one change.
      > The change was to add the fo:basic-link element, to convert the
      > fo:list-item-body's contents to a hyperlink.
      > Could that somehow have created the problem? How are fo:basic-link FOs
      > stacked within an fo:block?
      > ================================================================
      > John E. Simpson | "I had a friend who was a clown. When
      > http://www.flixml.org | he died, all his friends went to the
      > XML Q&A: www.xml.com | funeral in one car." --Steven Wright