[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] reftex and indexing: macros with two arguments

From: Bernhard Kleine
Subject: [AUCTeX] reftex and indexing: macros with two arguments
Date: Fri, 7 Nov 2008 16:51:29 +0000 (UTC)
User-agent: Pan/0.132 (Waxed in Black)


I have managed to have RefTeX use my macro


which I have now defined as the default macro. I have also managed to add 
a macro with two arguments 

address@hidden which are asked for after M-x reftex-
index b (b the ?b key for the ind macro. However, although the 
macrodefinition is 

 ("\\ind{*}{}" "idx" 98 "" nil nil))

the selected word is not taken as #1.

C-h v retex-index-macros:
reftex-index-macros is a variable defined in `reftex-vars.el'.
Its value is 
(("\\ii{*}" "idx" 97 "" nil nil)
 ("\\ind{*}{}" "idx" 98 "" nil nil))

The rip-file is

% -*- mode: reftex-index-phrases; TeX-master: "2nded.tex" -*-
%                              Key      Macro Format            Repeat
>>>INDEX_MACRO_DEFINITION:      a       \ii{%s}                 nil
>>>INDEX_MACRO_DEFINITION:      g       \glossary{%s}           t
>>>INDEX_MACRO_DEFINITION:      i       \index{%s}              t
>>>INDEX_MACRO_DEFINITION:      b       \ind{%s}{}              nil

What am I missing?

Thanks for help!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]