View Single Post
Old 02-09-2021, 07:46 AM   #17
413Michele
Enthusiast
413Michele began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Jan 2021
Location: Italy
Device: Kobo Libra 2, Kindle Paperwhite (1st gen)
Quote:
Originally Posted by davidfor View Post
Nothing there looks wrong. And a couple of tests I have done seem to be fine. I think we need to see more code. What is around the heading? Is it at the top of the file or somewhere further down? The fact that calibre added an id means it isn't the first of that heading level in the file.

If the book has copyright, you can use the ScrambleBook plugin to produce a version that can be posted here.
I can attach the full book, as it's not copyrighted (it asks for attribution though, so here is the source

Quote:
If the existing code is '<h2 class="chapterClass">', then changing the tag to a "p" will generally keep the desired formatting. But, if it is just '<h2>', I have to change to '<p class="chapterClass">' and create a class 'chapterClass' that displays the text correctly. With your version, there isn't any change needed or new classes.
Oh yeah, understood I try to be as conservative as possible with books I didn't create
Attached Files
File Type: epub NEW_Candido, o L'ottimismo - Voltaire.epub (383.7 KB, 318 views)
413Michele is offline   Reply With Quote