Reply to topic  [ 11 posts ] 
index markup 
Author Message

Joined: 2013-11-04 06:16:07
Posts: 27
Sorry if this question has been asked, but I did not find an answer on the forum.

1. How do I recognized visually that a word has been indexed?
2. Is there a way to see the code used to mark a word as a index item?

Thank you


2013-11-29 02:11:38
Profile
User avatar

Joined: 2007-02-07 00:58:12
Posts: 876
Location: Japan
Emilio_Speciale wrote:
1. How do I recognized visually that a word has been indexed?

Preferences has a setting to allow the highlighting of marked text. Default is off. But you can set it to on and choose the color.

_________________
philip


2013-11-29 16:12:12
Profile

Joined: 2013-11-04 06:16:07
Posts: 27
Thank you! It was really hidden.
1. Preferences
2. Appearance
3. Look down on the list and choose
4. Marked text
5. Deselect Hide in Include Index

___

I still do not know if it is possible to see the code: in Word you can see and edit the code.

Have a nice day.
ES


2013-11-30 00:08:22
Profile
User avatar

Joined: 2007-02-07 00:58:12
Posts: 876
Location: Japan
Yes, well it is true that it is "deeply embedded". But as you may have noticed, there are a lot of appearance variables that can be set. So I guess Nisus had to organise that somehow. (Of course we all tend to forget to look in preferences in the first place :) )

What do you mean by "edit the code"? If you have something indexed you can use "Index as…" to check how it has been indexed. (You can also set different colours for "Index" and "Index as".) Nisus also allows you to search for indexed items with the find feature. If you want more extensive automated access to index items, the macro language allows access to the index styles and the list of indexed topics.

And of course you can generate an index at any time to see what has been indexed :)

_________________
philip


2013-11-30 06:47:23
Profile

Joined: 2013-11-04 06:16:07
Posts: 27
Thank you for your kind answer.
For index code I mean this:

Here is a sentence with Galileo{XE “Galileo“} indexed.

The code is {XE “Galileo“}. It is visible in Word and may be useful…

Thanks again.
ES


2013-11-30 10:25:24
Profile
User avatar

Joined: 2007-02-07 00:58:12
Posts: 876
Location: Japan
Nisus is WYSIWYG. There is no code

_________________
philip


2013-11-30 16:56:25
Profile
User avatar

Joined: 2007-02-07 00:58:12
Posts: 876
Location: Japan
I am adding here a macro that will retrieve all the 'Index as' topic arrays and place them in the text. It is a very primitive macro in the sense that it takes the easiest approach to displaying this information. It also works only for one index, and only in the main text (not in footnotes, for example). One probably could make it more sophisticated, but it's not worth my while.

Also the inserted topic arrays are marked with a style, so they can easily be removed again.

Attachment:
Show IndexAs Items in Text.nwm [19.01 KiB]
Downloaded 116 times

_________________
philip


2013-11-30 18:41:27
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
Emilio_Speciale wrote:
For index code I mean this:

Here is a sentence with Galileo{XE “Galileo“} indexed.

The code is {XE “Galileo“}. It is visible in Word and may be useful…

As Philip said, there isn't any such code visible in Nisus Writer, and that's by design. You could use a macro like Philip's to generate something, but I'm not sure I understand why you'd like to do such a thing.

Here's some tips on how to handle common indexing tasks in NWP:
1. To see which text has been indexed, turn on the colorful highlighting in NWP's Appearance preferences (as you've already discovered).
2. To see the indexing topic applied to some text, select that text and look at the Indexing palette:
Attachment:
palette.png
palette.png [ 26.38 KiB | Viewed 3367 times ]

3. To see a listing of all indexing topics in a document, insert a generated index using the menu Tools > Insert > Insert Index. You can double-click any page number in the generated index to have NWP take you to the corresponding piece of text in the document.

I hope that helps. Please let us know if you have any more questions or difficulties.


2013-12-06 17:31:25
Profile WWW

Joined: 2013-11-26 17:40:11
Posts: 7
I'm new to Nisus, coming from the old Framemaker. I just managed to produce an index and figured out how to get the font and typeface that I wanted but no matter what I try, there is a grey background behind my text that I can't get rid of. The Format/ Background color is set to White. Paragraph Shading/ Pattern palette is set to None. The Paragraph/Shading palette is clear but nothing helps. Using other styles affects the typeface, etc., but the background is still shaded. What am I doing wrong? Thanks for your help.


2013-12-18 21:33:14
Profile
User avatar

Joined: 2007-01-17 03:25:42
Posts: 729
techwriter wrote:
[...] I just managed to produce an index and figured out how to get the font and typeface that I wanted but no matter what I try, there is a grey background behind my text that I can't get rid of [...]

Check the 'Hide this highlighting' box In NWP's Preferences=>Appearance:Automatic Text:Indexes:
Attachment:
AutuTextIndex.gif
AutuTextIndex.gif [ 20.47 KiB | Viewed 3284 times ]


2013-12-19 00:51:22
Profile

Joined: 2013-11-26 17:40:11
Posts: 7
Hamid wrote:
techwriter wrote:
[...] I just managed to produce an index and figured out how to get the font and typeface that I wanted but no matter what I try, there is a grey background behind my text that I can't get rid of [...]

Check the 'Hide this highlighting' box In NWP's Preferences=>Appearance:Automatic Text:Indexes:
Attachment:
AutuTextIndex.gif


Thank you. This helped. I ended up going there and picking no color as it is not needed in this case.


2013-12-19 06:25:42
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

Who is online

Users browsing this forum: Bing [Bot] and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software