OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: Align inlinegraphic to text


Vitaly Ostanin пишет:
> Vitaly Ostanin wrote:
> 
>>Hello.
>>
>>I have trouble with inlinegraphic alignment in PDF output.
>>
>>Markup:
>><orderedlist>
>>  <listitem>
>>    <para>
>>Click <inlinegraphic fileref="button.png" width="19" depth="19"/>
>>    </para>
>>  </listitem>
>></orderedlist>
>>
>>In PDF output I get:
>>
>>1.______XX
>>  Click_XX
>>
>>where XX is button. How can I get another alignment like this ?
>>
>>1.Click_XX
>>________XX
>>
>>inlinegraphic with @valign not works.
> 
> 
> Self reply:
> 
> I added in my customization layer:
> 
> <xsl:attribute-set name="list.block.spacing">
>   <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
>   <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
>   <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
>   <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
>   <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
>   <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
>   <xsl:attribute
> name="line-stacking-strategy">font-height</xsl:attribute>
> </xsl:attribute-set>

And it breaks graphical admonition spacing. Please, add anoter
attribute-set for admonitions, other than "list.block.spacing".

<skipped/>

-- 
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]