Giter Site home page Giter Site logo

Comments (4)

jrk avatar jrk commented on September 13, 2024

The issue is that the readTMPrefs function tries to read ~/Library/Preferences/com.macromates.textmate.plist, while for the TM2 preview this has been renamed to ~/Library/Preferences/com.macromates.TextMate.Preview.plist.

from latex.tmbundle.

noio avatar noio commented on September 13, 2024

When I simply:

cp ~/Library/Preferences/com.macromates.TextMate.preview.plist \
~/Library/Preferences/com.macromates.textmate.plist

It works. It's ugly, but it might provide people with quick fix.

from latex.tmbundle.

dderiso avatar dderiso commented on September 13, 2024

I used noio's suggestion and it worked. I think a more in-depth solution is the following:

~/Library/Application\ Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/tmprefs.py
Line 34 should be changed to:

TM_PREFERENCE_FILE = 'com.macromates.TextMate.preview.plist'

~/Library/Application\ Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/latex_watch.pl
Line 98 should be changed to:

$prefs_file = "$ENV{HOME}/Library/Preferences/com.macromates.TextMate.preview.plist";

Also, make sure that the folder for kpsewhich is in the $PATH (in textmate preferences > variables)

$PATH:/opt/local/bin:/usr/local/bin:/usr/texbin

I got this from:

which kpsewhich
/usr/texbin/kpsewhich

from latex.tmbundle.

infininight avatar infininight commented on September 13, 2024

Corrected in 07a2c15.

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.