View Single Post
Old 12-24-2015, 08:36 AM   #11
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
@Doitsu : I think that what @polizoto wants is to have the page numbers appear in the ToC as well. This way the resulting EPUB can cope with the lack of support for (proper) page-list in real-world apps.

For example, you can put them as children of the corresponding main ToC entry:

Code:
ToC
  - Cover
  -- 1
  - Preface
  -- 2
  -- 3
  - Introduction
  -- 4
  -- 5
  -- 6
  -- 7
  - First Chapter
  -- 8
  -- 9
  -- ...
Albeit against the "official blessings" of the IDPF, I think it would be an idea worth exploring, at least as an option in your plugin --- I guess it would not be too difficult for you to implement it, given you have all the machinery in place.

(Not sure how to deal with number gaps, or if collapsing ranges would work. These might be user options.)
AlPe is offline   Reply With Quote