Fix page and chapter numbering.
Merge pull request #1 from yasuhito/feature/fix_chapter_numbering

Fix page and chapter numbering.