View Single Post
Old 12-14-2015, 08:03 PM   #5
Hendrixxxxxxxx
Connoisseur
Hendrixxxxxxxx knows how many angels can dance on the head of a pin.Hendrixxxxxxxx knows how many angels can dance on the head of a pin.Hendrixxxxxxxx knows how many angels can dance on the head of a pin.Hendrixxxxxxxx knows how many angels can dance on the head of a pin.Hendrixxxxxxxx knows how many angels can dance on the head of a pin.Hendrixxxxxxxx knows how many angels can dance on the head of a pin.Hendrixxxxxxxx knows how many angels can dance on the head of a pin.Hendrixxxxxxxx knows how many angels can dance on the head of a pin.Hendrixxxxxxxx knows how many angels can dance on the head of a pin.Hendrixxxxxxxx knows how many angels can dance on the head of a pin.Hendrixxxxxxxx knows how many angels can dance on the head of a pin.
 
Posts: 67
Karma: 136594
Join Date: Jan 2013
Location: Hong Kong
Device: Kindle DX, Paperwhite, Paperwhite II, and Voyage
Quote:
Originally Posted by KevinH View Post
Those instructions assume you have already built the index. To build the index you simply mark each word you want to add to the index (using the index menus) and then build it. It will create an index entry under each starting letter of the word in a new xhtm file called index.html.

Then once you have the index built you can see the indexed words in BV with your colouring css trick.
Kevin,
Thanks for your prompt reply. Yes, index already built, by a combination of "Mark for Index", and "Index Editor". Once I had it looking like I wanted, I then created the index, and it generated a new html file in the sidebar called "index.xhtml". However, when I used index editor, I went very broad, so would like to now go in an edit it down. I thought this would be easier if I could highlight the index marks in the text, hence my question.

Quote:
Originally Posted by DiapDealer View Post
I'm honestly not familiar with the user guide, but if elements indeed exist in the html with a class attribute value of "sigil_index_marker", then I would expect to see something like:
Code:
.sigil_index_marker {color:#335500};
in the css.
(provided the color is not being overridden somewhere else)

Though there's technically nothing wrong with the way the guide suggests (provided the index has been already been generated as Kevin mentioned.)
DiapDealer,

Thanks. Yes, I thought something similar - I will have a play around with it some more.

However, my suspicion is that I can get the ones in this form: "<a class="sigil_index_marker" title="text here" id="sigil_index_id_1">" to highlight, but I can't see a way to get the ones in the form: "<cite id="sigil_index_id_8">" or "<p id="sigil_index_id_7">" to highlight.

Does anyone have any experience of this?

Thanks all.
Hendrixxxxxxxx is offline   Reply With Quote