Reused old paragraphs.py and test_paragraphs.py. Implemented very basic output for Graphviz DOT and LaTeX files. Basic plain-text debug output.