Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-05-2023, 06:55 AM   #1
Mervin
Junior Member
Mervin began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2023
Device: Kindle
Smile sigil_toc_id sequence

Hi all, I am new to Sigil.
I want Sigil to have 'toc id' on the basis of the sequence in which I have my Table of Content. Is there a way to do it automatically or I have to do it manually ? I hope you understood my problem.
Mervin is offline   Reply With Quote
Old 02-05-2023, 09:19 AM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Yes, ids must be unique and need not be in any order. Simply use Create ToC tool in Sigil and it will renumber ids if not unique.
KevinH is offline   Reply With Quote
Advert
Old 02-05-2023, 09:23 AM   #3
Mervin
Junior Member
Mervin began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2023
Device: Kindle
Quote:
Originally Posted by KevinH View Post
Yes, ids must be unique and need not be in any order. Simply use Create ToC tool in Sigil and it will renumber ids if not unique.
Sir, do you mean " Generate Table of Content" ?
Mervin is offline   Reply With Quote
Old 02-05-2023, 09:46 AM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Yes. That tool builds a completely new Table of Contents from the heading tags (h1 - h6) contents and it will insert and remove toc ids as needed. You should not need to manually adjust them. Save your current epub first to be safe or make a Checkpoint.
KevinH is offline   Reply With Quote
Old 02-05-2023, 09:58 AM   #5
Mervin
Junior Member
Mervin began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2023
Device: Kindle
Quote:
Originally Posted by KevinH View Post
Yes, ids must be unique and need not be in any order. Simply use Create ToC tool in Sigil and it will renumber ids if not unique.
Thank you sir.
Mervin is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SEQUENCE 77 Darbarian Self-Promotions by Authors and Publishers 9 02-10-2013 05:03 PM
Sub-categorization and sequence phillro Library Management 4 02-10-2013 06:46 AM
What sequence are Annotations in? Woodstonian Kobo Reader 1 12-17-2012 09:03 PM
Malformed byte sequence: Invalid byte 2 of 3-byte UTF-8 sequence. Check encoding digireads ePub 3 04-26-2011 03:07 AM
Series sequence? Toxaris Sony Reader 9 04-09-2010 07:36 PM


All times are GMT -4. The time now is 04:50 PM.


MobileRead.com is a privately owned, operated and funded community.