![]() |
#1 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Feb 2015
Device: Sony PRS-T1
|
blank sites when convert azw to epub
When convert a Kindle ebook from the german publisher "Forever" to epub, all sites are blank.
I think the problem is the following from the original stylesheet: Code:
*::footnote-call { content: none; display: none; } I created a small test file and attached the original CSS file. Convert the test.epub to epub and you can see the problem. Calibre v3.48 OS: Siduction (Debian/sid) |
![]() |
![]() |
![]() |
#2 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 450
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
|
You might try setting up a transform styles rule in the conversion--Look and feel, Transform styles tab. I tried "if the property content is none remove the property" and "if the property display is none change the value to block". That worked for the test file, but it might be more complicated on the real thing. I didn't try and understand that whole messy css.
If I had a book with that "wrong.css" and wanted to make it readable for me, I'd rip out all that nonsense and use my own css file anyway, in the editor. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Feb 2015
Device: Sony PRS-T1
|
It works with the rule, but I must delete it for other books to be on the safe side:
Code:
# If the property display is none # Remove the property match_type: is action_data: action: remove query: none property: display edit: wrong.css is not the original file name Last edited by Camelot; 09-21-2019 at 11:43 AM. |
![]() |
![]() |
![]() |
#4 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 450
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
|
I would not call it a bug at all. Given the infinite array of coding garbage available in e-books, combined with different users expectations of what makes a "good" conversion, and the tools provided to deal with exceptional situations like this...what would you want? The software should read your mind and do it your way?
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unable to convert html to azw or epub | Lucas Malor | Calibre | 36 | 11-02-2013 05:12 AM |
Trying to convert azw book | SwordPen | Apple Devices | 4 | 08-12-2013 04:14 AM |
Convert azw to epub or pdf? | NLight95 | Calibre | 5 | 06-19-2011 06:04 AM |
how to convert to azw files ? | geordiejohn | Calibre | 5 | 12-09-2010 12:41 PM |
how to convert azw files? | lizzybeth05 | Amazon Kindle | 11 | 02-17-2010 01:47 PM |