[OS X TeX] PrettyRef

Alan Munn amunn at msu.edu
Thu Mar 10 15:49:55 EST 2005

At 9:07 PM +0100 3/10/05, Sergei Mariev wrote:
>I think I know the problem. I am working on a critical edition where 
>I use hundreds (if not thousands) crossreferences. Thinking up a new 
>lable is quite hard, and it is even harder to remember if you have 
>already used the label or not, to avoid multiple labels. What I did 
>in my dissertation was to write a perl script which generates random 
>labels. Every time it generates a new label, it appends it to file. 
>Every time it generates a lable itfirst  looks into the file to see 
>if this number has been in use. Then I wrote a macro in the TexShop 
>which asks the perl script to generate a label and pastes it at the 
>current cursor position. This way I can generate a new label without 
>thinking much about it and I know that this lablel is unique. Is 
>this something you are looking for?

Hello, I would be very interested in seeing this.  In linguistics we 
number each example we discuss, and it would be great to have such a 


Alan Munn                                                   amunn at msu.edu
Department of Linguistics                                   amunn at acm.org
and Germanic, Slavic, Asian and African Languages   Fax.  +1-517-432-2736
Michigan State University, East Lansing MI 48824    Tel.  +1-517-355-7491
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>

More information about the MacOSX-TeX mailing list