convert ad and newspaper index pages to table format