12-24-2013, 04:08 AM | #1 |
Addict
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
|
TOC with Page #
Hello,
Is is possible to make a Table of Contents with page numbers? (view attached image) I understand that page numbers will vary depending on font sizes, is it possible to get a Toc with page numbers that update depending on font size? javascript possibly? Thanks, |
12-24-2013, 11:20 AM | #2 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
12-24-2013, 12:52 PM | #3 |
Addict
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
|
Do you know of a Javascript library that has some sort of "getPage()" function because I don't know how that works with eBook readers. eBook api? :P
I don't mind writing something from scratch as long as I know how to access the eBook elements. :/ |
12-24-2013, 02:00 PM | #4 |
Grand Sorcerer
Posts: 12,167
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
I have to wonder what the point IS of having page numbers IF they change as you alter font size.
I know Kobo in effect do this within their kEpub format material that are displayed with the ACCESS engine, but again, fail to see a reason for it. It's not as if you can share page numbers with someone else unless they are using the exact same font and font-size settings on their reader. |
12-24-2013, 03:46 PM | #5 |
Addict
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
|
In MSWord when you look at a table of contents you see the page number of a subject matter and you can use the "Go to" function. In eBook you can see the page number (updated as your font does) and scroll with the bar below to that particular page.
We can also ask why is this option available even in MSWord, but I don't really care about the answer, if it's possible in any document over PC or Mac I expect it to be available in eBooks as well. True, is nothing BUT luxury function. That being said, I am not asking this for my own amusement, I am asking this because I am making an eBook for someone and they asked if that is possible. I couldn't care less if that function is there or not but when someone else is asking and you're working for them then... you post here I guess |
12-24-2013, 04:29 PM | #6 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
12-24-2013, 04:38 PM | #7 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Perhaps you should think of including a Page-map or PageList -- then the eReader will know what page you're on. And the Kindle at least shows the page numbers (if available) on the active ToC. I don't know about other readers as the only one I have is a Kindle.
You could add the page numbers as regular html in the HTML ToC to correspond to the page numbers you defined in the PageList/Page-map. |
12-24-2013, 04:44 PM | #8 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
But why do you need a page number? If it is for scrolling to the correct page, wouldn't you be better of with a normal link?
|
12-24-2013, 05:02 PM | #9 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
What you're talking about doing--I mean, think about it--is making something like this work across myriad reading devices, all with different basic operating systems (Droid, Mac, PC, whatever), with different basic e-reading software (ranging from Marvin to ADE to ADE-based to iBooks), some of which have javascript, most of which don't, and let's not forget Amazon, which only has JSON. You want to do this on the fly for devices which have anywhere from 5-10 fonts to choose from, not to mention what happens when a book has a font already embedded in it for the base font, and up to 8 different (no, now, 10 different) font sizes to choose from. I don't actually know how many possible page numbers that results in, but...as someone else here asked, what's the POINT? Given that on any given reading device, you can click "go to" the TOC, and then simply click the relevant item on the TOC you want to go to, why on earth do you even want the page numbers? What is their actual functionality? Are you seriously saying that if you saw a Word-like TOC, saying that chapter 7 started on "page 142," you'd SCROLL to page 142, instead of clicking "chapter 7" and jumping there, via a regular link? Sorry, but I absolutely don't understand this. Even in Word, I never "scroll" to the page numbers (or in ePDF's); I use the links to rapidly go to where I want. Why would anyone scroll? I'm obviously missing something here. What is it? Hitch |
|
12-24-2013, 06:50 PM | #10 |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The dead sea scrolls did not have Hyperlinks.
: Wait a Century ! They did not have Page Numbers either Even Academics seem stuck in the last century. Chapter/section: Paragraph: Word does not change with any Zoom or aspect The Bible folk have been doing it this way almost forever because it works |
12-25-2013, 01:45 AM | #11 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
This methodology (line numbers) seems to work quite well for annotation/discussion. I'd concur with my one Twoo Wuv, Ducky's point, that Chapter/Section/Paragraph also works quite well for any work requiring academic notation reference. Hitch |
|
12-25-2013, 03:37 AM | #12 |
Addict
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
|
@DiapDealer: oh yeah
@eschwartz: Thanks! I'll get right on it! @Toxaris: Like I said in my previous post, I couldn't care less about it, I was asked if it's possible and that the author wants to have to option if possible. @Hitch: You make a valid point indeed, same response as I had for Toxaris. However, I do like to note that I came across quite a few word documents with manually made ToCs, I guess because the author does not know MSWord good enough to setup heading and paragraph templates so he/she can use in ToC for later use. So if there is a manual ToC in the document having page number (manually made) is very important, at least in the DOC file. @theducks: |
12-25-2013, 04:05 AM | #13 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
That is because a lot of writers are still stuck in the typewriter age. They do not want to be bothered with computers. They usually expect these kind of things work automagically and they are not willing to do a half-hour course to get to know some basic tasks which applies to almost all wordprocessors.
|
12-25-2013, 06:28 PM | #14 | ||
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
We see manually created TOC's all the time. We simply delete them from the file, as they serve no purpose whatsoever in our business. We don't use them in making our ePUBs or MOBI's, so no reason to leave them. We create ours on the fly, using Sigil, or if (for some crackpot reason) we have to create a TOC manually, we're creating it in a linked fashion anyway. So, when you say this: Quote:
Hitch |
||
12-26-2013, 05:32 AM | #15 | ||
Addict
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
|
Hitch, you are missing the point here.
The author WANTS to have the Quote:
Regarding this: Quote:
|
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Page Mapping Using toc.ncx | lorddon | ePub | 35 | 01-16-2018 12:18 PM |
Cover page in TOC | Gunslinger | Sigil | 8 | 06-05-2013 03:30 AM |
More than one page of TOC? | Steven630 | Recipes | 5 | 03-14-2013 11:01 AM |
Generated TOC links back to TOC page in the book | Caleb666 | Sigil | 7 | 08-17-2011 11:58 AM |
How to make a TOC page? | violent23 | Sigil | 20 | 12-07-2010 11:20 AM |