invers Software
 
Welcome! Log In Create A New Profile Recent Messages

Advanced

Search by Index entry content

Posted by Jonas Möller Nielsen 
Jonas Möller Nielsen
Search by Index entry content
22 years ago
I have made a mistake while creating my index entries. I have double clicked on words and some of them have then included a TAB command, which I do not want in my index. The index command looks like this in Eddie:

[Index "->Hi there!"]

Can I somehow either

1) Search and replace INSIDE these index entries
[Index "->Hi there!"] to [Index "Hi there!"], or

2) Search on the contents in the index entrie so I can delete it and make a new one.

or is my only option to delete ALL index entries and make them all over?

Jonas
Re: Search by Index entry content
22 years ago
avatar
Hi Jonas.

There is a way of searching "visible" contents of control codes within Eddies Search & Replace functions, but to our blame be it spoken that it has not been implemented for Index stuff already, as the [url=http://www.calamus.net/man/us/mod/edd/050703.htm]Eddie manual[/url] tells me.

And - as a quick test with chapter numbers shows me - it does not really work there. Replacing "1" to "9" in chapter number content "123.123" reports: "2 replacements", but the chapter number content is still "123.123".

We will have to check this.

Sorry for the moment.



Grüße / Greetings / Groetjes / Salutations,
Ulf Dunkel
Jonas Möller Nielsen
Re: Search by Index entry content
22 years ago
Well, OK. I can fix this manually in the Index-frame after the indexing has been done.

But to my blame I did not check properly before I wrote the first message. I have now investigated a little bit further. This is my strange findings:

1) In some index entries there is a TAB places either in front or after the index text.
2) When I look in the main text where the index-commands are placed, the TAB does NOT exist within the Index command! So why then is the index text placed with a TAB?
3) The occurances when the TAB is placed in the index together with the text, seems to be when the index command is placed like this:

999->[Index "999"]

4) Not only TABs are placed in the index. I have also noted that in some places the text ruler is placed in the index as well! And the ruler command is not placed inside the Index command. I asume that this occurs when the text ruler command is placed adjacent to the command [Indes ""].

Jonas
Jonas Möller Nielsen
Re: Search by Index entry content
22 years ago
Ignore this last comment!

I have Reformated my index once more and now everything is OK! I can not explain this!

My problem now is that I do not get the page numbers in the index. Only the text. I have first reformated the document WITHOUT index but WITH page numbers. Then I have the document module to place the page numbers on the pages. Then I have reformated the document again, WITH index but WiTHOUT anything else. The new index overwriting the old one.

Jonas
Re: Search by Index entry content
22 years ago
avatar
Hi Jonas.

> Well, OK. I can fix this manually in the Index-frame after
> the indexing has been done.

Oh, this is no good idea. It will let you lose control on the index control codes if you ever have to re-create the index text frame content. Please change it in the index control codes if possible.

> 2) When I look in the main text where the index-commands are
> placed, the TAB does NOT exist within the Index command! So why
> then is the index text placed with a TAB?

Did you create an index control code or rather a footnote control code (which could explain the additional TAB character)?


> 4) Not only TABs are placed in the index. I have also noted
> that in some places the text ruler is placed in the index as
> well!

With Calamus, index and footnote control codes can even contain control codes (except index and footnote control codes of course). So you might create indices with even images, mixed text styles and stuff.

Maybe it would be a good idea to create the index control codes in an Eddie window where you can SEE text ruler control codes, etc.



Grüße / Greetings / Groetjes / Salutations,
Ulf Dunkel
Re: Search by Index entry content
22 years ago
avatar
> Ignore this last comment!

Too late. ;-)


> My problem now is that I do not get the page numbers in the
> index. Only the text. I have first reformated the document
> WITHOUT index but WITH page numbers. Then I have the document
> module to place the page numbers on the pages. Then I have
> reformated the document again, WITH index but WiTHOUT anything
> else. The new index overwriting the old one.

What do you definitely want to create? Is it really an index or rather a table of contents?

However, you will have to enter page number control codes. If possible, I recommend you better do all this stuff with Eddie, or maybe you want to take a look at the demo version of the optional [url=http://www.calamus.net/us/modules/idx.php]Indexer PRO module.[/url]



Grüße / Greetings / Groetjes / Salutations,
Ulf Dunkel
Jonas Möller Nielsen
Re: Search by Index entry content
22 years ago
Ulf Dunkel wrote:

>
> What do you definitely want to create? Is it really an index
> or rather a table of contents?
>

No, I want to do an index at the back of the document.

> However, you will have to enter page number control codes. If
> possible, I recommend you better do all this stuff with Eddie,
> or maybe you want to take a look at the demo version of the
> optional [url=http://www.calamus.net/us/modules/idx.php]Indexer
> PRO module.[/url]
>

In Eddie I double click on the Index control code. A new window appears with the index text. After the text I want to add the page number control code. But a small pop-up appears and I am supposed to enter somehting here. I have not found any description of this in the manual. What shall I enter? #? Or maybe it is not possible to do it this way?

Jonas
Re: Search by Index entry content
22 years ago
avatar
When you want to edit a control code in Eddie, it's correct to double click it. Then a new "instance" of the Eddie window opens, showing the editable control code content - as this control code has some editable control code content (e.g. index control codes).

When you see a text in there (e.g. "foo") and you want the according index (at the end of your book) to be formatted like this:

foo ...................... 42

then it is a good idea to add the following after the text: " [#]TAB". This means: Add a blank, then a page number control code, then a tab.

In the index text frame, you should define your text ruler with a leader tab rightmost to the frame.

Hope this helps.



Grüße / Greetings / Groetjes / Salutations,
Ulf Dunkel
Re: Search by Index entry content
22 years ago
Hi,

You can 'macro' this very well if you look at the exact steps you do. With me, in Eddie, I set the cursor in the word, doubleclick on the word and then control-I makes an index-entry, with pagenumber.

If you can understand Dutch, this has been described on page 3 in the Calamus-magazine 'n Veertje2, which can be found at
http://www.calamus.net/de/mag/index.html

- Paul Pasveer

Re: Search by Index entry content
22 years ago
avatar
Hi Paul,

the Calamus related magazines are available from

http://www.calamus.net/de/mag/
http://www.calamus.net/nl/mag/
http://www.calamus.net/us/mag/

;-)



Grüße / Greetings / Groetjes / Salutations,
Ulf Dunkel
Jonas Möller Nielsen
Re: Search by Index entry content
22 years ago
Ok. I did not have any problem with the dutch. But I can not figure out how to start the macro recorder. I did not find anything in the manual, though it mentions that it is possible.

How do I start the macro recorder (and stop it afterwards)?


Jonas
Re: Search by Index entry content
22 years ago
avatar
Hi Jonas.

Under TOS or MagiC(...), simply press [Alt][Esc]. Under Windows this key combination is reserved, so press [Alt][^] instead, [^] meaning the key beneath the [Esc] key usually.

[url]http://www.calamus.net/man/us/cal/030307.htm[/url] describes all this in details.



Grüße / Greetings / Groetjes / Salutations,
Ulf Dunkel
Author:

Your Email:


Subject:


banner class does not have character V defined in its font.