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: [docbook-apps] epub heading levels and centered images


Hi Andreas,
You seem to have downloaded the "doc" archive, not the xsl archive itself. You want docbook-xsl-1.77.1.zip.

Looking at webpage for the URL reference I gave you, though, I can see how that happened. The line at the top that says "Looking for the latest version? Download docbook-xsl-doc-1.77.1zip (2.2 MB)" is incorrect for that webpage, because it is listing the "doc" archive. I'm not clear how that got there, but I'll see if I can fix it.

This page is now obsolete:

http://sourceforge.net/projects/docbook/files/epub3/


It contains an earlier experimental version. I thought that link was turned off, but it seems to have come back. But now I see why the README had a date in it.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

--------------------------------------------------
From: "Andreas F.X. Siegert" <afx@afximages.com>
Sent: Saturday, November 03, 2012 11:04 AM
To: <docbook-apps@lists.oasis-open.org>
Subject: Re: [docbook-apps] epub heading levels and centered images

on 03.11.2012 16:41 Bob Stayton said the following:
Interesting. I'm looking at docbook-xsl-1.77.1/epub3/README, and it has no
date in it.  The first release of the epub3 stylesheet was June 2012.  I
would suggest that you download docbook-xsl-1.77.1 directly from the
SourceForge site:

https://sourceforge.net/projects/docbook/files/docbook-xsl/

Hmm, but there is no epub3 directory in that archive...
unzip -l docbook-xsl-doc-1.77.1.zip |egrep epub
returns nothing.

I got the epub files from here:
http://sourceforge.net/projects/docbook/files/epub3/

cheers
afx

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

--------------------------------------------------
From: "Andreas F.X. Siegert" <afx@afximages.com>
Sent: Saturday, November 03, 2012 6:30 AM
To: <docbook-apps@lists.oasis-open.org>
Subject: Re: [docbook-apps] epub heading levels and centered images

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
bobs@sagehill.net

--------------------------------------------------
From: "Andreas F.X. Siegert" <afx@afximages.com>
Sent: Friday, November 02, 2012 2:20 PM
To: <docbook-apps@lists.oasis-open.org>
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: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org






--
http://afximages.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org






--
http://afximages.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org





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