Ejemplo n.º 1
0
 def generate_content(self):
     self.is_periodical = detect_periodical(self.oeb.toc, self.oeb.log)
     # Image records are stored in their own list, they are merged into the
     # main record list at the end
     self.generate_images()
     self.generate_text()
     # The uncrossable breaks trailing entries come before the indexing
     # trailing entries
     self.write_uncrossable_breaks()
     # Index records come after text records
     self.generate_index()
Ejemplo n.º 2
0
 def generate_content(self):
     self.is_periodical = detect_periodical(self.oeb.toc, self.oeb.log)
     # Image records are stored in their own list, they are merged into the
     # main record list at the end
     self.generate_images()
     self.generate_text()
     # The uncrossable breaks trailing entries come before the indexing
     # trailing entries
     self.write_uncrossable_breaks()
     # Index records come after text records
     self.generate_index()