add demonstration how to create a TOC tree

This demo is using poppler