First attempt to fix #28

Ignore section commands in preamble. Also add preamble to TOC.