Answers.Body: <p>Kobo ereaders have two different reading engines, one for <code>.epub</code> files, another for <code>.kepub.epub</code> files.<br>
  These two engines have some little differences, one is the way page count is displayed: for the entire book with <code>.epub</code>, for a single chapter with <code>.kepub.epub</code>.<br>
  If you want to use this feature the simplest way is to rename the file extension, but it is advisable to use Calibre instead. If you install the <em>Advanced Kobo Driver</em> plugin it will automatically convert <code>.epub</code> files in <code>.kepub.epub</code> when you send them to the device, while performing some optimizations that you won't have if you simply change the extension.<br>
  And, this is a feature of the reading device, not of the file itself: it's not coded in your ebook, it's the ereader that has it and use it when detects the file type: you won't get it in other devices even if you change the extension.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-02-03T11:33:09.960Z
Answers.Text: Thanks. I was hoping for there to be a standard way of doing this, but a straight 'no' is the next-best thing. Ah, well.
Answers.UserDisplayName: evilsoup
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-19T21:36:18.137Z
Answers.Text: Ah, finally I got per chapter page count working for my Kobo Forma and my Epubs, thank you!
Answers.UserDisplayName: cseelus
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-02-03T08:41:28.900Z
Answers.LastActivityDate: 2017-05-16T18:47:23.243Z
Answers.LastEditDate: 2017-05-16T18:47:23.243Z
Answers.UserDisplayName: Sekhemty
Body: <p>With the ebooks I generate myself (using <a href="http://johnmacfarlane.net/pandoc/README.html" rel="noreferrer">pandoc</a>), I have a single page count for the entire book.</p>
  
  <p>Ebooks that I purchase off the Kobo store have a separate page count for individual chapters, which is handy for books (should I carry on reading or just go to sleep?) and even more attractive for short story collections. It's an effect I'd like to replicate in my own ebooks.</p>
  
  <p>I understand that Kobo uses its own custom <a href="http://wiki.mobileread.com/wiki/Kepub" rel="noreferrer">'kepub'</a> format, an extension of epub 2. Is what I want possible with vanilla epub? Preferably in such a way as will work on a range of devices, and that will 'stick' when run through kindlegen.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-02-03T03:15:02.263Z
Comments.Text: How does knowing that you are on page X of a chapter help you in determining if you should continue reading? Does it also show a total of pages for the chapter (X of Y)? Or does that pagecount count down?
Comments.UserDisplayName: Anthon
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-02-03T11:31:43.130Z
Comments.Text: @Anthon It shows 'page 4 of 20' (or whatever), so it gives an idea of how long there is to go in the current chapter.
Comments.UserDisplayName: evilsoup
Tags: <epub><mobi><kobo>
Title: Getting a separate page count per chapter
UserDisplayName: evilsoup
ThreadText: # Getting a separate page count per chapter
  
  (Asked by: username_0 on 2014-02-02)
  
  With the ebooks I generate myself (using [pandoc](http://johnmacfarlane.net/pandoc/README.html)), I have a single page count for the entire book.
  
  Ebooks that I purchase off the Kobo store have a separate page count for individual chapters, which is handy for books (should I carry on reading or just go to sleep?) and even more attractive for short story collections. It's an effect I'd like to replicate in my own ebooks.
  
  I understand that Kobo uses its own custom ['kepub'](http://wiki.mobileread.com/wiki/Kepub) format, an extension of epub 2. Is what I want possible with vanilla epub? Preferably in such a way as will work on a range of devices, and that will 'stick' when run through kindlegen.
  
  **Tags:** epub, mobi, kobo
  
  > **Comments:**
  > **username_1**: How does knowing that you are on page X of a chapter help you in determining if you should continue reading? Does it also show a total of pages for the chapter (X of Y)? Or does that pagecount count down?  
  > **username_0**: @username_1 It shows 'page 4 of 20' (or whatever), so it gives an idea of how long there is to go in the current chapter.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2014-02-03. Score: 8 | Accepted answer
  
  Kobo ereaders have two different reading engines, one for `.epub` files, another for `.kepub.epub` files.  
  These two engines have some little differences, one is the way page count is displayed: for the entire book with `.epub`, for a single chapter with `.kepub.epub`.  
  If you want to use this feature the simplest way is to rename the file extension, but it is advisable to use Calibre instead. If you install the *Advanced Kobo Driver* plugin it will automatically convert `.epub` files in `.kepub.epub` when you send them to the device, while performing some optimizations that you won't have if you simply change the extension.  
  And, this is a feature of the reading device, not of the file itself: it's not coded in your ebook, it's the ereader that has it and use it when detects the file type: you won't get it in other devices even if you change the extension.
  
  > **Comments:**
  > **username_0**: Thanks. I was hoping for there to be a standard way of doing this, but a straight 'no' is the next-best thing. Ah, well.  
  > **username_3**: Ah, finally I got per chapter page count working for my Kobo Forma and my Epubs, thank you!  
  
  ---
  
  