a small bit of doc about configuring this
refactor a long method, put Section in own file
Fixing the parsing of page numbers.
Assertion pagenb < len(alldata) is wrong: docs can have many pages.

+a bit of doc