Hi all, Having received some TeXLive updates recently, I am now unable to use cmd-R in TextMate to typeset. Whichever .tex I try (in this case Reason. tex), I just get
Command latexmk -pdf -f -r /tmp/latexmkrc -r '/Users/robertmilton/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/config/latexmkrc' Reason.tex exited with status 127
Is anyone else having this problem, or does anyone know how to fix it?
Regards Robert
Hi Robert,
On 20.12.2017, at 22:53 , Robert Milton robert.gomez.milton@gmail.com wrote:
Hi all, Having received some TeXLive updates recently, I am now unable to use cmd-R in TextMate to typeset. Whichever .tex I try (in this case Reason. tex), I just get
Command latexmk -pdf -f -r /tmp/latexmkrc -r '/Users/robertmilton/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/config/latexmkrc' Reason.tex exited with status 127
Is anyone else having this problem, or does anyone know how to fix it?
looks like translating LaTeX files works on my machine. I just installed the most recent updates of MacTeX 2017 via the Terminal command
sudo tlmgr update --self —all
. After that I translated the following document:
\documentclass{article} \begin{document} Test \end{document}
in TextMate without any problems. I also translated the same document using the Guest Account (“System Preferences…”→“Users & Groups”→“Guest User”), which also worked. Could you please try the following:
1. Create a new file in TextMate 2. Paste the LaTeX code from above into the document 3. Save the file in the folder `Downloads` using the name `Test.tex` 4. Open Terminal 5. Enter the following commands:
cd ~/Downloads latexmk -pdf Test.tex
6. Does the command `latexmk -pdf Test.tex` print any error messages? 7. Does the folder `Downloads` contain the PDF file `Test.pdf`?
If the steps above worked for you, can you please try to translate the same file in TextMate using the Guest account?
Regards Robert
Kind regards, René
Hi Rene, This works from the command line, but not from Textmate (status 127 again…). It seems the problem is with my guest account (I never knew this was relevant), which I never use. Some time ago disabled the root user, to get rid of an annoying “Other…” option on the login screen. The guest account was turned off, so I turned it on, but that hasn’t helped Textmate work. I’m stuck to be honest…any help is much appreciated.
Kind Regards
Robert
On 21 Dec 2017, at 08:44, René Schwaiger sanssecours@me.com wrote:
Hi Robert,
On 20.12.2017, at 22:53 , Robert Milton robert.gomez.milton@gmail.com wrote:
Hi all, Having received some TeXLive updates recently, I am now unable to use cmd-R in TextMate to typeset. Whichever .tex I try (in this case Reason. tex), I just get
Command latexmk -pdf -f -r /tmp/latexmkrc -r '/Users/robertmilton/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/config/latexmkrc' Reason.tex exited with status 127
Is anyone else having this problem, or does anyone know how to fix it?
looks like translating LaTeX files works on my machine. I just installed the most recent updates of MacTeX 2017 via the Terminal command
sudo tlmgr update --self —all
. After that I translated the following document:
\documentclass{article} \begin{document} Test \end{document}
in TextMate without any problems. I also translated the same document using the Guest Account (“System Preferences…”→“Users & Groups”→“Guest User”), which also worked. Could you please try the following:
- Create a new file in TextMate
- Paste the LaTeX code from above into the document
- Save the file in the folder `Downloads` using the name `Test.tex`
- Open Terminal
- Enter the following commands:
cd ~/Downloads latexmk -pdf Test.tex
- Does the command `latexmk -pdf Test.tex` print any error messages?
- Does the folder `Downloads` contain the PDF file `Test.pdf`?
If the steps above worked for you, can you please try to translate the same file in TextMate using the Guest account?
Regards Robert
Kind regards, René
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hi Robert,
On 21.12.2017, at 12:37 , Robert Milton robert.gomez.milton@gmail.com wrote:
Hi Rene, This works from the command line, but not from Textmate (status 127 again…). It seems the problem is with my guest account (I never knew this was relevant), which I never use. Some time ago disabled the root user, to get rid of an annoying “Other…” option on the login screen. The guest account was turned off, so I turned it on, but that hasn’t helped Textmate work.
enabling the guest account will not fix your problem. However, testing “Typeset & View (PDF)” from the guest account would make sure that the problem does not stem from modifications you made on your standard account.
Anyway, we already determined that your TeX distribution seems to work. Could you please check if you made any modifications to your version of the LaTeX bundle. For that, please follow the description at:
https://github.com/textmate/latex.tmbundle/wiki/FAQ#-remove-bundle-modificat...
. If that does not work, could you please disable “Use Latexmk“ in “Bundles”→“LaTeX”→“Preferences…“, and then try to translate `Test.tex` again?
I’m stuck to be honest…any help is much appreciated.
Kind Regards
Robert
Kind regards, René
Hi Rene, I removed the various LaTeX bundles I had lying around, as instructed by the link you sent. Typeset & View (PDF) then erased all the text in the test file. So I disabled the LaTeX bundle and removed it, then got a fresh copy via preferences in TextMate. So basically I now have one fresh bundle, just downloaded via TextMate. But, I’ve lost all syntax highlighting, Typeset & View (PDF) results in "No Makefile found. Set TM_MAKE_FILE in Preferences → Variable.”, and LaTeX preferences doesn’t show me anything other than erasing all text in the test file (I can get it back with ctrl-z). I really don’t know what is going on. Any ideas are much appreciated.
Kind Regards Robert
On 21 Dec 2017, at 12:23, René Schwaiger sanssecours@me.com wrote:
Hi Robert,
On 21.12.2017, at 12:37 , Robert Milton robert.gomez.milton@gmail.com wrote:
Hi Rene, This works from the command line, but not from Textmate (status 127 again…). It seems the problem is with my guest account (I never knew this was relevant), which I never use. Some time ago disabled the root user, to get rid of an annoying “Other…” option on the login screen. The guest account was turned off, so I turned it on, but that hasn’t helped Textmate work.
enabling the guest account will not fix your problem. However, testing “Typeset & View (PDF)” from the guest account would make sure that the problem does not stem from modifications you made on your standard account.
Anyway, we already determined that your TeX distribution seems to work. Could you please check if you made any modifications to your version of the LaTeX bundle. For that, please follow the description at:
https://github.com/textmate/latex.tmbundle/wiki/FAQ#-remove-bundle-modificat...
. If that does not work, could you please disable “Use Latexmk“ in “Bundles”→“LaTeX”→“Preferences…“, and then try to translate `Test.tex` again?
I’m stuck to be honest…any help is much appreciated.
Kind Regards
Robert
Kind regards, René
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hi Robert,
On 21.12.2017, at 19:45 , Robert Milton robert.gomez.milton@gmail.com wrote:
Hi Rene, I removed the various LaTeX bundles I had lying around, as instructed by the link you sent. Typeset & View (PDF) then erased all the text in the test file. So I disabled the LaTeX bundle and removed it, then got a fresh copy via preferences in TextMate. So basically I now have one fresh bundle, just downloaded via TextMate. But, I’ve lost all syntax highlighting, Typeset & View (PDF) results in "No Makefile found.
sounds like your `.tex` file uses “Plain Text” as grammar instead of “LaTeX“ (see attached screenshot `Plain.png`).
Set TM_MAKE_FILE in Preferences → Variable.”, and LaTeX preferences doesn’t show me anything other than erasing all text in the test file (I can get it back with ctrl-z).
Please select the LaTeX grammar either via TextMate’s status bar or via the shortcut `^` + `⌥` + `⇧` + `L` (see attached screenshot `LaTeX.png`). After this change, the shortcut `⌘` + `R` should activate “LaTeX”→“Typeset & View (PDF)” instead of “Make“→“Run” again.
I really don’t know what is going on. Any ideas are much appreciated.
Hope the description above solves your problem. If it does not, please do not hesitate to ask again.
Kind Regards Robert
Kind regards, René
Hi Rene, sorry to say I don’t think this is it. The LaTeX grammar has been selected throughout in TextMate’s status bar. I have also tried selecting other grammars, then going back to LaTeX. The result is always the same - no highlighting. I seemed to have reached a state where the LaTeX bundle simply won’t do anything other than erase text. For example, “Wrap command in…” just erases the selected text. How can I get back to a fresh TextMate and LaTeX bundle?
On 21 Dec 2017, at 19:47, René Schwaiger sanssecours@me.com wrote:
Hi Robert,
On 21.12.2017, at 19:45 , Robert Milton <robert.gomez.milton@gmail.com mailto:robert.gomez.milton@gmail.com> wrote:
Hi Rene, I removed the various LaTeX bundles I had lying around, as instructed by the link you sent. Typeset & View (PDF) then erased all the text in the test file. So I disabled the LaTeX bundle and removed it, then got a fresh copy via preferences in TextMate. So basically I now have one fresh bundle, just downloaded via TextMate. But, I’ve lost all syntax highlighting, Typeset & View (PDF) results in "No Makefile found.
sounds like your `.tex` file uses “Plain Text” as grammar instead of “LaTeX“ (see attached screenshot `Plain.png`).
Set TM_MAKE_FILE in Preferences → Variable.”, and LaTeX preferences doesn’t show me anything other than erasing all text in the test file (I can get it back with ctrl-z).
Please select the LaTeX grammar either via TextMate’s status bar or via the shortcut `^` + `⌥` + `⇧` + `L` (see attached screenshot `LaTeX.png`). After this change, the shortcut `⌘` + `R` should activate “LaTeX”→“Typeset & View (PDF)” instead of “Make“→“Run” again.
I really don’t know what is going on. Any ideas are much appreciated.
Hope the description above solves your problem. If it does not, please do not hesitate to ask again.
Kind Regards Robert
Kind regards, René
<LaTeX.png><Plain.png>
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hi Robert,
On 21.12.2017, at 20:57 , Robert Milton robert.gomez.milton@gmail.com wrote:
Hi Rene, sorry to say I don’t think this is it. The LaTeX grammar has been selected throughout in TextMate’s status bar. I have also tried selecting other grammars, then going back to LaTeX. The result is always the same - no highlighting. I seemed to have reached a state where the LaTeX bundle simply won’t do anything other than erase text. For example, “Wrap command in…” just erases the selected text. How can I get back to a fresh TextMate and LaTeX bundle?
please follow the steps at
https://github.com/textmate/textmate/wiki/Reverting-To-Defaults
. After that please reinstall the LaTeX bundle using “TextMate”→“Preferences…”→“Bundles”.
Kind regards, René
Cool, that seems to have worked. Many thanks for your help Rene.
Kind Regards Robert
On 21 Dec 2017, at 20:04, René Schwaiger sanssecours@me.com wrote:
Hi Robert,
On 21.12.2017, at 20:57 , Robert Milton robert.gomez.milton@gmail.com wrote:
Hi Rene, sorry to say I don’t think this is it. The LaTeX grammar has been selected throughout in TextMate’s status bar. I have also tried selecting other grammars, then going back to LaTeX. The result is always the same - no highlighting. I seemed to have reached a state where the LaTeX bundle simply won’t do anything other than erase text. For example, “Wrap command in…” just erases the selected text. How can I get back to a fresh TextMate and LaTeX bundle?
please follow the steps at
https://github.com/textmate/textmate/wiki/Reverting-To-Defaults
. After that please reinstall the LaTeX bundle using “TextMate”→“Preferences…”→“Bundles”.
Kind regards, René
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate