Format tables properly
Fix coloring of table and figure lists
Reorder pandoc flags