Bug 1112461 - TOC doesn't render in PDFs
Summary: TOC doesn't render in PDFs
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: future
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Ruediger Landmann
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-24 03:38 UTC by Dan Macpherson
Modified: 2014-07-09 23:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-07-09 23:39:28 UTC
Embargoed:


Attachments (Terms of Use)
Error Message (58.76 KB, image/png)
2014-06-24 03:38 UTC, Dan Macpherson
no flags Details

Description Dan Macpherson 2014-06-24 03:38:44 UTC
Created attachment 911629 [details]
Error Message

Created a PDF in Publican but the TOC failed to render. Instead an error message appeared (see attachment).

== Note ==

I traced this to the book template for the TOC (book_templates/toc-xsl.tmpl) where it's using a stylesheet outline that doesn't exist:

<xsl:stylesheet version="2.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:outline="http://wkhtmltopdf.org/outline"
                xmlns="http://www.w3.org/1999/xhtml">

http://wkhtmltopdf.org/outline returns 404

I changed this back to the old v1 stylesheet:

<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:outline="http://code.google.com/p/wkhtmltopdf/outline"
                xmlns="http://www.w3.org/1999/xhtml">

And it works again.

Comment 1 Jeff Fearn 🐞 2014-06-24 03:58:43 UTC
Sounds like you have out of date deps. Please tell us the output of

$ rpm -q wkhtmltopdf wkhtmltopdf-qt

Comment 2 Jeff Fearn 🐞 2014-07-09 23:39:28 UTC
Assuming out of date packages. Please reopen if you have up to date wkhtmltopdf packages.


Note You need to log in before you can comment on or make changes to this bug.