Extract sections of PDF
<p>I am trying to extract sections of a PDF file, for use in text analysis. I tried using <a href="https://github.com/CrossRef/pdfextract" rel="nofollow">pdfextract</a> to accomplish this. However, a command such as</p>

<pre><code>pdf-extract extract --regions --no-lines Bauer2010.pdf
</code></pre>

<p>only extract the <code>(x,y)</code> coordinates of a region, as in the example below.</p>

<pre><code>&lt;region x="226.32" y="750.47" width="165.57" height="6.37"
line_height="6.37" font="BGBFHO+AdvP4DF60E"&gt;Patient Education and
Counseling 79 (2010) 315-319&lt;/region&gt;
</code></pre>

<p>Can sections of a PDF be extracted?</p>