Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-24-2010, 04:04 AM   #856
Roos
Groupie
Roos ought to be getting tired of karma fortunes by now.Roos ought to be getting tired of karma fortunes by now.Roos ought to be getting tired of karma fortunes by now.Roos ought to be getting tired of karma fortunes by now.Roos ought to be getting tired of karma fortunes by now.Roos ought to be getting tired of karma fortunes by now.Roos ought to be getting tired of karma fortunes by now.Roos ought to be getting tired of karma fortunes by now.Roos ought to be getting tired of karma fortunes by now.Roos ought to be getting tired of karma fortunes by now.Roos ought to be getting tired of karma fortunes by now.
 
Roos's Avatar
 
Posts: 182
Karma: 2371918
Join Date: Sep 2009
Location: Almere, Nederland
Device: Kindle Paperwhite, Kindle Scribe, Phone
0 Byte results

Sometimes it happens to me that when i convert a epub to a epub (to insert a better/nicer cover or some such things) that the end result is a defevtive 0 Byte file :-(
Is it possible to let calibre check for integrity before replacing the 'old' file with a defective one?

Just another noob user ;-)

Wilco
Roos is offline   Reply With Quote
Old 11-24-2010, 11:28 AM   #857
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: 45,400
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sure but you should track down what the underlying problem is. Try looking at the conversion log.
kovidgoyal is offline   Reply With Quote
Old 11-24-2010, 12:11 PM   #858
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: 45,400
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by dwanthny View Post
The OP is talking about the resizing of the window of calibre's reader. As you resize the reader's window calibre does not maintain aspect ratio.
I had some time to look at this, it only happens if the img in question specifies a defined width of height either via css or the width/height attributes. I've added a workaround for this for the next release.
kovidgoyal is offline   Reply With Quote
Old 11-27-2010, 05:00 AM   #859
oldbwl
Zealot
oldbwl doesn't litteroldbwl doesn't litter
 
oldbwl's Avatar
 
Posts: 122
Karma: 164
Join Date: Aug 2010
Location: Old Ynysybwl
Device: Sony PRS-300
I have found a change in the conversion from RTF to EPUB (haven't checked RTF to other formats yet) since I upgraded to 0.7.30, an extra line is appearing for each Paragraph mark in the original RTF file. Just tried the older 0.7.29 version and it does not happen there.
oldbwl is offline   Reply With Quote
Old 11-27-2010, 01:57 PM   #860
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: 45,400
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by oldbwl View Post
I have found a change in the conversion from RTF to EPUB (haven't checked RTF to other formats yet) since I upgraded to 0.7.30, an extra line is appearing for each Paragraph mark in the original RTF file. Just tried the older 0.7.29 version and it does not happen there.
yes that was intentional to preserve scene breaks implemented as empty paragraphs.
kovidgoyal is offline   Reply With Quote
Old 11-27-2010, 03:02 PM   #861
oldbwl
Zealot
oldbwl doesn't litteroldbwl doesn't litter
 
oldbwl's Avatar
 
Posts: 122
Karma: 164
Join Date: Aug 2010
Location: Old Ynysybwl
Device: Sony PRS-300
Quote:
Originally Posted by kovidgoyal View Post
yes that was intentional to preserve scene breaks implemented as empty paragraphs.
OK, but my converted output is now terrible.

My RTF documents are all formatted to follow the same appearence as this forum, which I find most pleasing and allows me to anchor my eye on the page, the gaps between paras adds relief and structure on the small screen IMHO.

Now I have to ensure that I take out one of every pair of ^p in a book before it is converted or Calibre will turn it in to ^p^p^p^p which looks stupid.

Why can't Calibre convert the RTF document to look exactly same when converted to epub. Why add the extra lines. Because that's exactly what it used to do until the fix for scenes.

I think you have solved a problem, but for me at least added a headache. I just want it to work the way it did, which was logical. I can't program so I can't make the change myself, can this be an optional tweak?
oldbwl is offline   Reply With Quote
Old 11-27-2010, 03:51 PM   #862
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: 45,400
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
then I'd suggest sticking with 0.7.29, the changed behavior is a bug fix. calibre is now correctly converting the input RTF document. If you relied on the old behavior then stick with 0.7.29
kovidgoyal is offline   Reply With Quote
Old 11-27-2010, 04:15 PM   #863
oldbwl
Zealot
oldbwl doesn't litteroldbwl doesn't litter
 
oldbwl's Avatar
 
Posts: 122
Karma: 164
Join Date: Aug 2010
Location: Old Ynysybwl
Device: Sony PRS-300
OK, I get the message, but since the apearence has significantly changed then I feel it is valid to challenge your last assertion.

You have fixed one problem, sure, but created another. The original RTF document had ONE line between each paragraph. The Epub conversion used to have the same in 0.7.29. Now there are two lines between each paragraph after conversion. Two lines is one line unintended, and therefore it is NOT converting the layout as intended it to be.

Sorry Kovid. But I think you are wrong. If there is one line between each para before conversion then there should be only one afterwards. If I write a document and put spaces between paras, if I want to distribute the RTF doc as epub for others to enjoy, then to preserve my layout I now have to edit the spaces out before conversion. Truly that should not be necessary.
oldbwl is offline   Reply With Quote
Old 11-27-2010, 05:43 PM   #864
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: 45,400
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It may look like there is a single blank line between paragraphs in whatever program you are using to view RTF, but there is actually an empty paragraph. The two are very different and calibre now correctly distinguishes between them.
kovidgoyal is offline   Reply With Quote
Old 11-27-2010, 07:22 PM   #865
Over
Wizard
Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.
 
Over's Avatar
 
Posts: 1,462
Karma: 6061516
Join Date: May 2008
Location: Cascais, Portugal
Device: Kindle PW, Samsung Galaxy Note Pro 12.2", OnePlus 6
I don't know if the problem is iBooks or the ePub conversion, but after 50 chapters or so, iBooks doesn't show any more chapters in it's internal TOC. And if I use the book's TOC, iBooks doesn't show how many pages are left in the current chapter. It shows how many remain 'til the end of the book.

I've tried to convert again, this time I saw the option that limits chapters to 50, but I think it was just a coincidence, because the problem remains.

What do you think might be the problem? And how could I fix it?
Over is offline   Reply With Quote
Old 11-27-2010, 07:25 PM   #866
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: 45,400
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
unfortunately, I don't use apple products, so I have no idea about iBooks. However, the first thing to check is open the book in calibre's viewer and make sure ass the links are there. calibre's viewer has no limitations on the number of entries in the TOC.
kovidgoyal is offline   Reply With Quote
Old 11-27-2010, 09:24 PM   #867
Over
Wizard
Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.
 
Over's Avatar
 
Posts: 1,462
Karma: 6061516
Join Date: May 2008
Location: Cascais, Portugal
Device: Kindle PW, Samsung Galaxy Note Pro 12.2", OnePlus 6
With the Calibre's viewer, I've noticed that it added a TOC to the end of the book, with only 50 chapters (while the book's TOC at the beggining has all 99 chapters plus other entries (epilogue, etc)).
Over is offline   Reply With Quote
Old 11-27-2010, 09:25 PM   #868
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: 45,400
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
then you still have the max toc links setting applied. remember you have to change settings in the individual books conversion settings. changing the defaults wont affect a previously converted book.
kovidgoyal is offline   Reply With Quote
Old 11-27-2010, 09:37 PM   #869
Over
Wizard
Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.Over ought to be getting tired of karma fortunes by now.
 
Over's Avatar
 
Posts: 1,462
Karma: 6061516
Join Date: May 2008
Location: Cascais, Portugal
Device: Kindle PW, Samsung Galaxy Note Pro 12.2", OnePlus 6
I've tried that, but with no success. I'm trying to convert from MOBI to EPUB, with Calibre's 0.7.30 version.

I've tried with another ebook, with success. So I guess the problem is the source mobi ebook, but I wonder what could be the problem...

I'm gonna try to convert to another format, and then to epub.

Edit: no success.

Last edited by Over; 11-28-2010 at 04:29 AM.
Over is offline   Reply With Quote
Old 11-28-2010, 04:43 AM   #870
oldbwl
Zealot
oldbwl doesn't litteroldbwl doesn't litter
 
oldbwl's Avatar
 
Posts: 122
Karma: 164
Join Date: Aug 2010
Location: Old Ynysybwl
Device: Sony PRS-300
Quote:
Originally Posted by kovidgoyal View Post
It may look like there is a single blank line between paragraphs in whatever program you are using to view RTF, but there is actually an empty paragraph. The two are very different and calibre now correctly distinguishes between them.
I understand completely. BUT, Calibre is not converting in the manner you think, it is making 2 paragraphs not one. I think I must demonstrate exactly what I mean with a test example.

I attach a Test file in RTF, view this in any thing you like and observe the spacing - on my PC it appears as a single blank line between paras.

Convert that in Calibre to .txt format, see the spacing is preserved, but naturally the Justify and other formatting is lost.

Now convert in Calibre the RTF to epub, the spacing between para's is now far too big.

To really make the point convert the txt file to epub and the spacing is preserved. - I would do this but then the formatting is missing.
Attached Files
File Type: rtf Specimen - Dan.rtf (44.7 KB, 254 views)

Last edited by oldbwl; 11-28-2010 at 04:46 AM.
oldbwl 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 08:28 AM.


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