Giter Site home page Giter Site logo

Comments (7)

hesstobi avatar hesstobi commented on September 13, 2024

I think this is realted to Issue #10. I hade the same problem but after i defined my TM_LATEX_MASTER as absolut path the command did work correctly.

from latex.tmbundle.

felixjung avatar felixjung commented on September 13, 2024

Dito, I have never used "%!TEX root = test.tex" in TM (not even TM1), but have always defined the TM_LATEX_MASTER variable. In TM2, you do so by putting the line "TM_LATEX_MASTER = "/path/to/master/latex/file.tex" inside a file named ".tm_properties" within the root of your LaTeX project.

from latex.tmbundle.

sorbits avatar sorbits commented on September 13, 2024

Worth mentioning that ‘$CWD’ expands to the folder containing the
‘.tm_properties’ file, so generally one would set:

 TM_LATEX_MASTER = "$CWD/master.tex"

Which avoids having to hardcode the project’s location.

On 8 Aug 2013, at 14:54, Felix Jung wrote:

Dito, I have never used "%!TEX root = test.tex" in TM (not even TM1),
but have always defined the TM_LATEX_MASTER variable. In TM2, you do
so by putting the line "TM_LATEX_MASTER =
"/path/to/master/latex/file.tex" inside a file named ".tm_properties"
within the root of your LaTeX project.


Reply to this email directly or view it on GitHub:
#52 (comment)

from latex.tmbundle.

coccoinomane avatar coccoinomane commented on September 13, 2024

Thank you for your replies. Using TM_LATEX_MASTER = "$CWD/master.tex" works, but I think it is worth mentioning that the directive
%!TEX root = test.tex
is more general because it is understood by other editors, such as TexShop, while TM_LATEX_MASTER is specific to Textmate.

Cheers,
Guido

from latex.tmbundle.

sanssecours avatar sanssecours commented on September 13, 2024

Hi,

I just wanted to look into this issue. The example by Guido works correctly for me. Did Michael fix the issue in commit 8379265? Can anybody still reproduce the problem?

Kind regards,
René

from latex.tmbundle.

sanssecours avatar sanssecours commented on September 13, 2024

Hi again,

I just updated the bundle code responsible for “Label Based on Current Word/Selection”. Hopefully the current code works for you Guido. It does for me if I save test.tex and include.tex in the same folder. If you still have problems, then please comment below or open a new issue.

Kind regards,
René

from latex.tmbundle.

coccoinomane avatar coccoinomane commented on September 13, 2024

It works perfectly, thank you very much sanssecours! Now my life will be much easier :-)

from latex.tmbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.