title: How to convert HTML to PDF using pandoc?
body: <p>Which libraries do I need? 
  Which command line parameters do I need to pass?</p>
  
  <p>I've installed wkhtml2pdf and 
  I've tried to run:</p>
  
  <p><code>pandoc reports/7/report.html -t pdf -o reports/7/report.pdf</code></p>
  
  <p>Which reports an error of:</p>
  
  <pre><code>To create a pdf with pandoc, use the latex or beamer writer and specify
  an output file with .pdf extension (pandoc -t latex -o filename.pdf).
  </code></pre>