Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 08-11-2009, 01:03 PM   #16
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Thanks, Dale, that's interesting!
HarryT is offline   Reply With Quote
Old 08-11-2009, 06:48 PM   #17
jgray
Fanatic
jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.
 
Posts: 554
Karma: 2928497
Join Date: Mar 2008
Device: Clara 2E & Sage
Quote:
Originally Posted by DaleDe View Post
I found the answer as to how ADE creates a page number if there is no page file. It uses 1024 unicode characters per page to compute arbitrary page numbers.
FBReader does the same thing, although I don't know if the number of characters used is the same.
jgray is offline   Reply With Quote
Old 08-11-2009, 10:15 PM   #18
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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:
Originally Posted by jgray View Post
FBReader does the same thing, although I don't know if the number of characters used is the same.
FBReader uses 2048 I believe.

Dale
DaleDe is offline   Reply With Quote
Old 08-12-2009, 02:57 AM   #19
jgray
Fanatic
jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.
 
Posts: 554
Karma: 2928497
Join Date: Mar 2008
Device: Clara 2E & Sage
Don't you just love binary?
jgray is offline   Reply With Quote
Old 08-12-2009, 06:29 AM   #20
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Jellby View Post
According to Abecedary's example, maybe just this?

Code:
<page-map xmlns="http://www.idpf.org/2007/opf">
<page name="" href="cover.html"/>
</page-map>
i.e., just set the whole book as a single unnamed page.
I just tried it. Didn't seem to work.
JSWolf is offline   Reply With Quote
Old 08-12-2009, 01:43 PM   #21
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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
I have been trying to make my own page-map.xml file and I cannot get it to work. Perhaps there is something else required somewhere or I didn't do it right. I tried to follow the instructions at the top of this thread.
DaleDe is offline   Reply With Quote
Old 08-12-2009, 02:03 PM   #22
Abecedary
Exwyzeeologist
Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.
 
Abecedary's Avatar
 
Posts: 535
Karma: 3261
Join Date: Jun 2009
Device: :PRS-505::iPod touch:
Quote:
Originally Posted by DaleDe View Post
I have been trying to make my own page-map.xml file and I cannot get it to work. Perhaps there is something else required somewhere or I didn't do it right. I tried to follow the instructions at the top of this thread.
Dale, the one thing that it looks like I missed is mentioning this line that gets inserted into the 'manifest' section of the opf file:
Code:
<item href="page-map.xml" id="map" media-type="application/oebps-page-map+xml"/>
Try putting that in and see if it helps. It's what defines the 'map' that the spine tries to reference. Otherwise, I can't seem to find anything else in any of the ePub-specific files.

I'll go edit my previous post to include that line.
Abecedary is offline   Reply With Quote
Old 08-12-2009, 03:26 PM   #23
ahi
Wizard
ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.
 
Posts: 1,790
Karma: 507333
Join Date: May 2009
Device: none
.....
ahi is offline   Reply With Quote
Old 08-12-2009, 03:50 PM   #24
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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:
Originally Posted by Abecedary View Post
Dale, the one thing that it looks like I missed is mentioning this line that gets inserted into the 'manifest' section of the opf file:
Code:
<item href="page-map.xml" id="map" media-type="application/oebps-page-map+xml"/>
Try putting that in and see if it helps. It's what defines the 'map' that the spine tries to reference. Otherwise, I can't seem to find anything else in any of the ePub-specific files.

I'll go edit my previous post to include that line.
thanks, it is seeing my map file now but I have some other problems. I built a partial file with just about 50 entries in it. When I do a goto page number the number I enter has to be the line number in the file and not the text number in the file. Perhaps my Hanlin (EZ Reader) does not fully support this feature. I clearly have more work to do to understand this. By the way, the page numbers on the right are gone it would seem and I still have some indication of progress in that I see 8/50 when I press the OK button. The number only increments when I get to the next entry in the file. Very interesting but not what I expected. Lots more investigation needed.

Dale
DaleDe is offline   Reply With Quote
Old 08-12-2009, 04:20 PM   #25
Abecedary
Exwyzeeologist
Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.
 
Abecedary's Avatar
 
Posts: 535
Karma: 3261
Join Date: Jun 2009
Device: :PRS-505::iPod touch:
Hmmm. How's the desktop ADE client handle it? For the one book I have that uses the pagemap, ADE works very close to how the 505 does (not surprisingly). Also, how many characters are there between "pages" in your files? I spot checked in a few of the source files and it looks like Mr Whicher is averaging about 2100 characters per page.
Abecedary is offline   Reply With Quote
Old 08-13-2009, 12:42 AM   #26
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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:
Originally Posted by Abecedary View Post
Hmmm. How's the desktop ADE client handle it? For the one book I have that uses the pagemap, ADE works very close to how the 505 does (not surprisingly). Also, how many characters are there between "pages" in your files? I spot checked in a few of the source files and it looks like Mr Whicher is averaging about 2100 characters per page.
the ADE client on the PC is similar to what I see on the EZ Reader. It says that it is on page 8/56 same at my EZ Reader but just beside the display of the x/x number is a box with a page number in it. That page number is the one from the page-map file. so the 8/56 is from the line count of items in the file while the box with the page number is correct. My EZ Reader does not have a specific page number indicator on it.

I have 32 pages defined one page at a time and 7 more prefix pages with roman numerals. So the first page of the real document is the 8 page in the listing hence the 8/56. There rest of the file is only successive sections with one or two entries so they are 40 or so pages apart, varies greatly with the section. The section entries increment the count but the individual pages in the first 32 do not so I have some problem with it finding the corresponding entry in the file I still need to figure out. So it stays on 8 until it gets to 33 and then jumps to 33/56 (which is really page 62 of 760). It that clear as mud? I have a goto page number command on the EZ Reader and it will only go to the sequence numbers for the major sections such as 33 referenced above and will not go to any of the other pages so it can't find the name= or id= statements in the file for some reason. (I tried both name and id to identify the page number and the reference in the page-map file is correct.

As I say I have a hodgepodge and have to do some more investigating to figure it out. However, the page numbers in the right column do not show up, ever.

Dale
DaleDe is offline   Reply With Quote
Old 08-13-2009, 03:27 AM   #27
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
The "Goto page x" facility on the CyBook Opus definitely uses the ADE marginal page numbers for its "goto". If you goto page 123, it takes you to the page labelled "123" in the margin.
HarryT is offline   Reply With Quote
Old 08-13-2009, 05:08 AM   #28
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by HarryT View Post
The "Goto page x" facility on the CyBook Opus definitely uses the ADE marginal page numbers for its "goto". If you goto page 123, it takes you to the page labelled "123" in the margin.
Hmmm... Does it show non-numeric pages (like xxiii) too? In that case, how are you supposed to jump there?
Jellby is offline   Reply With Quote
Old 08-13-2009, 05:15 AM   #29
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
If you can point me to a file which has such a thing, I'll be happy to test it out.
HarryT is offline   Reply With Quote
Old 08-13-2009, 06:05 AM   #30
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Abecedary mentioned it here.
Jellby is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page numbers Fincary Astak EZReader 4 02-18-2010 03:06 PM
page numbers nenad Amazon Kindle 2 12-19-2009 09:01 AM
pdf and page numbers pimpoum Sony Reader 2 04-21-2009 12:52 PM
Page numbers, AGAIN orlincho Bookeen 92 08-19-2008 07:15 AM
Page numbers (again) Prospect Workshop 50 04-10-2008 02:19 AM


All times are GMT -4. The time now is 05:07 PM.


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