mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
8721d5aa23
commit
7e19e0f75f
@ -430,6 +430,7 @@ class MobiWriter(object):
|
||||
text.seek(npos)
|
||||
return data, overlap
|
||||
|
||||
# TBS {{{
|
||||
def _generate_flat_indexed_navpoints(self):
|
||||
# Assemble a HTMLRecordData instance for each HTML record
|
||||
# Return True if valid, False if invalid
|
||||
@ -1174,6 +1175,8 @@ class MobiWriter(object):
|
||||
|
||||
self._tbSequence = tbSequence
|
||||
|
||||
# }}}
|
||||
|
||||
def _evaluate_periodical_toc(self):
|
||||
'''
|
||||
Periodical:
|
||||
|
@ -85,9 +85,11 @@ class MobiWriter(object):
|
||||
self.is_periodical = detect_periodical(self.oeb.toc, self.oeb.log)
|
||||
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()
|
||||
self.write_uncrossable_breaks()
|
||||
|
||||
# Indexing {{{
|
||||
def generate_index(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user