View Single Post
Old 05-03-2017, 02:53 AM   #4
andyb
Member
andyb began at the beginning.
 
andyb's Avatar
 
Posts: 14
Karma: 10
Join Date: May 2015
Location: Kent, UK
Device: Kobo Aura
Ops - close but not quite cigar worthy ...

My "List of Illustrations" is now fixed, its content is not appearing in the index, but I now have text from my ToC appearing...

A ToC snippet looks like this before indexing:
Code:
  <h3 class="sigil_not_in_toc">12. <a href="../Text/12-green-horrors.xhtml">Green Horrors</a></h3>

  <ul>
    <li>What constitutes a horror? Opinions vary…</li>
    <li>Japanese knotweed</li>
    <li>Giant hogweed</li>
    <li>A succession of pondweeds</li>
    <li>New Zealand pigmyweed</li>
    <li>Azolla</li>
    <li>Least duckweed</li>
    <li>Floating pennywort</li>
    <li>Himalayan balsam</li>
    <li>Rhododendron ponticum</li>
  </ul>
The unordered list is my own addition because a high level summary was required in the ToC for which there were no headings in the main text.

And this after indexing:
Code:
    .
    .
    .
    <li>Least duckweed</li>
    <li>Floating pennywort</li>
    <li>Himalayan balsam</li>
    <li id="sigil_index_id_1">Rhododendron ponticum</li>
  </ul>
"Rhododendron ponticum" is in my index editor

The relevant part of my tweaked (as suggested) content.opf file looks like this:
Code:
  <guide>
    <reference type="copyright-page" title="Copyright Page" href="Text/copyright.xhtml"/>
    <reference type="dedication" title="Dedication" href="Text/dedication.xhtml"/>
    <reference type="toc" title="Table of Content" href="Text/contents.xhtml"/>
    <reference type="toc" title="Table of Content" href="Text/illustrations.xhtml"/>
    <reference type="preface" title="Preface" href="Text/preface.xhtml"/>
    <reference type="acknowledgements" title="Acknowledgements" href="Text/acknowledgements.xhtml"/>
    <reference type="text" title="Text" href="Text/01-early-doors.xhtml"/>
    <reference type="text" title="Text" href="Text/02-chill-out.xhtml"/>
    .
    .
    .
Seems odd that stuff that was in illustrations.xhtml that was causing a problem appears fixed whilst stuff in contents.xhtml that was fine now appears broken!

I'm confused...

This is starting to get quite involved, I'm happy to take the discussion off list if required...

Andy B.

Last edited by andyb; 05-03-2017 at 05:19 AM. Reason: Not quite as fixed as I thought it was!
andyb is offline   Reply With Quote