Mobileread
need some help with formatting text in popup footnotes for Kindle ebook
#11  JSWolf 05-14-2020, 09:17 AM
You also need to test your eBook in Mobi format because Mobi does not do popup footnotes and you have to make sure the footnotes work in Mobi.
Reply 

#12  TashTash 05-14-2020, 11:39 AM
Quote JSWolf
You also need to test your eBook in Mobi format because Mobi does not do popup footnotes and you have to make sure the footnotes work in Mobi.
Hello,

yes I know I do. And I have tested it directly on Kindle device. And the popups do not work properly, the sentence lines get broken. See the picture I posted above in one of the replies.

Thank you,

Tash
Reply 

#13  DaleDe 05-14-2020, 12:02 PM
Quote TashTash
Hello,

I know I can post a picture inside the thread, but for some reason I was requested to use a link which didn't work.
If you scroll down after the reply to thread (or the advance option on new posts) You will find a Manage Attachments button. Press this to add attachments to a post. The attachment can be a file or a picture. This is the preferred way to provide more information.

Dale
Reply 

#14  Doitsu 05-14-2020, 03:39 PM
Quote TashTash
Should I miss anything out, please let me know.
The HTML code looks OK. The stylesheet is missing the definitions of the following classes:

_idFootnotes
_idFootnote
_idFootnoteAnchor
_idGenColorInherit
Reply 

#15  TashTash 05-14-2020, 04:15 PM
Quote Doitsu
The HTML code looks OK. The stylesheet is missing the definitions of the following classes:

_idFootnotes
_idFootnote
_idFootnoteAnchor
_idGenColorInherit
Hello,

You are right, i actually didn't see that and didn't realize this could be a problem. As I told you, I am just a designer with only basic CSS and HTML knowledge. However I do have idGenColorInherit defined, just didn't copy it. As for the others, they indeed are not in the CSS. I know this is not your job, but could and would you be willing to help me define them?

Thank you in advance, sending big hug.

Tash
Reply 

#16  Hitch 05-17-2020, 04:12 PM
Quote TashTash
Hello,

yes I know I do. And I have tested it directly on Kindle device. And the popups do not work properly, the sentence lines get broken. See the picture I posted above in one of the replies.

Thank you,

Tash
But the file you're testing hasn't been through the PW (Publishing Workflow) yet, right? You are testing a mobi that you made, from an indd-generated ePUB?

Did you clean up the formatting, the HTML and CSS, of this ePUB?

And lastly--from your coding, I'm guessing the answer is no, but are you using a fixed-layout ePUB, and building your MOBI from that? You're not, right? (The lack of positioning spans in the footnote implies that, but..)

Lastly, remove the widows and orphans coding in your footnote paragraphs. That most certainly won't help you with endnotes, which is what these are.

Hitch
Reply 

#17  rez9000 06-24-2020, 05:45 PM
I'm a relative newbie and I'm not a designer, coder or ebook author or anything of that stripe. I thought I'd put my question in this thread just to save space.

I won't go into any major details yet, as an answer to an initial question may be sufficient:

The question is this: if I have, in an AZW3 format book, a footnote that consists of more than one paragraph, is it possible to markup the text of the footnote so that it displays it as multiple paragraphs within a popup footnote on my Paperwhite?

Just for some background, those who are familiar with the Discworld novels will know that there often lots of footnotes, some of which can take up close to half a page (in a print copy).

I have them all in print, but I wanted to also have them in ebook form, so I've been steadily buying them on Amazon. However, I'm not happy with the style and 'feel' of them, so I've been adjusting them to suit my own personal taste (like using custom fonts for the title page and the main text, etc.). It all works fine, but when it comes to the footnotes, the popup form won't behave the way I want it to - e.g. it doesn't use the font I've set in the css, it doesn't fully justify and it runs all the paragraphs together. So I want to know if it can behave the way I want it to at all.

In the footnotes file I have at the end of the book, in my Calibre editor preview page and on the reader itself, the page containing the footnote looks absolutely fine. But in the popup, instead of this:

"The shape and cosmology of the Disc system are perhaps worthy of note at this point.
There are, of course, two major directions (more text that covers a number of lines and on and on and on.
More text making up a third paragraph of maybe around ten in this single footnote."

It displays it like this:

"The shape and cosmology of the Disc system are perhaps worthy of note at this point.There are, of course, two major directions (more text that covers a number of lines and on and on and on.More text making up a third paragraph of maybe around ten in this single footnote."

I wanted to ask before posting any stylesheets and other info, whether it's even possible to adjust the layout of a popup footnote. If not, then that's that. If it is possible, then I can post my code and open it up for dissection and guidance.

Thanks in advance.
Reply 

 « First  « Prev   (2/2)
Today's Posts | Search this Thread | Login | Register