View Single Post
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