[OS X TeX] TeXShop features, AppleScripting

Martin Steer m.steer at coombs.anu.edu.au
Thu Jun 24 11:07:58 EDT 2004


"Kannan Moudgalya" <kannan at iitb.ac.in> writes:

>>> * Interactive \ref{} and \cite{} popups - when you typed the closing
>>> brace, it gathered all labels and bibliographic references and put
>>> them in a pop up, and you could select the one you wanted, and it
>>> would insert it automatically.  Very useful for remembering your
>>> labels!
>
>> All of these (and more) are available in emacs.
>
> Although I have been using emacs for about 20 years and latex for about 15
> years, I have not found out how to do the above in emacs.  Is there a good
> reference that explains all the features available in latex mode?
>
> A related question: I always feel uneasy when I have to come up with label
> numbers.  This becomes especially bad when there are a lot of labels to
> make.    I now label the equations as {eq:prefix_number}, where prefix
> denotes the subject area and number is in increments of 100.  The idea is
> that I can insert equations, if required, without worrying about what new
> numbers to give for them.  I have the following questions:  (1) What
> styles do others follow?  (2) Is there a code that can renumber/rename all
> the labels in a consistent fashion?  Thanks.

I use auctex (an extended tex mode) and reftex. Both have online info,
but the auctex info is now somewhat incomplete and out of
date. According to reftex info:

"RefTeX is a specialized package for support of labels, references,
citations, and the index in LaTeX.  RefTeX wraps itself round 4 LaTeX
macros: `\label', `\ref', `\cite', and `\index'.  Using these macros
usually requires looking up different parts of the document and
searching through BibTeX database files.  RefTeX automates these
time-consuming tasks almost entirely.  It also provides functions to
display the structure of a document and to move around in this structure
quickly."

Much of this facility is provided through a drop down toc, which can
display labels as well as section headings, etc.

Reftex automates label numbering, if that is required.

-- 
Martin

-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the MacOSX-TeX mailing list