More sophisticated paragraph processing in the appendix

* Use paragraph markers to determine some semblance of depth
* Don't generate paragraph markers layer for the appendix