title: How to use sphinx to create pdf documentation?
body: <p>I have a folder containing rst files from which html documentation files are created using the following command:</p>
  
  <pre><code>sphinx-build -M html source build
  </code></pre>
  
  <p>I want to create a pdf file with the documentation instead, so I tried the following commands</p>
  
  <pre><code>sphinx-build -M pdf source build
  sphinx-build -b pdf source build
  sphinx-build -b pdf source build/pdf
  </code></pre>
  
  <p>but in any case I get the following error:</p>
  
  <pre><code>Sphinx error:
  Builder name pdf not registered or available through entry point
  </code></pre>
  
  <p>I tried to google <code>"Builder name pdf not registered or available through entry point"</code> (with brackets) but got zero hits!</p>
  
  <p>How to fix this error? </p>