Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-22-2021, 02:15 PM   #1
lisashea
Junior Member
lisashea began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2011
Device: none
PDF to EPUB strips spaces on first line of each chapter

I'm having an odd problem. I've used Calibre for hundreds of ebooks, so I'm fairly comfortable with it. I have a friend using Affinity Publisher, which won't export anything useful except a PDF. So I'm having to export a PDF, bring that PDF into Calibre, and then convert that into an EPUB.

I'm having a strange problem with the very first line of every chapter.

She's using drop-caps, so the first chapter of every PDF starts like this:

Click image for larger version

Name:	chaptertop.jpg
Views:	183
Size:	129.2 KB
ID:	186738

I’ve blurred the actual text.

That very first line to start the chapter (after the initial capital “O”) gets mashed together without spaces, in the ePUB conversion. In the initial PDF file it looks perfectly fine. If I edit that PDF file with any editor, there are spaces in between those words. But when Calibre does the PDF to ePUB conversion, the spaces get lost. I then have to go into the resulting ePUB and manually edit the start of every chapter to add those spaces back in. The second, third, etc., lines are all quite fine, even though they’re part of the same text block.

Any ideas?

Last edited by BetterRed; 04-22-2021 at 06:25 PM. Reason: thumbnailed oversized image
lisashea is offline   Reply With Quote
Old 04-22-2021, 02:43 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Please pay attention to MR posting guideline (Image size) and change that oversized image to an attachment. (you can also CROP the image of most of the blur and save size.)

I have moved the post to Conversion forum, please note the sticky about PDF as a source.

Bottom line, is you are probably going to have to dig deep into the books code of the conversion to adjust line-spacing or top/bottom margins (either can smoosh lines)

I will refrain on commenting about the great customer service you received
theducks is online now   Reply With Quote
Advert
Old 04-22-2021, 05:01 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
You should tell your friend to stop using Affinity Publisher for anything she wants to make into an eBook as it's rubbish. PDF as a source format for eBooks is rubbish.
JSWolf is offline   Reply With Quote
Old 04-22-2021, 10:09 PM   #4
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://manual.calibre-ebook.com/con...-pdf-documents
kovidgoyal is offline   Reply With Quote
Old 04-23-2021, 12:42 PM   #5
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,022
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Convert friend to MS Word or LO Writer.
Edit native and save As extra copy as docx.

Explain drop caps are for paper and even there they cause difficulty for some readers. Support on actual apps and ereaders is poor. Honestly they are a Victorian affectation. Still common on Children's books even though it makes it harder for a child to read!
Quoth is offline   Reply With Quote
Advert
Old 04-23-2021, 07:43 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Quoth View Post
Honestly they are a Victorian affectation.
Try Medieval

Click image for larger version

Name:	6a00d8341c464853ef0240a4ac878a200d-800wi.jpg
Views:	251
Size:	620.9 KB
ID:	186757
The prologue (argumentum) to the Gospel of St Matthew, the Lindisfarne Gospels: Lindisfarne, England, c. 700

BR
BetterRed is offline   Reply With Quote
Old 04-24-2021, 08:08 AM   #7
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,022
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by BetterRed View Post
Try Medieval

Attachment 186757
The prologue (argumentum) to the Gospel of St Matthew, the Lindisfarne Gospels: Lindisfarne, England, c. 700

BR
That's when they were in nearly every book.
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Black Strips on the corner after conversion from PDF to EPUB (resize problem ?) Ataman100b Conversion 3 08-26-2015 10:53 AM
0.8.63 strips non-breaking spaces when converting from epub to mobi veezh Calibre 7 08-04-2012 08:39 AM
Convert from PDF to ePub puts paragraph spaces mkelley Conversion 17 01-02-2012 07:48 AM
ePub: paragraph vs/ chapter line spacing hollowayhouse Conversion 3 05-27-2011 06:08 AM
PDF to ePub creates spaces within sentances robertpolson Calibre 1 02-13-2010 06:14 PM


All times are GMT -4. The time now is 11:02 AM.


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