[TxMt] Re: Problems with LaTeX bundle

Allan Odgaard mailinglist at textmate.org
Thu Jun 13 12:27:02 UTC 2013


On May 31, 2013, at 11:36, Guido Governatori <gvdgdo at gmail.com> wrote:

>> […] Could it be that you have TM_LATEX_MASTER set to ‘JUR11-Permission.tex’? Does this master file exist? If it does, is it set via a relative or absolute path? […]
> 
> I have TM_LATEX_MASTER is set to a master file  with relative path. If I use an absolute path (or the variable is not set) the problem disappears.

OK, for now you can set it like this (.tm_properties in your project):

    TM_LATEX_MASTER = "$CWD/JUR11-Permission.tex"

Here $CWD is a plcaeholder for the folder containing the .tm_properties file.

I am not sure if relative paths were fully supported in the past, for example if you had a project like:

   chapters/intro.tex
   master.tex

And set TM_LATEX_MASTER to ‘master.tex’ and built with ‘intro.tex’ open, then I think it would have failed, as ‘master.tex’ would be resolved against the folder of ‘intro.tex’.

> There is another difference. If I use \ref{} and then call the command (with the caret between the curly brackets), then I get the following error: […] It used to work with previous versions

Sounds like the same issue that this commit solves (but for another command) https://github.com/textmate/latex.tmbundle/commit/f95d2b89d1a030145e768743bb5a5e64e617ba7f

Though see my comment about this probably being fixed in a wrong way.

>>> Also I have noticed a different behaviour when clicking the button in the output window. The commands are executed but no message appears in the output window.
>> A more detailed step-by-step would be appreciated here.
> Compile a latex file […]

Thanks for the additional info, I have tracked down the problematic commit and should have a fix for next build.



More information about the textmate mailing list