I'm trying to typeset a book, covering a world trip. Instead of standard page numbers, I want each page to correspond with a digit representing driven kilometers. Of course I can't manually set that on each page, but I know on certain pages (looking at my GPS tracks) what the kilometer reading on that page would be. So imagine I know 2-3 certain numbers per chapter. The rest needs to be interpolated and rounded (or simply post-comma digits dropped) and spaces out evenly between the pages with known "counter" pages. Any ideas on how to do that? :)
I would probably need a new command, like \thisPageKilometerReading{12345}
. The rest could/should be done automatically. I could also set the max. kilometers which would always appear on the last page.
Hope this is not toooo much to wish for?
(I'm using XeLaTeX and a KOMA-Script document class.)
\pageref
also return the kilometer value?