auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] reftex patch to support resolved labels


From: Tim Toolan
Subject: [AUCTeX-devel] reftex patch to support resolved labels
Date: Tue, 21 Oct 2008 15:42:38 -0400
User-agent: Internet Messaging Program (IMP) H3 (4.2)

Hello,

Attached is a patch which adds support for resolved labels as they
appear the typeset document to the reftex-reference command.  It
places them where the counter used to be, and enables interactive
filtering based on these resolved labels.  It makes selecting labels
significantly more efficient when looking at typeset document.

To reference a label, run reftex-reference "C-c )", then enter the
number as it appears in the typeset document (ie. "1.2", "IV", "123").  If
there is more than one exact match, such as section 3, equation 3, and
figure 3, press tab to cycle between these choices.

When in this filtering mode, any special commands that are printable
characters (like "f" to toggle follow mode) must be preceded by a
"C-c" prefix.  At any time, press the delete key to toggle between
filter mode and the previous behavior for reftex-reference.

It is currently setup to disable prompting for reference macro type
and label type by default, and going directly to the filter selection
process.  To revert to the old behavior, set the variables:
  (setq reftex-ref-type-prompt t)
  (setq reftex-ref-start-in-filter-mode nil)
  (setq reftex-ref-macro-prompt t)

Regards,

Tim Toolan

Attachment: reftex.patch
Description: Text Data


reply via email to

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