[OS X TeX] Autocompletion with \includes

Herbert Schulz herbs at wideopenwest.com
Thu Jul 13 10:09:22 EDT 2006


On Jul 12, 2006, at 5:45 PM, Michael S. Hanson wrote:

> 	I have several tables that I am placing at the end of a master  
> LaTeX document with \include{} commands.  In these files are \label 
> {} commands.  However, the autocompletion in TeXShop (the [F5] key)  
> does not find these labels, for example with a \ref{} command.   
> Have others been able to get this setup to work?  I am using  
> TeXShop 2.09c on a PowerMac G5 with OS X 10.4.6.  (I also have  
> BibDesk 1.2.6 installed, if that matters.)  Thanks in advance for  
> any assistance.
>                                         -- Mike

The Macro "Insert reference" (bound to Shft-Cmd-R by default, I  
believe) will search through all the files in the same directory for  
all \label commands. It doesn't do that by default; you've got to  
edit it and change the value of "property only_scan_current_file : "  
from true to false. by using the Macro Editor. Also, if the top of  
the file has "-- Applescript Direct" remove the "Direct" since a  
dialog box is produced. Remember, the files all have to be in the  
same directory for this macro to work.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)


------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list