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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-04-2012, 01:30 PM   #1
Devon
Enthusiast
Devon began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Nov 2007
Device: iPad, Kindle
PDF and italics

Whenever I convert something from PDF, I have to manually (search and replace) the end bracket for italics whenever it is with a '<br>'. I have to replace '</i> <br>' or '</i><br>' with '</i> ', otherwise the italics continue until the next page brake. This has been happening for the last two releases of Calibre.

Is there something I can do in Preferences, so I don't have to manually do this every time?
Devon is offline   Reply With Quote
Old 11-04-2012, 02:31 PM   #2
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: 26,435
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
http://www.mobileread.com/forums/sho...d.php?t=186697
kovidgoyal is offline   Reply With Quote
 
Advertisement
Old 11-04-2012, 04:45 PM   #3
Devon
Enthusiast
Devon began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Nov 2007
Device: iPad, Kindle
I'm sorry, I didn't post a sample because it happens to all my PDF's with italics.
Here is a random book I downloaded - I have manually fixed all my books

Here is an example: Check page 90 of 1395, right before part VI

Moderator Notice
Copyrighted Material Removed


</i> <br> replaced with </i>


<br>
<hr>

<A name=[0-9][0-9][0-9]></a><b> </b><br>
<b> </b><br>
<b> </b><br>
<br>
replaced with nothing


<br>
<hr>

<A name=[0-9][0-9]></a><b> </b><br>
<b> </b><br>
<b> </b><br>
<br>
replaced with nothing


<br>
<hr>

<A name=[0-9]></a><b> </b><br>
<b> </b><br>
<b> </b><br>
<br>
replaced with nothing.

The last three don't affect the italics but I included them because I used them.

Last edited by ldolse; 11-04-2012 at 09:25 PM.
Devon is offline   Reply With Quote
Old 11-04-2012, 09:27 PM   #4
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Please don't post Copyright material to the forums. Kovid provided you that reference for a reason - that is the correct and legal way to provide samples to developers to fix. The problem you mention has been raised by several users, but none of them have provided a bug report with enough detail to fix it.
ldolse is offline   Reply With Quote
Old 11-04-2012, 09:39 PM   #5
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Try Changing the line unwrap factor under pdf input to 0.20 and disable line unwrapping under heuristics - see if that fixes the problem.

Last edited by ldolse; 11-04-2012 at 10:20 PM.
ldolse is offline   Reply With Quote
Old 11-04-2012, 11:46 PM   #6
Devon
Enthusiast
Devon began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Nov 2007
Device: iPad, Kindle
Sorry about the copyrighted material. I randomly downloaded a pdf book from another site, I hardly even looked at it - only how it converted. It was a free download.

I will try your suggestions.

Thank you.
Devon 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
PDF Kindle italics Peter Bayne Recipes 0 09-25-2012 01:52 PM
Too Much Italics..... MacEvansCB Conversion 2 09-15-2012 11:27 AM
PDF italics yeilds line breaks badgoodDeb Conversion 3 01-12-2012 06:51 PM
Italics not exporting from pdf Dillinquent Workshop 10 07-21-2011 08:14 AM
Pdf loses italics or bold during conversion.. StringJam PDF 4 04-09-2011 08:52 PM


All times are GMT -4. The time now is 05:46 PM.


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