10-19-2019, 08:41 AM | #1 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Mar 2019
Device: none
|
some bulleted text cut off when converting epub to pdf
This only happens with text that is placed in a bulleted list. Part of that text is cut off at the right edge of the page. How can I fix this? Thanks.
|
10-19-2019, 08:51 AM | #2 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Mar 2019
Device: none
|
I forgot to mention that the bulleted list is indented to the right.
|
10-19-2019, 09:07 AM | #3 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Mar 2019
Device: none
|
it seems like if I convert the epub to mobi and then the mobi to pdf all within calibre, everything displays fine. How can fix it so that the conversion from epub to pdf directly works fine without the problem described above?
|
10-19-2019, 10:46 PM | #4 |
creator of calibre
Posts: 43,775
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Text will get cut off if it is not reflowable (there is some CSS styling marking it as not reflowable) Hard to say what that might be without looking at the book in question. And converting to MOBI fixes it because MOBI supports no CSS at all, let alone of the non-reflowable variety.
|
10-20-2019, 01:53 PM | #5 |
Addict
Posts: 378
Karma: 1638210
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Ubuntu, Jutoh,Kobo Forma
|
I've recently run into this in a couple of books. Turned out the text in question had a negative indent with no off-setting margin (or maybe the other way around). Like somebody was trying for a hanging indent and missed half of it. Definitely in the code; you have to open it in the editor to figure it out.
|
10-20-2019, 08:59 PM | #6 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Mar 2019
Device: none
|
Thank you both for the replies. Opening the epub and fixing each of the bulleted and numbered lists in a 800+ page book would be a dauting task. I think I'll just convert the EPUB to MOBI first, then the MOBI to PDF and save myself a lot of headaches. Thanks.
|
10-20-2019, 09:10 PM | #7 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Mar 2019
Device: none
|
Thank you both for the replies. Opening the epub and fixing each of the bulleted and numbered lists in a 800+ page book would be a dauting task. I think I'll just convert the EPUB to MOBI first, then the MOBI to PDF and save myself a lot of headaches.
But just for my information and this may actually help with a small epub ebook, what exactly do I need to edit in the epub CSS styles? Which selector should I look for and what key value pair should it be for that selector? Thanks. |
10-20-2019, 09:14 PM | #8 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Mar 2019
Device: none
|
But just for my information and this may actually help with a small epub ebook, what exactly do I need to edit in the epub CSS styles? Which selector should I look for and what key value pair should it be for that selector? Thanks.
|
10-21-2019, 12:00 AM | #9 | |
Addict
Posts: 378
Karma: 1638210
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Ubuntu, Jutoh,Kobo Forma
|
Quote:
A hanging indent will look something like this in the css file, it can be part of any class: Code:
margin-left: 3em; text-indent: -2em; You will see the changes as you make them in the preview pane, so you will know when you are getting it right. If there are many class codes in the text that all have this sort of problem, search and replace is your friend. If there are so many as to make changing many css entries difficult, use search and replace to change them to all one or two classes in the text, and fix those few classes in the css. Last edited by retiredbiker; 10-21-2019 at 12:04 AM. |
|
06-05-2022, 05:26 PM | #10 | |
Enthusiast
Posts: 31
Karma: 10844
Join Date: Dec 2015
Device: DPTS1
|
Quote:
This helped me alot. I was having trouble with a single file that kept cutting off the odd character and this was the fix. Resurrecting this thread just to add that instead of using the editor and going through the CSS, I was able to fix it by going to: Look & Feel > Transform Styles and then adding the following rule before converting: Code:
If the property text-indent is any value <then> remove the property |
|
06-05-2022, 08:32 PM | #11 |
Bibliophagist
Posts: 34,517
Karma: 144552660
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
If you don't mind losing all the text-indents, e.g. paragraph indents, that will work. My personal opinion is that you are tossing the baby out with the bath water.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't select text on Adobe Acrobat after converting epub to PDF | deste | Conversion | 2 | 10-25-2018 05:22 AM |
Epub formatting, keep text, padding and borders from getting cut between screens | hoodyRacoon | ePub | 10 | 05-01-2017 01:29 AM |
EPUB -> PDF conversion, chapter is cut off | elizara | Conversion | 2 | 08-10-2016 01:51 PM |
Converting To PDF - Text Gets Blown Up | alastairevans | Conversion | 2 | 04-25-2013 04:14 AM |
Insert text while converting PDF to EPUB | DougAtHitplays | Conversion | 5 | 09-23-2011 11:52 AM |