[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Inlinemediaobject relocates numbering of orderedlist
Hi, Well, sort of. Setting the line-stacking-strategy to "font-height" sets a fixed line height for all the lines in the block. If you put that on the fo:list-block, then it will be applied to both the list item number block and the para block. Then the number and first para line will have the same line height, so the first line of the para will have the same baseline position as the orderedlist number. But the inline image will stick up above the line, because the formatter no longer takes into account the height of the content in each line. Depending on how tall the image is, it could collide with the text above. If the the image is in the first line of the para, then the space above the listitem relative to the graphic size will determine if it will fit. If the image is not in the first line of the para, then it most likely will extend upward and collide with the previous lines of text. So that could work, but only under very specific conditions. Bob Stayton Sagehill Enterprises bobs@sagehill.net ----- Original Message ----- From: "Lwam Berhane" <berhane@punkt.de> To: "Bob Stayton" <bobs@sagehill.net>; <docbook-apps@lists.oasis-open.org> Sent: Monday, January 17, 2011 6:26 AM Subject: Re: [docbook-apps] Inlinemediaobject relocates numbering of orderedlist > Hi Bob! > Is line-stacking-strategy="font-height" also a solution for the height of > inlinegraphics in the print output? > > Regards Lwam > > > Am 27.12.2010 15:20, schrieb Bob Stayton: >> I suspect what is happening is that the inline image is taller than the >> text and is pushing down the baseline for the first line of the >> paragraph., while the baseline of the number is unchanged. The solution >> would be to add relative-align="baseline" property to the fo:list-item >> to the attribute-set named "list.item.spacing". That would push down the >> baseline of the number to match the paragraph text. Unfortunately, if >> you are using FOP, that property is not yet supported in FOP. See this >> reference for what is supported in FOP. >> >> http://xmlgraphics.apache.org/fop/compliance.html >> >> I don't think there is a solution for FOP at this time, except to make >> your inline images smaller. >> >> Bob Stayton >> Sagehill Enterprises >> bobs@sagehill.net >> >> >> ----- Original Message ----- From: "Lwam Berhane" <berhane@punkt.de> >> To: <docbook-apps@lists.oasis-open.org> >> Sent: Tuesday, December 21, 2010 8:25 AM >> Subject: [docbook-apps] Inlinemediaobject relocates numbering of >> orderedlist >> >> >> Hi guys! >> >> I am using inlinemediaobject/imageobject/imagedata very often. >> >> If I use inlinemediaobject in an orderlist the list numbering of the >> listitems is relocated in the FO output! >> >> Any solution? >> >> Best regards, Lwam > > > -- > Gruß Lwam Berhane > > > > punkt.de GmbH TYPO3-Internet-Dienstleistungen-Beratung > Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100 > 76133 Karlsruhe info@punkt.de http://punkt.de/ > AG Mannheim 108285 Gf: Jürgen Egeling > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]