git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@37 1aa58f4a-7d42-0410-adbc-911cccaed67c

pull/1/head
yusuke.shinyama.dummy 2008-06-29 08:55:05 +00:00
parent 8a77664c6b
commit 1d5492fe9f
3 changed files with 10 additions and 11 deletions

View File

@ -18,11 +18,11 @@ cdbcmap: CMap
-mkdir CDBCMap
$(CONV_CMAP) CMap/*
samples:
test:
cd samples && make
clean:
cd pdfminer && make clean
cd pdflib && make clean
cd tools && make clean
cd samples && make clean

View File

@ -11,7 +11,7 @@ blockquote { background: #eeeeee; }
<h1>PDFMiner</h1>
<div align=right class=lastmod>
<!-- hhmts start -->
Last Modified: Sun Jun 29 11:34:38 JST 2008
Last Modified: Sun Jun 29 17:53:42 JST 2008
<!-- hhmts end -->
</div>
@ -45,8 +45,8 @@ http://www.unixuser.org/~euske/python/pdfminer/index.html
<a name="source"></a>
<p>
<strong>Download (source):</strong><br>
<a href="http://www.unixuser.org/~euske/python/pdfminer/pdfminer-dist-20080429.tar.gz">
http://www.unixuser.org/~euske/python/pdfminer/pdfminer-dist-20080429.tar.gz
<a href="http://www.unixuser.org/~euske/python/pdfminer/pdfminer-dist-20080629.tar.gz">
http://www.unixuser.org/~euske/python/pdfminer/pdfminer-dist-20080629.tar.gz
</a>
(1.8Mbytes)
@ -66,12 +66,10 @@ http://pdfminerr.googlecode.com/svn/
<li> Go to the <code>pdfminer</code> directory.
<li> Do the following test:<br>
<blockquote><pre>
$ <strong>python pdf2txt.py samples/simple1.pdf</strong>
&lt;document&gt;
&lt;page id="0" bbox="0,0,612,792" rotate="0"&gt;
&lt;text x="100.000" y="100.000" font="Helvetica" size="24.000" width="137.352"&gt; Hello World &lt;/text&gt;
$ <strong>python -m tools.pdf2txt samples/simple1.pdf</strong>
&lt;page id="0" bbox="0.000,0.000,612.000,792.000" rotate="0"&gt;
&lt;text font="Helvetica" direction="1" bbox="100.000,695.032,237.352,719.032" fontsize="24.000"&gt; Hello World &lt;/text&gt;
&lt;/page&gt;
&lt;/document&gt;
</pre></blockquote>
<li> Done!
</ol>

View File

@ -1,6 +1,7 @@
# GNUMakefile for test
PYTHON=python
CDBCMAPDIR=../CDBCMap
PDF2TXT=PYTHONPATH=.. $(PYTHON) -m tools.pdf2txt
HTMLS= \
@ -21,4 +22,4 @@ clean:
.SUFFIXES: .pdf .html
.pdf.html:
$(PDF2TXT) -H -o $@ $<
$(PDF2TXT) -D$(CDBCMAPDIR) -H -o $@ $<