title: Converting PDF to html with PDFminer
body: <p>I am trying to use the pdfminer command line tool to convert a pdf file to an html file, after running this</p>
  
  <pre><code>pdf2txt.py -o output.html -t html casino.pdf
  </code></pre>
  
  <p>I am getting the following error: </p>
  
  <pre><code>Traceback (most recent call last):
    File "/usr/local/bin/pdf2txt.py", line 101, in &lt;module&gt;
      if __name__ == '__main__': sys.exit(main(sys.argv))
    File "/usr/local/bin/pdf2txt.py", line 87, in main
      layoutmode=layoutmode, laparams=laparams, outdir=outdir)
  TypeError: __init__() got an unexpected keyword argument 'outdir'
  </code></pre>
  
  <p>I have used this library before and it was working perfectly, I am really having a hard time to understand whats going on </p>
  
  <p>here is a link to the library <a href="http://www.unixuser.org/~euske/python/pdfminer/index.html" rel="noreferrer">http://www.unixuser.org/~euske/python/pdfminer/index.html</a></p>