![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2021
Device: kindle
|
Unwanted Indent on header issue
Hi, I am converting my docx to epub, it looks fine in calibre but when I check it in kindle for some reason the headers have indented.
This is some sample code from calibre showing the html generated for the header. Both the image and the header look fine in the preview window here https://ibb.co/G7R6BtJ but in kindle the indent is showing, the image and the header have both offset https://ibb.co/9nZ3LHy The css bits are here https://ibb.co/DLjh4n7 https://ibb.co/TvVc2QY https://ibb.co/zxM7bwj Appreciate any help you can give. thanks in advance Last edited by Armlegga; 08-09-2021 at 06:16 PM. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,470
Karma: 239219543
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
To view the epub on your Kindle, you must convert it. What format did you convert it to? If to mobi, that's why your formatting is off. Convert it to azw3 (from epub).
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I'd convert the DOCX to AZW3 (aka KF8) - if you need to do any post conversion edits you can use the calibre ebook-editor.
If you used DOCX styles in MS Word or LO Writer for headings, lists, etc you might not need to do any post conversion editing. BR |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2021
Device: kindle
|
Thanks for the replies, I will try the AZW3 conversions tonight and update on the results, I'm creating the epub to publish to kdp and ingramsparks, bit new to this
|
![]() |
![]() |
![]() |
#5 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,022
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
I find AZW3 works best if I convert DOCX to epub2, then convert epub2 to AZW3/KF8
I never need to edit the HTML or CSS of the books we edit in LO Writer (native ODT saves and an EXTRA docx Save As for Calibre). But we use paragraph styles. Also we upload the SAME epub2 to Amazon, Smashwords (who send on to Apple, Kobo, Barnes & Noble and Scribd) and Google Books for Play Store. We format the source book differently for paper and use direct PDF export from LO Writer (was MS Word till 2014). I can only see the point of Ingram Spark for paper versions. Last edited by Quoth; 08-10-2021 at 07:37 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
I recommend that you try your book out in Amazon's Kindle Previewer for a better idea of how it will actually appear on various Kindle apps and devices. |
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2021
Device: kindle
|
Hi, thanks for the help
I seem to have resolved it by playing around and putting the header line into a paragraph so <li id="id_Toc78976220" class="block_12"><span class="text_15">The Human Body</span></li> becomes <p li id="id_Toc78976220" class="block_12"><span class="text_15">The Human Body</span></li></p> It then shows in Amazons kindle previewer correctly without the indent on the header |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
In epub converting calibre auto split file in header. Why not create toc from header. | The_book | Conversion | 7 | 11-06-2020 09:09 AM |
Indent issue with paragraph spacing | HFM1101 | Conversion | 6 | 08-01-2020 03:55 AM |
Indent other than em | curiousgeorge | ePub | 11 | 10-22-2012 02:56 PM |
Strange chapter header issue? | bfollowell | Kindle Formats | 27 | 04-05-2011 05:58 PM |
Calibre Indent Issue When Removing Blank Lines (Converting From HTML to MOBI or EPUB) | David Derrico | Calibre | 5 | 08-04-2010 12:13 AM |