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

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -