title: WeasyPrint always generating single-page PDFs from Zurb Ink
body: <p>Generating a PDF from an email (Zurb Ink templated); but am always presented with a single page PDF.</p>
  
  <p>Runnable test-case:</p>
  
  <pre><code>from weasyprint import HTML, CSS
  from urllib2 import urlopen
  
  if __name__ == '__main__':
      html = urlopen('http://zurb.com/ink/downloads/templates/basic.html').read()
      html = html.replace('&lt;p class=\"lead\"&gt;', '{0}&lt;p class=\"lead\"&gt;'.format(
          '&lt;p class=\"lead\"&gt;{0}&lt;/p&gt;'.format("foobar " * 50) * 50))
      HTML(string=html).write_pdf('foo.pdf', stylesheets=[
                                    CSS(string='@page { size: A4; margin: 2cm };'
                                               '* { float: none !important; };'
                                               '@media print { nav { display: none; } }')
                                  ])
  </code></pre>
  
  <p>How do I get a multi-page PDF?</p>