Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 03:51 PM   #1
frankiesgal
Junior Member
frankiesgal began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2024
Device: Kindle
endnotes on separate pages - ebook

Hi Folks,

I dropped my Word2021 docx with multiple endnotes (insert>endnote in Word) into Calibre (latest ver), converted to epub. I then dropped it into Kindle Previewer and all endnotes are on separate pages. (see 3 images attached),

Two questions:

1) What should I examine, and in which SW, to determine a fix? I'm comfortable with finding and fixing, and adding, small things in css. I'm better in html. Pretty tech savvy just need general steps.

2) Viewing my endnotes in Calibre, why are the numbers huge, and where can I fix please ? I suppose it doesn't matter too much, since Kindle Previewer, displays them correctly, just curious.

Have spent a number of hours googling an answer, and am at the end of my rope here, so hoping for a resolution.

Thanks much!
Cat
Attached Thumbnails
Click image for larger version

Name:	calibre css footnotes view.png
Views:	17
Size:	152.3 KB
ID:	210118   Click image for larger version

Name:	calibre footnotes view.png
Views:	18
Size:	176.8 KB
ID:	210119   Click image for larger version

Name:	KP footnotes view.png
Views:	18
Size:	43.7 KB
ID:	210120  
frankiesgal is offline   Reply With Quote
Old Today, 04:02 PM   #2
frankiesgal
Junior Member
frankiesgal began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2024
Device: Kindle
Yes in the css file I've changed "font size: large" to smaller, in the css file, with no appreciable difference.
frankiesgal is offline   Reply With Quote
Advert
Old Today, 04:42 PM   #3
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,143
Karma: 89201339
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Fix the styles in MS Word.
Don't use direct formatting ANYWHERE.
Quoth is offline   Reply With Quote
Old Today, 04:47 PM   #4
frankiesgal
Junior Member
frankiesgal began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2024
Device: Kindle
Hi thanks for the reply. I was very diligent in using a proper endnote insert keystroke. Where in my docx file do I look for an issue?
frankiesgal is offline   Reply With Quote
Old Today, 04:54 PM   #5
frankiesgal
Junior Member
frankiesgal began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2024
Device: Kindle
Sorry, where in my Word style for 'endnotes' am I examining ? Would it potentially solve the issue if I just reverted to a default style for "footnotes?" Thanks.
frankiesgal is offline   Reply With Quote
Advert
Old Today, 05:17 PM   #6
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,244
Karma: 5566620
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
We'd need to see the code for "block_44" and the code for <dl>, <dt> and <dd> in the css. Maybe one of those contains a forced page break.
Karellen is online now   Reply With Quote
Old Today, 05:25 PM   #7
frankiesgal
Junior Member
frankiesgal began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2024
Device: Kindle
Here you go, thanks. Just tried various supplied default endnote/footnote styles in word, to no avail.
Attached Thumbnails
Click image for larger version

Name:	one.png
Views:	9
Size:	95.5 KB
ID:	210121   Click image for larger version

Name:	two.png
Views:	7
Size:	112.1 KB
ID:	210122  
frankiesgal is offline   Reply With Quote
Old Today, 06:13 PM   #8
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,244
Karma: 5566620
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
There is the problem. First image...

dl.footnote {
page-break-after: always;
}

It is forcing a pagebreak. Delete that tag and see if it fixes the problem.

And contributing to that problem is that each footnote/endnote uses its own <dl> tag set. Whereas it would be better to use one <dl> tag for all the endnotes.
Karellen is online now   Reply With Quote
Old Today, 06:23 PM   #9
frankiesgal
Junior Member
frankiesgal began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2024
Device: Kindle
You are marvelous!! Here's where I'm at right now. I changed the dl font size from large to x-small, and replaced the footnote page break from always to avoid. Is that okay?

I'd like the endnote text to be on the same line as the clickable endnote number, for a cleaner view and to reduce pages vs what the attached shows. How might I do that?

Just grinning right now, thank you !!!!!!
Attached Thumbnails
Click image for larger version

Name:	progress.png
Views:	9
Size:	120.3 KB
ID:	210123  
frankiesgal is offline   Reply With Quote
Old Today, 06:43 PM   #10
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,244
Karma: 5566620
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by frankiesgal View Post
... and replaced the footnote page break from always to avoid. Is that okay?
I would remove it or comment it out using
PHP Code:
/* dl.footnote {
page-break-after: always;
} */ 
The list has to break somewhere to flow onto a new page, so it is going to be ignored.

Quote:
Originally Posted by frankiesgal View Post
I'd like the endnote text to be on the same line as the clickable endnote number, for a cleaner view and to reduce pages vs what the attached shows. How might I do that?
Removing the use of the <dl> tag set which is designed for terms and definitions to be on separate lines. See...
https://developer.mozilla.org/en-US/...TML/Element/dl

Maybe try this and see how it works...
Code:
<p><span id="note_1350" class="footnote"><a href="#back_note_1350" title="1350">1350</a></span> <span class="block_44">Harrisburg Evening News 23 Jun 1938 p18</span></p>
Though I would prefer to use a hanging paragraph, for when the description wraps onto the next line, which is probably why a <dl> was used.
Karellen is online now   Reply With Quote
Old Today, 06:51 PM   #11
frankiesgal
Junior Member
frankiesgal began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2024
Device: Kindle
Okay will remove the page break reference altogether.

Will examine the link you shared.

Would I have to add the span id to every single endnote?

I thought today would be day two of accomplishing nothing again. Thanks truly for being so helpful.
frankiesgal is offline   Reply With Quote
Old Today, 07:17 PM   #12
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,244
Karma: 5566620
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by frankiesgal View Post
Would I have to add the span id to every single endnote?
Yes.

If that bit of code I supplied works as intended, then you would adjust the other endnotes in the same manner. (remember to create a backup before making big changes)

It should be fairly easy to change all the endnotes with a Regex based Search & Replace. How is your regex?

(you are welcome )
Karellen is online now   Reply With Quote
Old Today, 07:30 PM   #13
frankiesgal
Junior Member
frankiesgal began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2024
Device: Kindle
Yes I have backups of backups thanks! My regex skills are rustier than an abandoned 20th century farm tractor. But if you have a magic link to refresh my memory I'm game!! Calibre really is a wonderful intuitive tool. I tried a couple other options, but it definitely has the least learning curve.
frankiesgal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Make ebook pages like the real book's pages wisdomlight Editor 24 04-02-2024 04:23 PM
How can I create a kindle ebook with links to images and pop-up endnotes? DocHolliday2006 Kindle Formats 13 11-05-2020 11:32 AM
How do I make a "hidden" pages for endnotes in an EPUB? clemens14 ePub 9 04-30-2012 06:57 PM
Returning to previous pages from endnotes? msmith301 Barnes & Noble NOOK 8 06-26-2011 02:46 PM


All times are GMT -4. The time now is 10:19 PM.


MobileRead.com is a privately owned, operated and funded community.