14

I'm not sure if this is the right place to ask this question, so if not, please let me know where it would be more appropriate.

Since upgrading to Ubuntu 13.10, something seems to have gone wonky with RefTeX. It seems that Emacs was "upgraded" to 24.3.1, and I think this may be the culprit.

The problem: when I type C-c ) to insert a label, instead of just going to my list of references as usual, the frame splits in half and the following appears in the bottom half:

SELECT A REFERENCE FORMAT

[^M] \ref

[p] \pageref

If I hit C-m then it goes to my reference list and I can choose the reference as I normally would. I really don't want to have this extra step there, any idea how to disable that and restore the previous behavior?

In case it matters, I'm also using the solution from this answer to make RefTeX work with cleverref.

16

To skip the selection of the reference style you have to set the variable reftex-ref-macro-prompt to nil, see the RefTeX manual. To do this you can customize that variable or add the following code to your init file:

(setq reftex-ref-macro-prompt nil)

It has been reported that this solution to use RefTeX with the cleverref package no longer works with Emacs 24.3.1 and AUCTeX 11.87, look at this instead.

  • Thank you! You were of course correct, that solution that I referenced no longer works, but the newer one that you link to does. – MTS Oct 21 '13 at 18:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.