View Single Post
Old 12-31-2015, 03:24 AM   #53
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,739
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by roger64 View Post
I suppress index.xhtml, plus what is in the Index Editor window (I know it's a little more than 7k.
I save and open again: the new size of the EPUB is now 2098k.
I'm also not quite sure what you're asking about. (I'm assuming that by suppress you mean supprimer, which is remove in English.)

If you generate an index, Sigil will add a special index entry to each paragraph in which the entry occurs. It has the following format:

Code:
id="sigil_index_id_1"
Even if you delete Index.xhtml and the Index editor entries, these special ids won't be automatically deleted. I.e., each initial index generation will increase the file size of an ePub.
If the file size of an ePub is important to you, you'll have to manually remove these ids from the epub file using a regular expression:

Code:
id="sigil_index_id_\d+"
Doitsu is offline   Reply With Quote