Skip to content
René Schwaiger edited this page Mar 6, 2023 · 6 revisions

General

Do I Need to Modify the PATH Variable for This Bundle?

No. All bundle commands should also work if PATH does not contain the location of the TeX commands.

How Can I Test Changes to the Bundle That Are Not Deployed Yet?

In general the LaTeX Bundle you installed under “TextMate“ → “Preferences” → “Bundles” should contain more or less the same code as this repository. However, there might be a short time when the latest updates are not deployed yet. In this situation you can use the latest version of the bundle using the following steps:

  1. Go to the main LaTeX Bundle page

  2. Click on the green “Code” button

  3. Click on “Download ZIP”

  4. Unzip the ZIP you downloaded in step 3

  5. Rename the unzipped directory to “LaTeX.tmbundle”

  6. Open “Finder”

  7. Click on “Go” → “Go to Folder…”

  8. Enter the text ~/Library/Application Support/TextMate/Managed/Bundles and press ⏎

  9. Replace “LaTeX.tmbundle” in the directory Library/Application Support/TextMate/Managed/Bundles in your home directory with the Bundle from step 5

  10. Restart TextMate

  11. If TextMate displays the error message ““check_open” cannot be verified”, when you open a Command of the LaTeX Bundle:

    check_open Warning

    then please go to “System Settings” → “Privacy & Security” and click on the button “Open Anyway“:

    Privacy   Security

After you followed the steps abobe you do not need to worry that you will be stuck with an old version of the bundle, since an update of the LaTeX Bundle (under “TextMate“ → “Preferences” → “Bundles”) will overwrite your manual changes.

Troubleshooting

Something Does Not Work as Expected. What can I Do?

If you have trouble with the LaTeX bundle, then please try the following steps.

Remove Bundle Modifications

Make sure that you only have a single version of the LaTeX bundle. For that purpose, please open Terminal (located in /Applications/Utilities) and enter the following command:

mdfind -name '"latex.tmbundle"c' | grep -iE '\.tmbundle$'

The command above should only output the following bundle directory:

$HOME/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle

. The variable $HOME above is the location of your home directory. For example, for the user rene the output of the command should be

/Users/rene/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle

. If the command prints other directories, then please remove them. After that restart TextMate (^ + + Q) and check if your problem persists.

Revert to Defaults

If removing bundle modifications did not fix your problem, then you can also try to reset TextMate to its initial state. For that please follow the steps given here.

Since removing all your modifications to TextMate is a rather drastic step, that might not even fix your problem, you can also try a clean installation first. One easy way to do this is to enable the guest user. For that purpose open System Preferences, go to User & GroupsGuest User and check the box Allow guests to log in to this computer. After you did that, log in to the guest user account and check if your issue is still persists. If it does, then please create a new issue.

Create an Issue Describing Your Problem

Before you create a new issue that describes a bug in TextMate’s LaTeX bundle please try the steps described in “Remove Bundle Modifications” and “Revert to Defaults”. If you already did that, then please read about how to write good bug reports. After that check if there is already an issue that describes the same problem here. If not, then please create a new issue and provide steps to reproduce the problem.