digger
unread,Jul 30, 2011, 4:08:36 AM7/30/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pisa XHTML2PDF Support
Hello,
when I use background-image like this (in .css file)
@page {
background-image: url({{ MEDIA_URL }}img/background.pdf);
}
It works until I decide to show TOC by inserting this code in
the .html file:
<pdf:toc />
The final part of the exception in console is:
pyPdf/pdf.py", line 451, in getPage
return self.flattenedPages[pageNumber]
IndexError: list index out of range
Seems like a bug.