git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@37 1aa58f4a-7d42-0410-adbc-911cccaed67c
parent
8a77664c6b
commit
1d5492fe9f
4
Makefile
4
Makefile
|
@ -18,11 +18,11 @@ cdbcmap: CMap
|
||||||
-mkdir CDBCMap
|
-mkdir CDBCMap
|
||||||
$(CONV_CMAP) CMap/*
|
$(CONV_CMAP) CMap/*
|
||||||
|
|
||||||
samples:
|
test:
|
||||||
cd samples && make
|
cd samples && make
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cd pdfminer && make clean
|
cd pdflib && make clean
|
||||||
cd tools && make clean
|
cd tools && make clean
|
||||||
cd samples && make clean
|
cd samples && make clean
|
||||||
|
|
||||||
|
|
14
README.html
14
README.html
|
@ -11,7 +11,7 @@ blockquote { background: #eeeeee; }
|
||||||
<h1>PDFMiner</h1>
|
<h1>PDFMiner</h1>
|
||||||
<div align=right class=lastmod>
|
<div align=right class=lastmod>
|
||||||
<!-- hhmts start -->
|
<!-- hhmts start -->
|
||||||
Last Modified: Sun Jun 29 11:34:38 JST 2008
|
Last Modified: Sun Jun 29 17:53:42 JST 2008
|
||||||
<!-- hhmts end -->
|
<!-- hhmts end -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -45,8 +45,8 @@ http://www.unixuser.org/~euske/python/pdfminer/index.html
|
||||||
<a name="source"></a>
|
<a name="source"></a>
|
||||||
<p>
|
<p>
|
||||||
<strong>Download (source):</strong><br>
|
<strong>Download (source):</strong><br>
|
||||||
<a href="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-20080429.tar.gz
|
http://www.unixuser.org/~euske/python/pdfminer/pdfminer-dist-20080629.tar.gz
|
||||||
</a>
|
</a>
|
||||||
(1.8Mbytes)
|
(1.8Mbytes)
|
||||||
|
|
||||||
|
@ -66,12 +66,10 @@ http://pdfminerr.googlecode.com/svn/
|
||||||
<li> Go to the <code>pdfminer</code> directory.
|
<li> Go to the <code>pdfminer</code> directory.
|
||||||
<li> Do the following test:<br>
|
<li> Do the following test:<br>
|
||||||
<blockquote><pre>
|
<blockquote><pre>
|
||||||
$ <strong>python pdf2txt.py samples/simple1.pdf</strong>
|
$ <strong>python -m tools.pdf2txt samples/simple1.pdf</strong>
|
||||||
<document>
|
<page id="0" bbox="0.000,0.000,612.000,792.000" rotate="0">
|
||||||
<page id="0" bbox="0,0,612,792" rotate="0">
|
<text font="Helvetica" direction="1" bbox="100.000,695.032,237.352,719.032" fontsize="24.000"> Hello World </text>
|
||||||
<text x="100.000" y="100.000" font="Helvetica" size="24.000" width="137.352"> Hello World </text>
|
|
||||||
</page>
|
</page>
|
||||||
</document>
|
|
||||||
</pre></blockquote>
|
</pre></blockquote>
|
||||||
<li> Done!
|
<li> Done!
|
||||||
</ol>
|
</ol>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# GNUMakefile for test
|
# GNUMakefile for test
|
||||||
|
|
||||||
PYTHON=python
|
PYTHON=python
|
||||||
|
CDBCMAPDIR=../CDBCMap
|
||||||
PDF2TXT=PYTHONPATH=.. $(PYTHON) -m tools.pdf2txt
|
PDF2TXT=PYTHONPATH=.. $(PYTHON) -m tools.pdf2txt
|
||||||
|
|
||||||
HTMLS= \
|
HTMLS= \
|
||||||
|
@ -21,4 +22,4 @@ clean:
|
||||||
|
|
||||||
.SUFFIXES: .pdf .html
|
.SUFFIXES: .pdf .html
|
||||||
.pdf.html:
|
.pdf.html:
|
||||||
$(PDF2TXT) -H -o $@ $<
|
$(PDF2TXT) -D$(CDBCMAPDIR) -H -o $@ $<
|
||||||
|
|
Loading…
Reference in New Issue