span> <span class='fu'><a href='addPageBreak.html'>addPageBreak</a></span>(<span class='no'>doc</span>)

<span class='co'># add titles that will be entries in the TOC</span>
<span class='no'>doc</span> <span class='kw'>=</span> <span class='fu'><a href='addTitle.html'>addTitle</a></span>( <span class='no'>doc</span>, <span class='st'>"My first title"</span>, <span class='kw'>level</span> <span class='kw'>=</span> <span class='fl'>1</span> )
<span class='no'>doc</span> <span class='kw'>=</span> <span class='