Commits

tbrugz committed a80629b

adicionando imagem de capa (cover) para ePUB

  • Participants
  • Parent commits 1ec7891

Comments (0)

Files changed (5)

 		</java>
 		<mkdir dir="${file.epub.outputdir}/OEBPS/figures/"/>
 		<copy todir="${file.epub.outputdir}/OEBPS/figures/">
-			<fileset dir="${testfiles.dir}/figures/" includes="*"/>
+			<fileset dir="${testfiles.dir}/figures/" includes="*.png, *.jpg"/>
 		</copy>
+		<!--copy todir="${file.epub.outputdir}/META-INF/">
+			<fileset dir="${testfiles.dir}/epub" includes="*.xml"/>
+		</copy-->
+		<copy todir="${file.epub.outputdir}/OEBPS/covers/">
+			<fileset dir="${testfiles.dir}/covers/" includes="*.png, *.jpg"/>
+		</copy>
+
 		<delete file="${file.epub.output}" />
 
 		<echo message="temp zip n. 1..."/>

docbook_links.txt

+http://tldp.org/HOWTO/DocBook-Demystification-HOWTO/index.html
+
+http://tldp.org/HOWTO/DocBook-Demystification-HOWTO/x128.html
+As of October 2010 FOP is at 1.0 and usable, but with rough edges and missing features. I recommed dblatex for production use
+
+http://opensource.bureau-cornavin.com/crash-course/
+
+-------------
+
+http://en.wikipedia.org/wiki/Document_Type_Definition
+
+public identifier (FPI) and/or system identifier (an URI)
+
+http://en.wikipedia.org/wiki/Formal_Public_Identifier
+
+More recently, URIs and UUIDs are usually used to uniquely identify objects. FPIs have become a legacy system.
+
+An example identifier "-//W3C//DTD HTML 4.01//EN" can be broken down into two parts: 
+the owner identifier which indicates the issuer of the FPI, and the text identifier 
+which indicates the particular document or object the FPI identifies[1]. In the example, 
+the owner identifier is "-//W3C" and the text identifier is "DTD HTML 4.01//EN". 
+The two parts are separated by a double slash.
+
+
+-------------
+
+EPUB
+
+http://opds-spec.org/specs/opds-catalog-1-0-20100830/#Artwork_Relations
+http://wiki.mobileread.com/wiki/EPub
+http://wiki.mobileread.com/wiki/Metadata
+http://norman.walsh.name/2010/06/07/epub
+http://www.mobileread.com/forums/showthread.php?t=27476
+
+cover image:
+http://lists.oasis-open.org/archives/docbook-apps/200906/msg00041.html
+http://blog.threepress.org/2009/11/20/best-practices-in-epub-cover-images/
+http://www.sagehill.net/docbookxsl/TitlePagePrint.html#BookCovers
+

test_docbook/covers/tcc-cover-thumbnail.png

Added
New image

test_docbook/covers/tcc-cover.png

Added
New image

test_docbook/docbook-tcc-input.xml

     <keyword>Econometria</keyword>
     <keyword>Etecetera</keyword>
   </keywordset>
+  
+  <!-- 
+  para epub. 
+  ver: https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/xsl/epub/bin/spec/files/orm.book.001.xml
+  -->
+  <mediaobject role="cover" id="cover-image">
+  	<!-- imageobject role="front-large" remap="lrg">
+  	  <imagedata width="600px" format="JPG" fileref="covers/cvr_lrg.jpg"/>
+  	</imageobject -->
+  	<imageobject role="front" remap="s">
+  	  <imagedata format="PNG" fileref="covers/tcc-cover.png"/>
+  	</imageobject>
+  	<!-- imageobject role="front-small" remap="xs">
+  	  <imagedata format="GIF" fileref="covers/cvr_xs.gif"/>
+  	</imageobject -->
+  	<imageobject role="thumbnail" remap="cs">
+  	  <imagedata format="PNG" fileref="covers/tcc-cover-thumbnail.png"/>
+  	</imageobject>
+  </mediaobject>
+  
 </bookinfo>
 
 <!--