Automatically generate list of pages.