Toc: Pass errors if no atx headers are processed.

Fixes issue #102