Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-21-2009, 10:08 AM   #1
raptir
Junior Member
raptir began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2009
Device: Stanza/Kindle on iPod Touch
Formatting issues when converting PDF to EPUB

I can't get an example block to display properly, but I'll do my best to do so if this isn't enough information.

The document that I'm trying to convert has a single carriage return/line feed at the end of each paragraph, then an indent at the beginning of each. Meaning that there is no space between most paragraphs. There are then sections that are separated by an additional line feed, leaving one line of blank space between the sections, each section again starting with an indent. When I convert with default options, the EPUB is formatted with a line of blank space between every paragraph, and it is impossible to tell when a new section has started. I tried checking the "remove spacing between paragraphs" box, but this removes ALL the spacing throughout the document, including the section breaks. Is there any way to get this formatted like the original document? Or even just to add an extra space wherever there was a space before?

Also, I was a little confused about the PDF line un-wrapping feature. I set it to 0.5, and it seems to work well for what I want, but what do the different values do?
raptir is offline   Reply With Quote
Old 10-21-2009, 05:51 PM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
I'm not really following your example...

The un-wrapping factor is this crazy algorithm that just tries to figure out what a full like should look like. If you adjust it higher it will unwrap less, lower will unwrap more. Basically if you see lines not being unwrapped you should decrease it and if you see to many lines being put into a single paragraph, increase it.
user_none is offline   Reply With Quote
Advert
Old 10-21-2009, 10:32 PM   #3
raptir
Junior Member
raptir began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2009
Device: Stanza/Kindle on iPod Touch
Okay, let me try this for the example. The PDF looks like this:

Spoiler:
Code:
   The quick brown fox jumped over the lazy dog. The quick brown fox 
jumped over the lazy dog. The quick brown fox jumped over the lazy dog. 
The quick brown fox jumped over the lazy dog. The quick brown fox jumped 
over the lazy dog. The quick brown fox jumped over the lazy dog. The quick 
brown fox jumped over the lazy dog. The quick brown fox jumped over the 
lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox 
jumped over the lazy dog. 
   The quick brown fox jumped over the lazy dog. The quick brown fox 
jumped over the lazy dog. The quick brown fox jumped over the lazy dog. 
The quick brown fox jumped over the lazy dog. The quick brown fox jumped 
over the lazy dog. The quick brown fox jumped over the lazy dog. The quick 
brown fox jumped over the lazy dog.

   The quick brown fox jumped over the lazy dog. The quick brown fox 
jumped over the lazy dog. The quick brown fox jumped over the lazy dog. 
The quick brown fox jumped over the lazy dog. The quick brown fox jumped 
over the lazy dog.


I'd like it to look like that. When it's converted to EPUB, it looks like this:


Spoiler:
Code:
   The quick brown fox jumped over the lazy dog. The quick brown fox 
jumped over the lazy dog. The quick brown fox jumped over the lazy dog. 
The quick brown fox jumped over the lazy dog. The quick brown fox jumped 
over the lazy dog. The quick brown fox jumped over the lazy dog. The quick 
brown fox jumped over the lazy dog. The quick brown fox jumped over the 
lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox 
jumped over the lazy dog. 

   The quick brown fox jumped over the lazy dog. The quick brown fox 
jumped over the lazy dog. The quick brown fox jumped over the lazy dog. 
The quick brown fox jumped over the lazy dog. The quick brown fox jumped 
over the lazy dog. The quick brown fox jumped over the lazy dog. The quick 
brown fox jumped over the lazy dog.

   The quick brown fox jumped over the lazy dog. The quick brown fox 
jumped over the lazy dog. The quick brown fox jumped over the lazy dog. 
The quick brown fox jumped over the lazy dog. The quick brown fox jumped 
over the lazy dog.


If I check "remove space between paragraphs," it comes out like this:


Spoiler:
Code:
   The quick brown fox jumped over the lazy dog. The quick brown fox 
jumped over the lazy dog. The quick brown fox jumped over the lazy dog. 
The quick brown fox jumped over the lazy dog. The quick brown fox jumped 
over the lazy dog. The quick brown fox jumped over the lazy dog. The quick 
brown fox jumped over the lazy dog. The quick brown fox jumped over the 
lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox 
jumped over the lazy dog. 
   The quick brown fox jumped over the lazy dog. The quick brown fox 
jumped over the lazy dog. The quick brown fox jumped over the lazy dog. 
The quick brown fox jumped over the lazy dog. The quick brown fox jumped 
over the lazy dog. The quick brown fox jumped over the lazy dog. The quick 
brown fox jumped over the lazy dog.
   The quick brown fox jumped over the lazy dog. The quick brown fox 
jumped over the lazy dog. The quick brown fox jumped over the lazy dog. 
The quick brown fox jumped over the lazy dog. The quick brown fox jumped 
over the lazy dog.
raptir is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird formatting issues - Sigil .epub in Calibre viewer december Sigil 9 06-18-2010 04:04 PM
bookmark issues converting HTML to EPUB isabellkirsten Calibre 0 04-09-2010 11:47 PM
Converting to EPUB having issues with page offsets monkius Calibre 1 04-01-2010 11:40 PM
Converting pdf or Word to mobi with formatting pfisterfarm Kindle Formats 4 01-01-2009 11:50 AM
PDF to RTF-formatting issues Rick C Workshop 3 03-20-2008 09:04 AM


All times are GMT -4. The time now is 10:18 AM.


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