Hi Bob,
on 03.11.2012 04:25 Bob Stayton said the following:
> Hi Andreas,
> I'm not able to duplicate your problem of "align" in CSS styles. When I
> process your example with docbook-xsl-1.77.1/epub3/chunk.xsl without any
> customization, I get the following output:
>
> <div class="figure" id="FigCMOverview">
> <div class="figure-contents">
> <div style="text-align: center; " class="mediaobject">
> <table style="border: 0; width: 80%; cellpadding: 0; cellspacing: 0;">
> <tr>
> <td style="text-align: center; ">
> <img style="text-align: middle; width: 100%; "
> src="images/CM-Overview.png" alt="AfterShot color management overview"/>
> </td>
> </tr>
> </table>
> </div>
> </div>
> <div class="figure-title">Figure 1.1. AfterShot lor management
> overview</div>
> </div>
>
> Note that "text-align" is used, not "align".
I still get align ;-(
> What output do you get when you process your document with epub3/chunk.xsl
> directly rather than with your customization? If you find they are
> different, then send me your customization.
Here is what I get when using chunk.xsl directly instead of my customization
file:
<div class="figure">
<a id="FigCMOverview"/>
<div class="figure-title">Figure 3.1. AfterShot color management
overview</div>
<div class="figure-contents">
<div style="align: center; " class="mediaobject">
<table style="border: 0; border-spacing: 0; padding: 0; width: 80%;">
<tr>
<td style="align: center; ">
<img style="align: middle; width: 100%;"
src="images/CM-Overview.png"
alt="AfterShot color management overview"/>
</td>
</tr>
</table>
</div>
</div>
</div>
Am I using some old stuff?
The readme in in the epub3 directory says
30 September 2011
thx
afx
>
> Bob Stayton
> Sagehill Enterprises
> [email protected]
>
> --------------------------------------------------
> From: "Andreas F.X. Siegert" <[email protected]>
> Sent: Friday, November 02, 2012 2:20 PM
> To: <[email protected]>
> Subject: Re: [docbook-apps] epub heading levels and centered images
>
>> Hi Bob,
>>
>> on 02.11.2012 22:15 Bob Stayton said the following:
>>> Hi Andreas,
>>> I'm a bit lost now. Can you describe in more detail what you are trying to
>>> do and what you have tried?
>>
>> here is my docbook entry:
>>
>> <figure id="FigCMOverview">
>> <title>AfterShot color management overview</title>
>> <mediaobject>
>> <imageobject>
>> <imagedata fileref="images/CM-Overview.png" format="PNG"
>> width="80%" align="center"/>
>> </imageobject>
>> </mediaobject>
>> </figure>
>>
>> I have nothing image/media specific in my XSL style file.
>> And I get this in the xhtml:
>> <div class="figure">
>> <a id="FigCMTunnel"/>
>> <div class="figure-contents">
>> <div style="align: center; " class="mediaobject">
>> <table style="border: 0; border-spacing: 0; padding: 0; width: 80%; ">
>> <tr>
>> <td style="align: center; ">
>> <img style="align: middle; width: 100%; "
>> src="images/CM-Tunnel.png"
>> alt="The gamut pipe"/>
>> </td>
>> </tr>
>> </table>
>> </div>
>> </div>
>> <div class="figure-title">Figure 3.3. The gamut pipe</div>
>> </div>
>>
>> I need the align center in the docbook file for the generated pdf...
>> I have nothing image specific in my epub style file.
>>
>>
>> thx
>> afx
>>
>>
>> --
>> http://afximages.com/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>
--
http://afximages.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]