09-06-2024, 05:48 AM | #16 | |
Wizard
Posts: 1,293
Karma: 6700678
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Quote:
But do provide what is asked for which is the quickest way to get help. The epub is malformed because you have deleted html sheets, so without some major editing, we can't test this on a Kindle. (why don't you just scramble the book and give it to us complete?) So, a couple of comments... 1. Don't use <br/> as a spacer. It is not meant to be used that way. Either use a <p> </p> or a class="parabreak" that will force a space. 2. Why do you have your stylesheet in your html file? I assume you have the stylesheet repeated in every html file? Create one stylesheet the same way you created the font.css file. 3. Some paragraphs have a line return after the opening tag, others don't. You should keep it consistent. (without the line return) 4. TOC should have it's own file, or even better is use the ncx file, instead of an in-line toc. 6. Don't leave spaces in filenames. eBook Version of BFAD.htm should be eBook_Version_of_BFAD.htm. Also, the extension should be .html or even better - .xhtml 7. Maybe use epub3? 8. Good practice to use <h(1-6)> tags for your headings. Hope that gives you some pointers. Last edited by Karellen; 09-06-2024 at 05:50 AM. |
|
09-06-2024, 06:39 AM | #17 |
null operator (he/him)
Posts: 20,880
Karma: 27620684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Karellen - elsewhere the OP mentions using Wordperfect ==>> My First Conversion Attempt
If that thread is related to this one its likely the EPUB code stems from WP. BR |
09-06-2024, 11:46 AM | #18 |
Member
Posts: 21
Karma: 10
Join Date: Jun 2024
Location: Esparto, CA
Device: Kindle 11
|
I wrote the book using WordPerfect, (I've been using WP since DOS days.) and was about to go to print when I decided to try creating an ebook version as well. I steadied myself for a challenging adventure, figuring I'd be starting from scratch, but then I noticed WP could export as a EPUB document. I tried it, and using Calibre I started reviewing it. I made a lot of changes, mostly to clean up the code, but other than that it all seemed to have gone well. The previews of the epub and azw3 files in calibre looked great, but on the kindle, some things did not come through, like the images in question here, and fonts. Perhaps it is the first few lines in the main document file that is causing this:
Code:
<?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml"><head> That still would not explain why some, but not all, images are not displayed correctly. |
09-06-2024, 11:59 AM | #19 |
Member
Posts: 21
Karma: 10
Join Date: Jun 2024
Location: Esparto, CA
Device: Kindle 11
|
This is what one such image looks like in Calibre's viewer. The width of the image and captions are the same. On my Kindle the image extends to the margins.
|
09-06-2024, 12:58 PM | #20 |
Well trained by Cats
Posts: 30,315
Karma: 58000000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Welcome to the world of Individual manufactures
(Each does it their way ) Calibres viewer and previewer are very forgiving and allow most things that are fine in a web page, but not on various ereaders. Some publishers make different versions JUST BECAUSE they want a look and have to work tricks to get it. Others dumb it down as a compromise, so it just basically works on a variety of devices. |
09-06-2024, 02:11 PM | #21 |
Member
Posts: 21
Karma: 10
Join Date: Jun 2024
Location: Esparto, CA
Device: Kindle 11
|
I figured that was the case when I started shopping for an e-reader and they were all listing which files formatted they supported. Maybe I should have just stuck with creating an Acrobat PDF file.
|
09-06-2024, 02:31 PM | #22 | |
Well trained by Cats
Posts: 30,315
Karma: 58000000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
PDF locks the document. If the device does not allow movement <-> then lots of customers will be lost . EPUB reflows to fit the words on the screen into however many lines it takes to get them done. What is more important? The Visual Presentation or the Content. |
|
09-06-2024, 02:56 PM | #23 |
Bibliophagist
Posts: 39,099
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
The book is pretty much a mess. All the chapters in a single file with the styles in style tags. The fonts were not correctly located in the css. Correcting that helped the ePub but not the azw3. I added h2/h3 headers to allow generating the ToC automatically and removed the embedded Linotype font body font.
After a quick and dirty cleanup on the file, I've attached the ePub and azw3 versions here. |
09-06-2024, 06:06 PM | #24 | |
null operator (he/him)
Posts: 20,880
Karma: 27620684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
David's reply suggests the latter. In-line styling is a no-no for DOCX->EPUB conversions, I would imagine the same would hold true for creating EPUBs in WP. BR |
|
Yesterday, 07:36 AM | #25 |
Connoisseur
Posts: 61
Karma: 6698
Join Date: Sep 2022
Location: South Africa
Device: kindle pw10
|
Thanks, Nice tip.
Last edited by pdurrant; Today at 02:39 AM. |
Today, 09:11 AM | #26 |
Groupie
Posts: 193
Karma: 1271468
Join Date: Nov 2015
Device: none
|
|
Today, 03:25 PM | #27 |
Bibliophagist
Posts: 39,099
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I find that styles and custom fonts work well in azw3 format. If you were mentioning mobi, that does have issues but azw3 is very similar to the ePub that it is based on.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Recipe fails to download some images due to slow loading of the images | itssudipok | Recipes | 2 | 07-05-2022 01:05 PM |
Remove background images from pdfs? perhaps all images? | MarjaE | 2 | 10-17-2018 03:30 PM | |
How to change the Sigil Images folder name to images | davidspring | Sigil | 29 | 02-12-2018 05:00 AM |
Cover sizes vs. cover file sizes | writerkit | Calibre | 1 | 05-13-2013 10:32 PM |