Tidy up TOC for Android PDF