title: How to reset wkhtmltopdf page numbers on special tag
body: <p>I'm trying to reset page numbers when I get a special tag in the body of the document (for example when I get a <code>&lt;DIV STYLE="page-break-before:always" /&gt;</code>, I'd like the next page footer to say "page 1 of x" where x is the number of pages before the next page break)</p>
  
  <p>In fact it should do exactly the same as if i splitted the body document and converted it separately.</p>
  
  <p>Is there a way to do this?</p>
  
  <p>Making a list of every page-breaks along with their page number would solve this problem, but i don't know if it is possible either.</p>