use structure transform to present a TOC in pages