How do I display page numbers in a book? I have my nodes organized using the book module. I would like to be able to display the page number at the bottom of the page. The pages would be numbered according to the order in the book outline. Is this possible? I even tried looking for a PHP code snippet I could put in book-navigation.tpl.php or similar.
You can add simple PHP code in your node.tpl.php

    &lt;?php
      $allbook = book_toc($node-&gt;book['bid'],3);
     $allbook_chapter = array_search($node-&gt;book['mlid'], array_keys($allbook));
print $allbook_chapter;
            ?&gt;


This code prints page number of current node. This in't better way of course. 
Moving this logic to template.php is better solution.