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 09-23-2023, 08:30 AM   #1
nymu22
Junior Member
nymu22 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
Problem with Epub to Pdf Conversion:text in the table of contents on the left clipped

Hi, when I converted an epub file to pdf in Calibre, the text on the left side of the table of contents got clipped. This only happened in the table of contents, the text in the rest of the book is fine.

What it looks like (pdf): https://imgur.com/cWZQc6s

What it's supposed to look like (epub): https://imgur.com/a/sIHcmAO

Any fix for this? Thanks.

Last edited by nymu22; 09-23-2023 at 08:33 AM.
nymu22 is offline   Reply With Quote
Old 09-23-2023, 11:48 AM   #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: 44,024
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This will be an issue with the markup in that page. Most likely a negative indent that is not specified in a robust manner, so its bleeding off the page area. One thing you can try is disable the option to remove fake page margins in the structure detection section of the conversion dialog.
kovidgoyal is offline   Reply With Quote
Old 09-23-2023, 01:35 PM   #3
nymu22
Junior Member
nymu22 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
This will be an issue with the markup in that page. Most likely a negative indent that is not specified in a robust manner, so its bleeding off the page area. One thing you can try is disable the option to remove fake page margins in the structure detection section of the conversion dialog.
Thanks for the reply. That did not work, unfortunately. Anything else I can try?
nymu22 is offline   Reply With Quote
Old 09-23-2023, 01:43 PM   #4
Quoth
the rook, bossing Never.
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: 11,701
Karma: 87663461
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Convert / export epub -> docx
Edit as desired in Word or LO Writer (save and edit odt in LO).
Export PDF, which will perfectly match the word processor file.
Quoth is offline   Reply With Quote
Old 09-23-2023, 02:15 PM   #5
nymu22
Junior Member
nymu22 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
Quote:
Originally Posted by Quoth View Post
Convert / export epub -> docx
Edit as desired in Word or LO Writer (save and edit odt in LO).
Export PDF, which will perfectly match the word processor file.
Thanks. I tried this. I want to make all the fonts bigger, but they vary in size throughout the book, and if I just select all in Word and click Increase Font Size, it leaves out some parts and the results are not satisfactory.
nymu22 is offline   Reply With Quote
Old 09-23-2023, 10:09 PM   #6
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: 44,024
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by nymu22 View Post
Thanks for the reply. That did not work, unfortunately. Anything else I can try?
Look at the CSS of the problematic section in the epub using the edit book tool. Look for negative margins/indents and remove them.
kovidgoyal is offline   Reply With Quote
Old 09-24-2023, 04:52 AM   #7
Quoth
the rook, bossing Never.
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: 11,701
Karma: 87663461
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by nymu22 View Post
Thanks. I tried this. I want to make all the fonts bigger, but they vary in size throughout the book, and if I just select all in Word and click Increase Font Size, it leaves out some parts and the results are not satisfactory.
Never select all and increase font!
You need to use and edit paragraph styles in Word. Only ever direct format part of a paragraph as bold, italic, superscript, subscript, never font size or family.

Or as Kovid suggests edit the epub CSS (that's the same as paragraph style editing in Word or LO Writer).
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePUB -> PDF: Table of Contents Missing enigmalea Conversion 2 12-21-2021 08:09 AM
table of contents problem in epub to azw3 quizzz Conversion 0 02-22-2014 02:10 AM
Problem with table of contents in ePub Terisa de morgan Conversion 1 11-17-2011 08:28 AM
ePub or HTML to Mobi Table of Contents problem Dark123 Conversion 2 05-08-2011 03:43 PM
Table of contents conversion problem... artbatista Calibre 3 06-21-2009 02:52 AM


All times are GMT -4. The time now is 09:43 AM.


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