php-wkhtmltox icon indicating copy to clipboard operation
php-wkhtmltox copied to clipboard

Cannot create TOC

Open sanderboom opened this issue 10 years ago • 1 comments

First of all: thanks for this awesome project!

Generation of a PDF works fine, until I try to add a TOC. Same options on the cmd line cause no problems. Am I missing something here or is this not supported yet?

Thanks!

  wkhtmltox_convert('pdf',
    array(
      'out' => $filepath,
    ),
    array(
      array(
        'tocXsl' => 'http://somedomain.com/assets/toc.xsl',
      ),
      array(
        'page' => 'http://somedomain.com/',
        'includeInOutline' => 'true',
      ),
    ));

sanderboom avatar Dec 01 '13 01:12 sanderboom

I have the same problem. Really need to understand what we are doing is not right.Thanks!

kamynina avatar May 22 '14 13:05 kamynina