7 Aug 2012 17:56
8 Aug 2012 08:05
Re: INDEX shortcut
Karl Koeller <karlkoeller <at> googlemail.com>
2012-08-08 06:05:57 GMT
2012-08-08 06:05:57 GMT
Il 07/08/2012 17.56, Norbert Wermes ha scritto:
> I am looking for an INDEX macro with which \index{name} can be generated.
> Something that allows one to just klick on a word (e.g. the word "name") and then
> it appends \index{name} behind that word.
> Thanks
>
>
>
Try inserting these lines in MainMenu.ini
ITEM="Index"
CAPTION="&Index"
IMAGE="Thesaurus"
MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('\index','{','}');"
REQ_DOCUMENT=1
for example after the following ones:
ITEM="Label"
CAPTION="&Label"
IMAGE="Label"
MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('\label','{','}');"
REQ_DOCUMENT=1
Remember to load the script after that (Shift+Ctrl+F9)
Karl
(Continue reading)
8 Aug 2012 19:38
Re: INDEX shortcut
Norbert Wermes <wermes <at> uni-bonn.de>
2012-08-08 17:38:36 GMT
2012-08-08 17:38:36 GMT
I now understand, how to use it (typing #i..). But this still means that one has to type the
argument name into { }. Browsing through a document with many pages and very many
index arguments ten is still very clumsy. I was looking for a script that inserts the
argument "name" by double clicking on the word "name".
N.
On Aug 8, 2012, at 8:05 AM, Karl Koeller wrote:
Il 07/08/2012 17.56, Norbert Wermes ha scritto:I am looking for an INDEX macro with which \index{name} can be generated.
Something that allows one to just klick on a word (e.g. the word "name") and then
it appends \index{name} behind that word.
Thanks
Try inserting these lines in MainMenu.ini
ITEM="Index"
CAPTION="&Index"
IMAGE="Thesaurus"
MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('\index','{','}');"
REQ_DOCUMENT=1
for example after the following ones:
ITEM="Label"
CAPTION="&Label"
IMAGE="Label"
MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('\label','{','}');"
REQ_DOCUMENT=1
Remember to load the script after that (Shift+Ctrl+F9)
Karl
-------------------------------------------------------------------------------------------
Norbert Wermes
Professor of Physics
Bonn University phone +49 - 228 - 73 - 3533 (office)
Physikalisches Institut +49 - 228 - 73 - 3225 (secretary)
Nussallee 12 fax +49 - 228 - 73 - 3220
53115 Bonn email: wermes <at> uni-bonn.de
Germany www: http://hep1.physik.uni-bonn.de
Nussallee 12 fax +49 - 228 - 73 - 3220
53115 Bonn email: wermes <at> uni-bonn.de
Germany www: http://hep1.physik.uni-bonn.de
-------------------------------------------------------------------------------------------
19 Aug 2012 09:20
Re: INDEX shortcut
Norbert Wermes <wermes <at> uni-bonn.de>
2012-08-19 07:20:31 GMT
2012-08-19 07:20:31 GMT
I still have not succeeded with the INDEX macro and would need some more help/instructions.
I was looking for an INDEX macro with which \index{name} can be generated, that allows one to just klick on a word (e.g. the word "name") and then
it appends \index{name} behind that word
I did insert
ITEM="Index"
CAPTION="&Index"
IMAGE="Thesaurus"
MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('\index','{','}');"
REQ_DOCUMENT=1
into MainMenu.ini.
I failed so far to work with it. Is it supposed to do exactly what I was looking for?
Thanks
On Aug 8, 2012, at 8:05 AM, Karl Koeller wrote:
Il 07/08/2012 17.56, Norbert Wermes ha scritto:I am looking for an INDEX macro with which \index{name} can be generated.
Something that allows one to just klick on a word (e.g. the word "name") and then
it appends \index{name} behind that word.
Thanks
Try inserting these lines in MainMenu.ini
ITEM="Index"
CAPTION="&Index"
IMAGE="Thesaurus"
MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('\index','{','}');"
REQ_DOCUMENT=1
for example after the following ones:
ITEM="Label"
CAPTION="&Label"
IMAGE="Label"
MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('\label','{','}');"
REQ_DOCUMENT=1
Remember to load the script after that (Shift+Ctrl+F9)
Karl
RSS Feed