Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-12-2012, 10:38 PM   #1
bobcdy
Fanatic
bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.
 
bobcdy's Avatar
 
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
auto change file numbers?

I had thought that Sigil 0.5 should automatically change Chapter/Section/Content .xthml files so that they conform in an index or other hot-link file to the correct file numbers. However, it seems that it only does this sometimes. For example, I usually add my index file material to the epub after I have corrected most of the errors and obtain a proper validation. For example:

<h3 id="index_1">A.</h3>

<p class="hangspc">Acids <a href="../Text/Section0000.xhtml#Page_102">102</a></p>

<p class="hangspc">Actynolite <a href="../Text/Section0000.xhtml#Page_337">337</a></p>

<p class="hangspc">—acicular <a href="../Text/Section0000.xhtml#Page_338">338</a></p>

<p class="hangspc">—common <a href="../Text/Section0000.xhtml#Page_338">338</a></p>

<p class="hangspc">—fibrous <a href="../Text/Section0000.xhtml#Page_338">338</a></p>

<p class="hangspc">—glassy <a href="../Text/Section0000.xhtml#Page_338">338</a></p>

However, I find that after adding this material in an "Index.xhtml" file, nothing happens - immediately or after saving and restarting. The "Section0000" s remain the same rather than being changed to the proper Section0001, Section0002, etc.

Is there any way to force Sigil to correctly auto-change these numbers?

(it worked fine for my Endnotes.xhtml file)

Last edited by bobcdy; 03-12-2012 at 10:42 PM.
bobcdy is offline   Reply With Quote
Old 03-12-2012, 11:39 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,001
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Just what do you expect to get auto-numbered (and Why would you expect Sigil to do it)

The only time Sigil changes references is if you rename the referenced file.
My experience is Anchor points (#xyz) within the file can get orphaned on splits
theducks is online now   Reply With Quote
Advert
Old 03-13-2012, 12:15 AM   #3
bobcdy
Fanatic
bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.
 
bobcdy's Avatar
 
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
Thanks for the info! What I was trying to do with mixed results was to insure that in an index file, for example, that the original Section0000.xhtml s would be changed in the index so that the hotlinked page numbers for various subject would correctly go to the page number in the text for each subject. Experimenting, I found exactly what you indicated, that all Section0000s in the Index were correctly changed after I had renamed all the files in the book. Thus, my last endeavor provided apparently perfect renaming so all the hotlinks in the index and toc worked correctly . I was not aware that renaming required changes of the files.

I have a script file that will correct the problem for the Index.xhtml file contents but it is a bit cumbersome to use, and I greatly appreciate the ease and speed that Sigil auto-corrects the file designations.

Last edited by bobcdy; 03-13-2012 at 12:19 AM.
bobcdy is offline   Reply With Quote
Old 03-13-2012, 03:18 AM   #4
huebi
Zealot
huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!
 
Posts: 121
Karma: 5070
Join Date: Dec 2010
Device: none
For what do you need a special index file where the ePub-Format offers an internal built in table of content (TOC)?
huebi is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to control auto-number generation of folder numbers? EtrnLwanderer Calibre 2 02-29-2012 10:29 PM
Unwanted page numbers and font change SoulStyle Conversion 5 05-21-2011 04:58 PM
Opus Updating EPUB file won't change publisher data on file listing spaze Bookeen 1 03-08-2011 01:34 AM
Output auto-change to mobi andy87 Calibre 2 12-18-2010 10:06 PM
ePub - Changing Font size doesn't change page numbers higgs Sony Reader 46 03-26-2010 02:36 PM


All times are GMT -4. The time now is 01:49 PM.


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