![]() |
#166 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
Thanks Kovid,
epub-meta seems to be working, but unfortunately any2epub does not change meta info ![]() Code:
any2epub -a "zzz zzzz" -t "XXXXXX" xxx.epub Code:
epub-meta xxx.epub Title : Table of Contents Author : xxx xxxx Producer : calibre (0.4.91) [http://calibre.kovidgoyal.net] Series : XXXXX #1 Language : Unknown |
![]() |
![]() |
![]() |
#167 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,376
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yeah any2epub doesn't. You have to call epub-meta to do that. any2epub is meant more for stuff like automatic splitting, font size control etc.
|
![]() |
![]() |
Advert | |
|
![]() |
#168 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
|
![]() |
![]() |
![]() |
#169 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
CSS is not working in 4.9.0
It looks like embedded style in an html are not used. In the creation of the ePUB HTML the styles are not included in the ePUB html. =X= |
![]() |
![]() |
![]() |
#170 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,376
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
the styles are extracted and put into a separate CSS file
|
![]() |
![]() |
Advert | |
|
![]() |
#171 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Oct 2008
Device: palmTX
|
First off, thank you for this great piece of software. Just what I was looking for!. I am attempting to standardize all my books to epub . I then use mobigen_linux to convert to a palm format. However it fails with an invalid language error. Inspection of the generated metadata.opf shows language as "Unknown".
metadata: <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns ![]() <dc:title>A Spell for Chameleon</dc:title> <dc:creator opf:role="aut">Piers Anthony</dc:creator> <dc:contributor opf:role="bkp" opf:files-as="calibre">calibre (0.4.91) [http://calibre.kovidgoyal.net]</dc:contributor> <dc:identifier opf:scheme="calibre" id="calibre_id">33a0bfae-ae76-4efa-9aaf-df9c9d842eac</dc:identifier> <dc:language>Unknown</dc:language> <dc ![]() ![]() <series>Xanth</series> <series-index>1</series-index> <rating>5</rating> <dc:subject>fantasy</dc:subject> </metadata> Is there a way to specify a language? I looked but found nothing. 2 items I noticed with the generated opf. I believe the elements series, series-index and rating should be placed inside meta tags as follows: <meta name="series" content="Xanth" /> <meta name="series-index" content="1" /> <meta name="rating" content="5" /> per http://www.openebook.org/2007/opf/OP...ec.html#TOC2.2 and in the element contributor the attribute files-as should be file-as. I am a COBOL programmer (please, no dinosaur jokes!) but this project has me looking into python. Keep up the good work. |
![]() |
![]() |
![]() |
#172 |
Feedbooks.com Co-Founder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
|
|
![]() |
![]() |
![]() |
#173 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
I opened a ticket with two books attached. In book 1, there is underlining of paragraphs every three or four pages and in book 2 each line of text is only three or four characters wide. Previously, these books converted w/o these errors.
|
![]() |
![]() |
![]() |
#174 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
Pagination is different with these epubs. It generally takes at least two page forwards to advance the page count. Also I'm seeing the page number in extremely tiny print embedded about mid-page.
|
![]() |
![]() |
![]() |
#175 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Right I assume so, but that is not what is happening. Here I've attached a HTML and an ePUB to illistrate the problem
BTW the --level1-toc and --level2-toc work great. |
![]() |
![]() |
![]() |
#176 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,376
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's a feature of Adobe DE, it counts a page as a certain font and resolution independent size. The number of screens that make a logical page therefore varies. As for the page number on the right, another annoying "feature" of DE.
|
![]() |
![]() |
![]() |
#177 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,376
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#178 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
I figured as much, FBReader does something similar.
|
![]() |
![]() |
![]() |
#179 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 32
Karma: 10000
Join Date: Feb 2008
Device: Sony PRS-505
|
conversion errors
I am having trouble converting three books [lrf conversion is OK] they multi page/file html[ziped]. I have opened a ticket and attached the files hope you can find a fix.
![]() |
![]() |
![]() |
![]() |
#180 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,376
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
released version 0.4.92 with various fixes.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Epub Output: Line Height | greenapple | Conversion | 20 | 01-27-2013 09:27 AM |
EPUB output justification | toki08 | Calibre | 10 | 01-08-2011 04:14 PM |
Calibre epub output details and Nook | squidward | Calibre | 6 | 11-24-2010 03:21 PM |
epub output metadata | troymc | Calibre | 5 | 05-22-2010 12:23 AM |
Problem with epub output in Cybook Gen3 | fjf | Calibre | 3 | 02-03-2010 02:23 AM |