Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-15-2019, 04:41 PM   #1
RbnJrg
Guru
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 994
Karma: 3598443
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Exclamation Something weird is happening when I want to build an Index

I don't know if is a bug of Sigil or something I'm doing wrong. The following is a picture of my "Book Browser View" BEFORE building an Index:

Click image for larger version

Name:	Image1.png
Views:	48
Size:	155.6 KB
ID:	169742

As you can see, the order of the files is: Cover, Sinopsis, Titulo, Dedicatoria, TDC, Introduccion, Prefacio, Seccion_01, etc.

And this is the picture (of my "Book Browser View") AFTER building the Index:

Click image for larger version

Name:	Image2.png
Views:	46
Size:	153.1 KB
ID:	169743

Now the order of the files is: Dedicatoria, Introduccion, Prefacio, Sinopsis, Título, cover, TdC, Seccion_01, etc.

The question is: why is that happening? That is happening even with a blank index.

EDIT: I'm using Sigil 0.9.10 and Windows 7 x64.

Last edited by RbnJrg; 02-15-2019 at 04:44 PM.
RbnJrg is offline   Reply With Quote
Old 02-15-2019, 04:48 PM   #2
KevinH
Wizard
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: 3,227
Karma: 1958102
Join Date: Nov 2009
Device: many
Please open the content.opf in a code view tab and snap pictures of the manifest and spine tags (so we can see the order as specified in the spine) both before and after creating the index.

That may give us some hint as to what is going on.
KevinH is offline   Reply With Quote
Old 02-15-2019, 05:44 PM   #3
Doitsu
Wizard
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: 4,443
Karma: 14410869
Join Date: Dec 2010
Device: Kindle PW2
I was able to reproduce this issue with a commercial epub2 book (Crichton, Michael - Dragon Teeth, Harper Collins, 2017). I simply opened the book and selected Tools > Index > Create Index.

The original order of the first 4 XHTML files in the Book Browser was:

cover.html
title.html
copyright.html
contents.html

original spine
Spoiler:
Code:
  <spine toc="ncx">
    <itemref idref="my-html-cover" linear="yes"/>
    <itemref idref="title"/>
    <itemref idref="copyright"/>
    <itemref idref="toc"/>
    <itemref idref="map"/>
    <itemref idref="introduction"/>
    <itemref idref="part001"/>
    <itemref idref="chapter001"/>
    <itemref idref="chapter002"/>
    <itemref idref="chapter003"/>
    <itemref idref="chapter004"/>
    <itemref idref="chapter005"/>
    <itemref idref="chapter006"/>
    <itemref idref="chapter007"/>
    <itemref idref="chapter008"/>
    <itemref idref="chapter009"/>
    <itemref idref="chapter010"/>
    <itemref idref="chapter011"/>
    <itemref idref="chapter012"/>
    <itemref idref="chapter013"/>
    <itemref idref="part002"/>
    <itemref idref="chapter014"/>
    <itemref idref="chapter015"/>
    <itemref idref="chapter016"/>
    <itemref idref="chapter017"/>
    <itemref idref="chapter018"/>
    <itemref idref="chapter019"/>
    <itemref idref="chapter020"/>
    <itemref idref="chapter021"/>
    <itemref idref="chapter022"/>
    <itemref idref="chapter023"/>
    <itemref idref="chapter024"/>
    <itemref idref="chapter025"/>
    <itemref idref="chapter026"/>
    <itemref idref="part003"/>
    <itemref idref="chapter027"/>
    <itemref idref="chapter028"/>
    <itemref idref="chapter029"/>
    <itemref idref="chapter030"/>
    <itemref idref="chapter031"/>
    <itemref idref="chapter032"/>
    <itemref idref="chapter033"/>
    <itemref idref="chapter034"/>
    <itemref idref="chapter035"/>
    <itemref idref="chapter036"/>
    <itemref idref="chapter037"/>
    <itemref idref="chapter038"/>
    <itemref idref="chapter039"/>
    <itemref idref="chapter040"/>
    <itemref idref="chapter041"/>
    <itemref idref="chapter042"/>
    <itemref idref="chapter043"/>
    <itemref idref="chapter044"/>
    <itemref idref="chapter045"/>
    <itemref idref="postscript"/>
    <itemref idref="note"/>
    <itemref idref="afterword"/>
    <itemref idref="bibliography"/>
    <itemref idref="footnote"/>
    <itemref idref="bm001"/>
    <itemref idref="bm002"/>
    <itemref idref="bm003"/>
    <itemref idref="abouttheauthor"/>
    <itemref idref="alsoby"/>
    <itemref idref="aboutpublisher"/>
  </spine>


after selecting Create Index the Book Browser order was changed to:

contents.html
cover.html
title.html
copyright.html

updated spine
Spoiler:
Code:
  <spine toc="ncx">
    <itemref idref="title"/>
    <itemref idref="copyright"/>
    <itemref idref="map"/>
    <itemref idref="introduction"/>
    <itemref idref="part001"/>
    <itemref idref="chapter001"/>
    <itemref idref="chapter002"/>
    <itemref idref="chapter003"/>
    <itemref idref="chapter004"/>
    <itemref idref="chapter005"/>
    <itemref idref="chapter006"/>
    <itemref idref="chapter007"/>
    <itemref idref="chapter008"/>
    <itemref idref="chapter009"/>
    <itemref idref="chapter010"/>
    <itemref idref="chapter011"/>
    <itemref idref="chapter012"/>
    <itemref idref="chapter013"/>
    <itemref idref="part002"/>
    <itemref idref="chapter014"/>
    <itemref idref="chapter015"/>
    <itemref idref="chapter016"/>
    <itemref idref="chapter017"/>
    <itemref idref="chapter018"/>
    <itemref idref="chapter019"/>
    <itemref idref="chapter020"/>
    <itemref idref="chapter021"/>
    <itemref idref="chapter022"/>
    <itemref idref="chapter023"/>
    <itemref idref="chapter024"/>
    <itemref idref="chapter025"/>
    <itemref idref="chapter026"/>
    <itemref idref="part003"/>
    <itemref idref="chapter027"/>
    <itemref idref="chapter028"/>
    <itemref idref="chapter029"/>
    <itemref idref="chapter030"/>
    <itemref idref="chapter031"/>
    <itemref idref="chapter032"/>
    <itemref idref="chapter033"/>
    <itemref idref="chapter034"/>
    <itemref idref="chapter035"/>
    <itemref idref="chapter036"/>
    <itemref idref="chapter037"/>
    <itemref idref="chapter038"/>
    <itemref idref="chapter039"/>
    <itemref idref="chapter040"/>
    <itemref idref="chapter041"/>
    <itemref idref="chapter042"/>
    <itemref idref="chapter043"/>
    <itemref idref="chapter044"/>
    <itemref idref="chapter045"/>
    <itemref idref="postscript"/>
    <itemref idref="note"/>
    <itemref idref="afterword"/>
    <itemref idref="bibliography"/>
    <itemref idref="footnote"/>
    <itemref idref="bm001"/>
    <itemref idref="bm002"/>
    <itemref idref="bm003"/>
    <itemref idref="abouttheauthor"/>
    <itemref idref="alsoby"/>
    <itemref idref="aboutpublisher"/>
    <itemref idref="Index.xhtml"/>
  </spine>


I.e., the Book Browser display doesn't match the actual spine. Also the spine reference of the item that was moved to the first position (<itemref idref="toc"/>) was deleted. The cover image spine entry (<itemref idref="my-html-cover" linear="yes"/>) was also deleted.

content.opf contained the following guide section:

Code:
  <guide>
    <reference type="cover" title="Cover" href="Text/cover.html"/>
    <reference type="toc" title="Contents" href="Text/contents.html"/>
    <reference type="text" title="Start" href="Text/title.html"/>
  </guide>
After deleting it, the bug disappeared.

@RbnJrg If your guide section contains entries, please temporarily remove them for testing purposes, before selecting Create Index and report back whether this makes a difference.

EDIT: You can also use this MR book by GrannyGrump to reproduce this issue.

Last edited by Doitsu; 02-15-2019 at 05:53 PM.
Doitsu is offline   Reply With Quote
Old 02-15-2019, 05:55 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 19,812
Karma: 101452854
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Crap. I see it on Linux as well. Why do people always seem to find stuff immediately after I tag the source for a new release?

Although the opf and toc will flip in the Book Browser if one of them is highlighted when creating the index, that's just cosmetic. The elements that are being reordered in the spine seems to be limited to those items that are also guide elements (semantics).

EDIT: I see that Doitsu also figured out the Guide connection.
DiapDealer is online now   Reply With Quote
Old 02-15-2019, 06:14 PM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 19,812
Karma: 101452854
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I'm starting at:

Quote:
- Better use semantic information (guide types and Landmarks) to allow the user finer control of index generation
from the 0.9.9 ChangeLog.

We need to start linking changelog entries to commits/issues/forum threads, I think.
DiapDealer is online now   Reply With Quote
Old 02-15-2019, 06:31 PM   #6
RbnJrg
Guru
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 994
Karma: 3598443
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by KevinH View Post
Please open the content.opf in a code view tab and snap pictures of the manifest and spine tags (so we can see the order as specified in the spine) both before and after creating the index.

That may give us some hint as to what is going on.
These are the <manifest> and <spine> tags before creating the index:

Spoiler:

<manifest>
<item id="Cover.jpg" href="Images/Cover.jpg" media-type="image/jpeg"/>
<item id="Dedicatoria.xhtml" href="Text/Dedicatoria.xhtml" media-type="application/xhtml+xml"/>
<item id="Fig-001.png" href="Images/Fig-001.png" media-type="image/png"/>
<item id="Fig-002.png" href="Images/Fig-002.png" media-type="image/png"/>
<item id="Fig-003.png" href="Images/Fig-003.png" media-type="image/png"/>
<item id="Fig-004.png" href="Images/Fig-004.png" media-type="image/png"/>
<item id="Fig-005.png" href="Images/Fig-005.png" media-type="image/png"/>
<item id="Fig-006.png" href="Images/Fig-006.png" media-type="image/png"/>
<item id="Fig-007.png" href="Images/Fig-007.png" media-type="image/png"/>
<item id="Fig-008.png" href="Images/Fig-008.png" media-type="image/png"/>
<item id="Fig-009.png" href="Images/Fig-009.png" media-type="image/png"/>
<item id="Fig-010.png" href="Images/Fig-010.png" media-type="image/png"/>
<item id="Fig-011.png" href="Images/Fig-011.png" media-type="image/png"/>
<item id="Fig-012.png" href="Images/Fig-012.png" media-type="image/png"/>
<item id="Fig-013.png" href="Images/Fig-013.png" media-type="image/png"/>
<item id="Fig-014.png" href="Images/Fig-014.png" media-type="image/png"/>
<item id="Fig-015.png" href="Images/Fig-015.png" media-type="image/png"/>
<item id="Fig-016.png" href="Images/Fig-016.png" media-type="image/png"/>
<item id="Fig-017.png" href="Images/Fig-017.png" media-type="image/png"/>
<item id="Fig-018.png" href="Images/Fig-018.png" media-type="image/png"/>
<item id="Fig-019.png" href="Images/Fig-019.png" media-type="image/png"/>
<item id="Fig-020.png" href="Images/Fig-020.png" media-type="image/png"/>
<item id="Fig-021.png" href="Images/Fig-021.png" media-type="image/png"/>
<item id="Fig-022.png" href="Images/Fig-022.png" media-type="image/png"/>
<item id="Fig-023.png" href="Images/Fig-023.png" media-type="image/png"/>
<item id="Fig-024.png" href="Images/Fig-024.png" media-type="image/png"/>
<item id="Fig-025.png" href="Images/Fig-025.png" media-type="image/png"/>
<item id="Fig-026.png" href="Images/Fig-026.png" media-type="image/png"/>
<item id="Fig-027.png" href="Images/Fig-027.png" media-type="image/png"/>
<item id="Fig-028.png" href="Images/Fig-028.png" media-type="image/png"/>
<item id="Fig-029.png" href="Images/Fig-029.png" media-type="image/png"/>
<item id="Fig-030.png" href="Images/Fig-030.png" media-type="image/png"/>
<item id="Fig-031.png" href="Images/Fig-031.png" media-type="image/png"/>
<item id="Fig-032.png" href="Images/Fig-032.png" media-type="image/png"/>
<item id="Fig-033.png" href="Images/Fig-033.png" media-type="image/png"/>
<item id="Fig-034.png" href="Images/Fig-034.png" media-type="image/png"/>
<item id="Fig-035.png" href="Images/Fig-035.png" media-type="image/png"/>
<item id="Fig-036.png" href="Images/Fig-036.png" media-type="image/png"/>
<item id="Fig-037.png" href="Images/Fig-037.png" media-type="image/png"/>
<item id="Fig-038.png" href="Images/Fig-038.png" media-type="image/png"/>
<item id="Fig-039.png" href="Images/Fig-039.png" media-type="image/png"/>
<item id="Fig-040.png" href="Images/Fig-040.png" media-type="image/png"/>
<item id="Fig-041.png" href="Images/Fig-041.png" media-type="image/png"/>
<item id="Fig-042.png" href="Images/Fig-042.png" media-type="image/png"/>
<item id="Fig-043.png" href="Images/Fig-043.png" media-type="image/png"/>
<item id="Fig-044.png" href="Images/Fig-044.png" media-type="image/png"/>
<item id="Fig-045.png" href="Images/Fig-045.png" media-type="image/png"/>
<item id="Fig-046.png" href="Images/Fig-046.png" media-type="image/png"/>
<item id="Fig-047.png" href="Images/Fig-047.png" media-type="image/png"/>
<item id="Fig-048.png" href="Images/Fig-048.png" media-type="image/png"/>
<item id="Fig-049.png" href="Images/Fig-049.png" media-type="image/png"/>
<item id="Fig-050.png" href="Images/Fig-050.png" media-type="image/png"/>
<item id="Fig-051.png" href="Images/Fig-051.png" media-type="image/png"/>
<item id="Fig-052.png" href="Images/Fig-052.png" media-type="image/png"/>
<item id="Fig-053.png" href="Images/Fig-053.png" media-type="image/png"/>
<item id="Fig-054.png" href="Images/Fig-054.png" media-type="image/png"/>
<item id="Fig-055.png" href="Images/Fig-055.png" media-type="image/png"/>
<item id="Fig-056.png" href="Images/Fig-056.png" media-type="image/png"/>
<item id="Fig-057.png" href="Images/Fig-057.png" media-type="image/png"/>
<item id="Fig-058.png" href="Images/Fig-058.png" media-type="image/png"/>
<item id="Fig-059.png" href="Images/Fig-059.png" media-type="image/png"/>
<item id="Fig-060.png" href="Images/Fig-060.png" media-type="image/png"/>
<item id="Fig-061.png" href="Images/Fig-061.png" media-type="image/png"/>
<item id="Fig-062.png" href="Images/Fig-062.png" media-type="image/png"/>
<item id="Fig-063.png" href="Images/Fig-063.png" media-type="image/png"/>
<item id="Fig-064.png" href="Images/Fig-064.png" media-type="image/png"/>
<item id="Fig-065.png" href="Images/Fig-065.png" media-type="image/png"/>
<item id="Fig-066.png" href="Images/Fig-066.png" media-type="image/png"/>
<item id="Fig-067.png" href="Images/Fig-067.png" media-type="image/png"/>
<item id="Fig-068.png" href="Images/Fig-068.png" media-type="image/png"/>
<item id="Fig-069.png" href="Images/Fig-069.png" media-type="image/png"/>
<item id="Fig-070.png" href="Images/Fig-070.png" media-type="image/png"/>
<item id="Fig-071.png" href="Images/Fig-071.png" media-type="image/png"/>
<item id="Fig-072.png" href="Images/Fig-072.png" media-type="image/png"/>
<item id="Fig-073.png" href="Images/Fig-073.png" media-type="image/png"/>
<item id="Fig-074.png" href="Images/Fig-074.png" media-type="image/png"/>
<item id="Fig-075.png" href="Images/Fig-075.png" media-type="image/png"/>
<item id="Fig-076.png" href="Images/Fig-076.png" media-type="image/png"/>
<item id="Fig-077.png" href="Images/Fig-077.png" media-type="image/png"/>
<item id="Fig-078.png" href="Images/Fig-078.png" media-type="image/png"/>
<item id="Fig-079.png" href="Images/Fig-079.png" media-type="image/png"/>
<item id="Fig-080.png" href="Images/Fig-080.png" media-type="image/png"/>
<item id="Fig-081.png" href="Images/Fig-081.png" media-type="image/png"/>
<item id="Fig-082.png" href="Images/Fig-082.png" media-type="image/png"/>
<item id="Fig-083.png" href="Images/Fig-083.png" media-type="image/png"/>
<item id="Fig-084.png" href="Images/Fig-084.png" media-type="image/png"/>
<item id="Fig-085.png" href="Images/Fig-085.png" media-type="image/png"/>
<item id="Fig-086.png" href="Images/Fig-086.png" media-type="image/png"/>
<item id="Fig-087.png" href="Images/Fig-087.png" media-type="image/png"/>
<item id="Fig-088.png" href="Images/Fig-088.png" media-type="image/png"/>
<item id="Fig-089.png" href="Images/Fig-089.png" media-type="image/png"/>
<item id="Fig-090.png" href="Images/Fig-090.png" media-type="image/png"/>
<item id="Fig-091.png" href="Images/Fig-091.png" media-type="image/png"/>
<item id="Fig-092.png" href="Images/Fig-092.png" media-type="image/png"/>
<item id="Fig-093.png" href="Images/Fig-093.png" media-type="image/png"/>
<item id="Fig-094.png" href="Images/Fig-094.png" media-type="image/png"/>
<item id="Fig-095.png" href="Images/Fig-095.png" media-type="image/png"/>
<item id="Fig-096.png" href="Images/Fig-096.png" media-type="image/png"/>
<item id="Fig-097.png" href="Images/Fig-097.png" media-type="image/png"/>
<item id="Fig-098.png" href="Images/Fig-098.png" media-type="image/png"/>
<item id="Fig-099.png" href="Images/Fig-099.png" media-type="image/png"/>
<item id="Fig-100.png" href="Images/Fig-100.png" media-type="image/png"/>
<item id="Fig-101.png" href="Images/Fig-101.png" media-type="image/png"/>
<item id="Fig-102.png" href="Images/Fig-102.png" media-type="image/png"/>
<item id="GB.ttf" href="Fonts/GB.ttf" media-type="application/x-font-ttf"/>
<item id="GI.ttf" href="Fonts/GI.ttf" media-type="application/x-font-ttf"/>
<item id="GR.ttf" href="Fonts/GR.ttf" media-type="application/x-font-ttf"/>
<item id="Introduccion.xhtml" href="Text/Introduccion.xhtml" media-type="application/xhtml+xml"/>
<item id="Prefacio.xhtml" href="Text/Prefacio.xhtml" media-type="application/xhtml+xml"/>
<item id="RRTCM.svg" href="Images/RRTCM.svg" media-type="image/svg+xml"/>
<item id="Seccion_01.xhtml" href="Text/Seccion_01.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_02.xhtml" href="Text/Seccion_02.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_03.xhtml" href="Text/Seccion_03.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_04.xhtml" href="Text/Seccion_04.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_05.xhtml" href="Text/Seccion_05.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_06.xhtml" href="Text/Seccion_06.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_07.xhtml" href="Text/Seccion_07.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_08.xhtml" href="Text/Seccion_08.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_09.xhtml" href="Text/Seccion_09.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_10.xhtml" href="Text/Seccion_10.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_11.xhtml" href="Text/Seccion_11.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_12.xhtml" href="Text/Seccion_12.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_13.xhtml" href="Text/Seccion_13.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_14.xhtml" href="Text/Seccion_14.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_15.xhtml" href="Text/Seccion_15.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_16.xhtml" href="Text/Seccion_16.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_17.xhtml" href="Text/Seccion_17.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_18.xhtml" href="Text/Seccion_18.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_19.xhtml" href="Text/Seccion_19.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_20.xhtml" href="Text/Seccion_20.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_21.xhtml" href="Text/Seccion_21.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_22.xhtml" href="Text/Seccion_22.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_23.xhtml" href="Text/Seccion_23.xhtml" media-type="application/xhtml+xml"/>
<item id="Titulo.xhtml" href="Text/Titulo.xhtml" media-type="application/xhtml+xml"/>
<item id="Sinopsis.xhtml" href="Text/Sinopsis.xhtml" media-type="application/xhtml+xml"/>
<item id="TdC.xhtml" href="Text/TdC.xhtml" media-type="application/xhtml+xml"/>
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
<item id="sgc-toc.css" href="Styles/sgc-toc.css" media-type="text/css"/>
<item id="sgc_styles.css" href="Styles/sgc_styles.css" media-type="text/css"/>
<item id="cover.xhtml" href="Text/cover.xhtml" media-type="application/xhtml+xml"/>
</manifest>
<spine toc="ncx">
<itemref idref="cover.xhtml"/>
<itemref idref="Sinopsis.xhtml"/>
<itemref idref="Titulo.xhtml"/>
<itemref idref="Dedicatoria.xhtml"/>
<itemref idref="TdC.xhtml"/>
<itemref idref="Introduccion.xhtml"/>
<itemref idref="Prefacio.xhtml"/>
<itemref idref="Seccion_01.xhtml"/>
<itemref idref="Seccion_02.xhtml"/>
<itemref idref="Seccion_03.xhtml"/>
<itemref idref="Seccion_04.xhtml"/>
<itemref idref="Seccion_05.xhtml"/>
<itemref idref="Seccion_06.xhtml"/>
<itemref idref="Seccion_07.xhtml"/>
<itemref idref="Seccion_08.xhtml"/>
<itemref idref="Seccion_09.xhtml"/>
<itemref idref="Seccion_10.xhtml"/>
<itemref idref="Seccion_11.xhtml"/>
<itemref idref="Seccion_12.xhtml"/>
<itemref idref="Seccion_13.xhtml"/>
<itemref idref="Seccion_14.xhtml"/>
<itemref idref="Seccion_15.xhtml"/>
<itemref idref="Seccion_16.xhtml"/>
<itemref idref="Seccion_17.xhtml"/>
<itemref idref="Seccion_18.xhtml"/>
<itemref idref="Seccion_19.xhtml"/>
<itemref idref="Seccion_20.xhtml"/>
<itemref idref="Seccion_21.xhtml"/>
<itemref idref="Seccion_22.xhtml"/>
<itemref idref="Seccion_23.xhtml"/>
</spine>


And these are the <manifest> and <spine> tags after creating the index:

Spoiler:

<manifest>
<item id="Cover.jpg" href="Images/Cover.jpg" media-type="image/jpeg"/>
<item id="Dedicatoria.xhtml" href="Text/Dedicatoria.xhtml" media-type="application/xhtml+xml"/>
<item id="Fig-001.png" href="Images/Fig-001.png" media-type="image/png"/>
<item id="Fig-002.png" href="Images/Fig-002.png" media-type="image/png"/>
<item id="Fig-003.png" href="Images/Fig-003.png" media-type="image/png"/>
<item id="Fig-004.png" href="Images/Fig-004.png" media-type="image/png"/>
<item id="Fig-005.png" href="Images/Fig-005.png" media-type="image/png"/>
<item id="Fig-006.png" href="Images/Fig-006.png" media-type="image/png"/>
<item id="Fig-007.png" href="Images/Fig-007.png" media-type="image/png"/>
<item id="Fig-008.png" href="Images/Fig-008.png" media-type="image/png"/>
<item id="Fig-009.png" href="Images/Fig-009.png" media-type="image/png"/>
<item id="Fig-010.png" href="Images/Fig-010.png" media-type="image/png"/>
<item id="Fig-011.png" href="Images/Fig-011.png" media-type="image/png"/>
<item id="Fig-012.png" href="Images/Fig-012.png" media-type="image/png"/>
<item id="Fig-013.png" href="Images/Fig-013.png" media-type="image/png"/>
<item id="Fig-014.png" href="Images/Fig-014.png" media-type="image/png"/>
<item id="Fig-015.png" href="Images/Fig-015.png" media-type="image/png"/>
<item id="Fig-016.png" href="Images/Fig-016.png" media-type="image/png"/>
<item id="Fig-017.png" href="Images/Fig-017.png" media-type="image/png"/>
<item id="Fig-018.png" href="Images/Fig-018.png" media-type="image/png"/>
<item id="Fig-019.png" href="Images/Fig-019.png" media-type="image/png"/>
<item id="Fig-020.png" href="Images/Fig-020.png" media-type="image/png"/>
<item id="Fig-021.png" href="Images/Fig-021.png" media-type="image/png"/>
<item id="Fig-022.png" href="Images/Fig-022.png" media-type="image/png"/>
<item id="Fig-023.png" href="Images/Fig-023.png" media-type="image/png"/>
<item id="Fig-024.png" href="Images/Fig-024.png" media-type="image/png"/>
<item id="Fig-025.png" href="Images/Fig-025.png" media-type="image/png"/>
<item id="Fig-026.png" href="Images/Fig-026.png" media-type="image/png"/>
<item id="Fig-027.png" href="Images/Fig-027.png" media-type="image/png"/>
<item id="Fig-028.png" href="Images/Fig-028.png" media-type="image/png"/>
<item id="Fig-029.png" href="Images/Fig-029.png" media-type="image/png"/>
<item id="Fig-030.png" href="Images/Fig-030.png" media-type="image/png"/>
<item id="Fig-031.png" href="Images/Fig-031.png" media-type="image/png"/>
<item id="Fig-032.png" href="Images/Fig-032.png" media-type="image/png"/>
<item id="Fig-033.png" href="Images/Fig-033.png" media-type="image/png"/>
<item id="Fig-034.png" href="Images/Fig-034.png" media-type="image/png"/>
<item id="Fig-035.png" href="Images/Fig-035.png" media-type="image/png"/>
<item id="Fig-036.png" href="Images/Fig-036.png" media-type="image/png"/>
<item id="Fig-037.png" href="Images/Fig-037.png" media-type="image/png"/>
<item id="Fig-038.png" href="Images/Fig-038.png" media-type="image/png"/>
<item id="Fig-039.png" href="Images/Fig-039.png" media-type="image/png"/>
<item id="Fig-040.png" href="Images/Fig-040.png" media-type="image/png"/>
<item id="Fig-041.png" href="Images/Fig-041.png" media-type="image/png"/>
<item id="Fig-042.png" href="Images/Fig-042.png" media-type="image/png"/>
<item id="Fig-043.png" href="Images/Fig-043.png" media-type="image/png"/>
<item id="Fig-044.png" href="Images/Fig-044.png" media-type="image/png"/>
<item id="Fig-045.png" href="Images/Fig-045.png" media-type="image/png"/>
<item id="Fig-046.png" href="Images/Fig-046.png" media-type="image/png"/>
<item id="Fig-047.png" href="Images/Fig-047.png" media-type="image/png"/>
<item id="Fig-048.png" href="Images/Fig-048.png" media-type="image/png"/>
<item id="Fig-049.png" href="Images/Fig-049.png" media-type="image/png"/>
<item id="Fig-050.png" href="Images/Fig-050.png" media-type="image/png"/>
<item id="Fig-051.png" href="Images/Fig-051.png" media-type="image/png"/>
<item id="Fig-052.png" href="Images/Fig-052.png" media-type="image/png"/>
<item id="Fig-053.png" href="Images/Fig-053.png" media-type="image/png"/>
<item id="Fig-054.png" href="Images/Fig-054.png" media-type="image/png"/>
<item id="Fig-055.png" href="Images/Fig-055.png" media-type="image/png"/>
<item id="Fig-056.png" href="Images/Fig-056.png" media-type="image/png"/>
<item id="Fig-057.png" href="Images/Fig-057.png" media-type="image/png"/>
<item id="Fig-058.png" href="Images/Fig-058.png" media-type="image/png"/>
<item id="Fig-059.png" href="Images/Fig-059.png" media-type="image/png"/>
<item id="Fig-060.png" href="Images/Fig-060.png" media-type="image/png"/>
<item id="Fig-061.png" href="Images/Fig-061.png" media-type="image/png"/>
<item id="Fig-062.png" href="Images/Fig-062.png" media-type="image/png"/>
<item id="Fig-063.png" href="Images/Fig-063.png" media-type="image/png"/>
<item id="Fig-064.png" href="Images/Fig-064.png" media-type="image/png"/>
<item id="Fig-065.png" href="Images/Fig-065.png" media-type="image/png"/>
<item id="Fig-066.png" href="Images/Fig-066.png" media-type="image/png"/>
<item id="Fig-067.png" href="Images/Fig-067.png" media-type="image/png"/>
<item id="Fig-068.png" href="Images/Fig-068.png" media-type="image/png"/>
<item id="Fig-069.png" href="Images/Fig-069.png" media-type="image/png"/>
<item id="Fig-070.png" href="Images/Fig-070.png" media-type="image/png"/>
<item id="Fig-071.png" href="Images/Fig-071.png" media-type="image/png"/>
<item id="Fig-072.png" href="Images/Fig-072.png" media-type="image/png"/>
<item id="Fig-073.png" href="Images/Fig-073.png" media-type="image/png"/>
<item id="Fig-074.png" href="Images/Fig-074.png" media-type="image/png"/>
<item id="Fig-075.png" href="Images/Fig-075.png" media-type="image/png"/>
<item id="Fig-076.png" href="Images/Fig-076.png" media-type="image/png"/>
<item id="Fig-077.png" href="Images/Fig-077.png" media-type="image/png"/>
<item id="Fig-078.png" href="Images/Fig-078.png" media-type="image/png"/>
<item id="Fig-079.png" href="Images/Fig-079.png" media-type="image/png"/>
<item id="Fig-080.png" href="Images/Fig-080.png" media-type="image/png"/>
<item id="Fig-081.png" href="Images/Fig-081.png" media-type="image/png"/>
<item id="Fig-082.png" href="Images/Fig-082.png" media-type="image/png"/>
<item id="Fig-083.png" href="Images/Fig-083.png" media-type="image/png"/>
<item id="Fig-084.png" href="Images/Fig-084.png" media-type="image/png"/>
<item id="Fig-085.png" href="Images/Fig-085.png" media-type="image/png"/>
<item id="Fig-086.png" href="Images/Fig-086.png" media-type="image/png"/>
<item id="Fig-087.png" href="Images/Fig-087.png" media-type="image/png"/>
<item id="Fig-088.png" href="Images/Fig-088.png" media-type="image/png"/>
<item id="Fig-089.png" href="Images/Fig-089.png" media-type="image/png"/>
<item id="Fig-090.png" href="Images/Fig-090.png" media-type="image/png"/>
<item id="Fig-091.png" href="Images/Fig-091.png" media-type="image/png"/>
<item id="Fig-092.png" href="Images/Fig-092.png" media-type="image/png"/>
<item id="Fig-093.png" href="Images/Fig-093.png" media-type="image/png"/>
<item id="Fig-094.png" href="Images/Fig-094.png" media-type="image/png"/>
<item id="Fig-095.png" href="Images/Fig-095.png" media-type="image/png"/>
<item id="Fig-096.png" href="Images/Fig-096.png" media-type="image/png"/>
<item id="Fig-097.png" href="Images/Fig-097.png" media-type="image/png"/>
<item id="Fig-098.png" href="Images/Fig-098.png" media-type="image/png"/>
<item id="Fig-099.png" href="Images/Fig-099.png" media-type="image/png"/>
<item id="Fig-100.png" href="Images/Fig-100.png" media-type="image/png"/>
<item id="Fig-101.png" href="Images/Fig-101.png" media-type="image/png"/>
<item id="Fig-102.png" href="Images/Fig-102.png" media-type="image/png"/>
<item id="GB.ttf" href="Fonts/GB.ttf" media-type="application/x-font-ttf"/>
<item id="GI.ttf" href="Fonts/GI.ttf" media-type="application/x-font-ttf"/>
<item id="GR.ttf" href="Fonts/GR.ttf" media-type="application/x-font-ttf"/>
<item id="Introduccion.xhtml" href="Text/Introduccion.xhtml" media-type="application/xhtml+xml"/>
<item id="Prefacio.xhtml" href="Text/Prefacio.xhtml" media-type="application/xhtml+xml"/>
<item id="RRTCM.svg" href="Images/RRTCM.svg" media-type="image/svg+xml"/>
<item id="Seccion_01.xhtml" href="Text/Seccion_01.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_02.xhtml" href="Text/Seccion_02.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_03.xhtml" href="Text/Seccion_03.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_04.xhtml" href="Text/Seccion_04.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_05.xhtml" href="Text/Seccion_05.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_06.xhtml" href="Text/Seccion_06.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_07.xhtml" href="Text/Seccion_07.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_08.xhtml" href="Text/Seccion_08.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_09.xhtml" href="Text/Seccion_09.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_10.xhtml" href="Text/Seccion_10.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_11.xhtml" href="Text/Seccion_11.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_12.xhtml" href="Text/Seccion_12.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_13.xhtml" href="Text/Seccion_13.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_14.xhtml" href="Text/Seccion_14.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_15.xhtml" href="Text/Seccion_15.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_16.xhtml" href="Text/Seccion_16.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_17.xhtml" href="Text/Seccion_17.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_18.xhtml" href="Text/Seccion_18.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_19.xhtml" href="Text/Seccion_19.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_20.xhtml" href="Text/Seccion_20.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_21.xhtml" href="Text/Seccion_21.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_22.xhtml" href="Text/Seccion_22.xhtml" media-type="application/xhtml+xml"/>
<item id="Seccion_23.xhtml" href="Text/Seccion_23.xhtml" media-type="application/xhtml+xml"/>
<item id="Titulo.xhtml" href="Text/Titulo.xhtml" media-type="application/xhtml+xml"/>
<item id="Sinopsis.xhtml" href="Text/Sinopsis.xhtml" media-type="application/xhtml+xml"/>
<item id="TdC.xhtml" href="Text/TdC.xhtml" media-type="application/xhtml+xml"/>
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
<item id="sgc-toc.css" href="Styles/sgc-toc.css" media-type="text/css"/>
<item id="sgc_styles.css" href="Styles/sgc_styles.css" media-type="text/css"/>
<item id="cover.xhtml" href="Text/cover.xhtml" media-type="application/xhtml+xml"/>
<item id="sgc-index.css" href="Styles/sgc-index.css" media-type="text/css"/>
<item id="Index.xhtml" href="Text/Index.xhtml" media-type="application/xhtml+xml"/>
</manifest>
<spine toc="ncx">
<itemref idref="Sinopsis.xhtml"/>
<itemref idref="TdC.xhtml"/>
<itemref idref="Seccion_01.xhtml"/>
<itemref idref="Seccion_02.xhtml"/>
<itemref idref="Seccion_03.xhtml"/>
<itemref idref="Seccion_04.xhtml"/>
<itemref idref="Seccion_05.xhtml"/>
<itemref idref="Seccion_06.xhtml"/>
<itemref idref="Seccion_07.xhtml"/>
<itemref idref="Seccion_08.xhtml"/>
<itemref idref="Seccion_09.xhtml"/>
<itemref idref="Seccion_10.xhtml"/>
<itemref idref="Seccion_11.xhtml"/>
<itemref idref="Seccion_12.xhtml"/>
<itemref idref="Seccion_13.xhtml"/>
<itemref idref="Seccion_14.xhtml"/>
<itemref idref="Seccion_15.xhtml"/>
<itemref idref="Seccion_16.xhtml"/>
<itemref idref="Seccion_17.xhtml"/>
<itemref idref="Seccion_18.xhtml"/>
<itemref idref="Seccion_19.xhtml"/>
<itemref idref="Seccion_20.xhtml"/>
<itemref idref="Seccion_21.xhtml"/>
<itemref idref="Seccion_22.xhtml"/>
<itemref idref="Seccion_23.xhtml"/>
<itemref idref="Index.xhtml"/>
</spine>


I can watch the content of the <spine> changed drastically.
RbnJrg is offline   Reply With Quote
Old 02-15-2019, 06:45 PM   #7
RbnJrg
Guru
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 994
Karma: 3598443
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Doitsu View Post
After deleting it, the bug disappeared.

@RbnJrg If your guide section contains entries, please temporarily remove them for testing purposes, before selecting Create Index and report back whether this makes a difference.
Yes, I confirm Doitsu's words; after deleting the entries of the guide section, the bug disappears.
RbnJrg is offline   Reply With Quote
Old 02-15-2019, 07:32 PM   #8
KevinH
Wizard
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: 3,227
Karma: 1958102
Join Date: Nov 2009
Device: many
An alternative work-around that will work correctly without removing the guide entries is to do the following:

1. Create a new empty html page. It will get appended to the end of the spine
2. Rename it to whatever you want to call the index.
3. Use the context menu button to set Semantics on that newly created html file and set it as the index.

Then go ahead and create the index. It should find the "index" you created and marked and replace it with the new index and nothing in the spine should be changed.

Sorry about that. We are testing a bug fix right now that will appear in the next release hopefully this weekend or soon after.

Thank you for your bug report!


KevinH

Last edited by KevinH; 02-15-2019 at 07:51 PM.
KevinH is offline   Reply With Quote
Old 02-15-2019, 07:59 PM   #9
RbnJrg
Guru
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 994
Karma: 3598443
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by KevinH View Post
An alternative work-around that will work correctly without removing the guide entries is to do the following:

1. Create a new empty html page. It will get appended to the end of the spine
2. Rename it to whatever you want to call the index.
3. Use the context menu button to set Semantics on that newly created html file and set it as the index.

Then go ahead and create the index. It should find the "index" you created and marked and replace it with the new index and nothing in the spine should be changed.

Sorry about that. We are testing a bug fix right now that will appear in the next release hopefully this weekend or soon after.

Thank you for your bug report!


KevinH
Thanks. It worked!!
RbnJrg is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird Things Happening Ellachanted Calibre 3 01-03-2014 10:50 AM
Index: Making a linked index in epub virtual_ink ePub 21 10-19-2011 11:23 PM
Not too sure what is happening here ... GeoffC Calibre 10 05-19-2011 11:07 AM
Speakin' of weird: Linux build eating accented chars. Hitch Sigil 2 12-17-2010 01:24 PM
The Lost Symbol -- WEIRD HAPPENING Neil Deals and Resources (No Self-Promotion or Affiliate Links) 70 09-30-2009 07:53 PM


All times are GMT -4. The time now is 11:49 AM.


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