[TxMt] [LaTeX] label completion

Charilaos Skiadas skiadas at hanover.edu
Fri Jun 29 20:39:48 UTC 2007


On Jun 5, 2007, at 4:37 AM, Ruben Debeerst wrote:

> Hi,
>
> I couldn't find the last thread, so I just open a new one.
>
> There were some problems with LaTeX label completion and I  
> especially had problems when using subfolders in projects.
>
> If the latex master file is in a subfolder, then there are three  
> posibilities for TM_LATEX_MASTER.
>
> 1. Give the full path to the master file:
> In this case everything works, but I don't like this, because then  
> you cant move your projects to another place without having to  
> change everything.

Well, not "everything", just resetting TM_LATEX_MASTER when the  
project is moved, but I get your point, you shouldn't have to do that.

> 2. Use the string 'subfolder/master.tex'
> Typeset+View will work, label completion will not work.
>
> 3. Use the string 'master.tex'
> Typeset+View will not work, but label completion will work in all  
> files that are in the same folder as master.tex
>
> So parsing of subfolders is implemented in a different way for  
> Typeset+View and label completion. Would be nice if this was fixed.

option 2 should probably be the one that we should make work, so I'll  
look into it, but if you can send me a test project it would help a lot.

Btw, purely out of curiosity, why is your master file in a subfolder?

> Ruben

Haris Skiadas
Department of Mathematics and Computer Science
Hanover College







More information about the textmate mailing list