Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-21-2008, 02:20 PM   #31
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
What is in collinsw155155.xml ? Is it HTML or an OPF file?
kovidgoyal is offline   Reply With Quote
Old 09-23-2008, 08:38 PM   #32
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
I'm confused on this page splitting thing, does it mean it splits files larger than 300k into 2 seperate files on the Sony PRS-500/505 or it just forces in a page break at the 300k limit? but you still have 1 file?
Amalthia is offline   Reply With Quote
Advert
Old 09-23-2008, 08:42 PM   #33
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
the splitting is internal. you will still have only one epub file.
kovidgoyal is offline   Reply With Quote
Old 09-23-2008, 08:44 PM   #34
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
released version 0.4.86 which has support for automatic splitting (you can turn off splitting with the option --profile None)

In addition, EPUB conversion has been integrated into the GUI (select the output format you want from the config dialog).
kovidgoyal is offline   Reply With Quote
Old 09-23-2008, 08:50 PM   #35
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
I don't suppose when you save EPUB files you can select for them to save author name - title? instead of title - author name.
Amalthia is offline   Reply With Quote
Advert
Old 09-23-2008, 10:56 PM   #36
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Nope.
kovidgoyal is offline   Reply With Quote
Old 09-24-2008, 01:17 PM   #37
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm considering the number of people that have requested epub output, this thread is strangely quiescent. Are there no bugs at all in the EPUB conversion? Or (more likely) is no one using it?
kovidgoyal is offline   Reply With Quote
Old 09-24-2008, 01:24 PM   #38
Bossman
Member
Bossman doesn't litterBossman doesn't litter
 
Posts: 23
Karma: 172
Join Date: Jul 2008
Device: Prs505
Quote:
Originally Posted by kovidgoyal View Post
Hmm considering the number of people that have requested epub output, this thread is strangely quiescent. Are there no bugs at all in the EPUB conversion? Or (more likely) is no one using it?
Nah, we are all busy converting our books to epub now

maybe you can take a guess as to this error.
It happens with or without the --chapter

book-1.html contains no links just html

Code:
C:\temp>html2epub book.html --chapter=//a
Building file list...
        Parsing temp\book.html
        Detected chapter: Page 1
        Detected chapter: Page 2
        Detected chapter: Page 3
        Detected chapter: Page 4
        Detected chapter: Page 5
        Detected chapter: Page 6
        Detected chapter: Page 7
        Detected chapter: Page 8
        Detected chapter: Page 9
        Detected chapter: Page 10
        Detected chapter: Page 11
        Detected chapter: Page 12
        Detected chapter: Page 13
        Detected chapter: Page 14
        Detected chapter: Page 15
        Detected chapter: Page 16
        Detected chapter: Page 17
        Detected chapter: Page 18
        Detected chapter: Page 19
        Detected chapter: Page 20
        Detected chapter: Page 21
        Detected chapter: Page 22
        Detected chapter: Page 23
        Detected chapter: Page 24
        Detected chapter: Page 25
        Detected chapter: Page 26
        Detected chapter: Page 27
        Detected chapter: Page 28
        Detected chapter: Page 29
        Detected chapter: Page 30
        Detected chapter: Page 31
        Detected chapter: Page 32
        Detected chapter: Page 33
        Detected chapter: Page 34
        Detected chapter: Page 35
        Detected chapter: Page 36
        Detected chapter: Page 37
        Detected chapter: Page 38
        Detected chapter: Page 39
        Detected chapter: Page 40
        Detected chapter: Page 41
        Detected chapter: Page 42
        Detected chapter: Page 43
        Detected chapter: Page 44
        Detected chapter: Page 45
        Detected chapter: Page 46
        Detected chapter: Page 47
        Detected chapter: Page 48
        Detected chapter: Page 49
        Detected chapter: Page 50
        Detected chapter: Page 51
        Detected chapter: Page 52
        Detected chapter: Page 53
        Detected chapter: Page 54
        Detected chapter: Page 55
        Detected chapter: Page 56
        Detected chapter: Page 57
        Detected chapter: Page 58
        Detected chapter: Page 59
        Detected chapter: Page 60
        Detected chapter: Page 61
        Detected chapter: Page 62
        Detected chapter: Page 63
        Detected chapter: Page 64
        Detected chapter: Page 65
        Detected chapter: Page 66
        Detected chapter: Page 67
        Detected chapter: Page 68
        Detected chapter: Page 69
        Detected chapter: Page 70
        Detected chapter: Page 71
        Detected chapter: Page 72
        Detected chapter: Page 73
        Detected chapter: Page 74
        Detected chapter: Page 75
        Detected chapter: Page 76
        Detected chapter: Page 77
        Detected chapter: Page 78
        Detected chapter: Page 79
        Detected chapter: Page 80
        Detected chapter: Page 81
        Detected chapter: Page 82
        Detected chapter: Page 83
        Detected chapter: Page 84
        Detected chapter: Page 85
        Detected chapter: Page 86
        Detected chapter: Page 87
        Detected chapter: Page 88
        Detected chapter: Page 89
        Detected chapter: Page 90
        Detected chapter: Page 91
        Detected chapter: Page 92
        Detected chapter: Page 93
        Detected chapter: Page 94
        Detected chapter: Page 95
        Detected chapter: Page 96
        Detected chapter: Page 97
        Detected chapter: Page 98
        Detected chapter: Page 99
        Detected chapter: Page 100
        Parsing temp\book-1.html
Traceback (most recent call last):
  File "from_html.py", line 187, in <module>
  File "from_html.py", line 183, in main
  File "from_html.py", line 111, in convert
  File "from_html.py", line 76, in parse_content
  File "C:\Program Files (x86)\calibre\library.zip\calibre\ebooks\html.py", line
 491, in populate_toc
KeyError: HTMLFile:0:a:C:\temp\book.html
Bossman is offline   Reply With Quote
Old 09-24-2008, 01:39 PM   #39
Bossman
Member
Bossman doesn't litterBossman doesn't litter
 
Posts: 23
Karma: 172
Join Date: Jul 2008
Device: Prs505
Another thing

When using a txt as source, the metadata does not get written to the epub.
The Author is Unknown and the Book name is something like calibre_0.4.86.kaozzx.

Also the data from ///Table of Contents/// does not make it into the toc of the epub.

Keep up the good work and thanks for a great piece of software
Bossman is offline   Reply With Quote
Old 09-24-2008, 01:50 PM   #40
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@Bossman:

That looks like a logic error. Can you open a ticket and attach the problem HTML file.

txt files don't have any metadata, which is why txt2epub uses defaults. (in this case the name of the intermediate file and unknown. You should specify metadata with the --title and --author options or the --from-opf option.
kovidgoyal is offline   Reply With Quote
Old 09-24-2008, 01:53 PM   #41
Bossman
Member
Bossman doesn't litterBossman doesn't litter
 
Posts: 23
Karma: 172
Join Date: Jul 2008
Device: Prs505
Quote:
Originally Posted by kovidgoyal View Post
@Bossman:

That looks like a logic error. Can you open a ticket and attach the problem HTML file.

txt files don't have any metadata, which is why txt2epub uses defaults. (in this case the name of the intermediate file and unknown. You should specify metadata with the --title and --author options or the --from-opf option.
Will do.

I noticed another thing. When i fetch metadata from the server the fields are correctly filled. After converting to epub the Author sort field contains the same information as the Publisher field.
Bossman is offline   Reply With Quote
Old 09-24-2008, 01:55 PM   #42
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Quote:
Originally Posted by kovidgoyal View Post
Hmm considering the number of people that have requested epub output, this thread is strangely quiescent. Are there no bugs at all in the EPUB conversion? Or (more likely) is no one using it?
I did some conversion last night. It worked perfectly for me. My big push will come Friday, when I start my mass-conversion.
JeffElkins is offline   Reply With Quote
Old 09-24-2008, 01:58 PM   #43
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Ah well looks like I'm going to have a busy weekend
kovidgoyal is offline   Reply With Quote
Old 09-24-2008, 02:03 PM   #44
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Quote:
ValueError: Conversion from OEBZIP is not supported
Output from any2epub. I thought this was fixed, but it must have snuck back in I remember submitting a ticket during the beta.
JeffElkins is offline   Reply With Quote
Old 09-24-2008, 02:17 PM   #45
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Fixed again
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 01:18 PM.


MobileRead.com is a privately owned, operated and funded community.