Converted wkthmltopdf to version 12