How to insert a page into a story in ReportLab Python? -


while compiling pdf pages, i'm creating chapter names @ end, on fly. biggest problem story compiled then. when this:

   chapter in self.chapters:              p = paragraph(chapter,style)              story.extend(p)              story.append(spacer(1,0.2*inch)) 

it doesn't add page has list of chapters @ beginning of pdf. how insert page then? story here has content of book compiles well. want add few additional pages @ point of pdf. how do that?


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -