# [OS X TeX] Automatic labeling for references

David Watson dewatson at mac.com
Fri Apr 4 22:18:09 EDT 2008

Good grief!

I would never EVER use a random label number. The whole purpose of
using labels and references is to make it memorable.

\label{eulersformula} is WAY more memorable than
\label{x89237kjalsdfi134}

Why would anyone ever do something like that?

If you are confused about which of Euler's formulas you are trying to
reference, just use the "search" or "find" functionality of your text
editor to look for euler and track it down.

As long as you use a consistent method of labeling, finding references
should not be difficult.

Something like "euler-function" "euler-function-identity" "maxwell-
hertz" "heaviside-hertz" "maxwells-silver-hammer" would help to narrow
it down without forcing you to do things diametrically opposed to the
entire philosophy of TeX/LaTeX.

Excuse me, I have to go drink away the brain cell that just thought it
saw some craziness about random numbers and labels.

On Apr 4, 2008, at 8:49 PM, Alain Schremmer wrote:
>
> The reason I would like this to be automatic is that last year I
> gave up on references altogether because I got completely confused
> even though someone on this list had written a macro that would
> generate random label numbers. This way, it would be just a matter
> of looking up an already existing label.
>
> Hopeful regards
> --schremmer
>