Re: [NTG-context] Trouble with editors on Mac
On Fri, Aug 16, 2013 at 2:10 PM, Jannik Voges researchj...@icloud.com wrote: I think, you should remove the last 'context' in your PATH. So it should be '/Applications/ConTeXt/tex/texmf-osx-64/bin/'. That was a cut-and-paste error, the path was ok. Sharp eyes you have, spotting that, I didn't notice at all! Mari ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Trouble with editors on Mac
On Wed, Aug 14, 2013 at 10:34 PM, Mari Voipio mari.voi...@iki.fi wrote: Hi! I updated my ConTeXt installation today and now it refuses to work with TextMate and TeXworks. When I use the typesetting command on either editor, I get the error message mtxrun | unknown script 'context.lua' or 'mtx-context.lua' The weird thing is that my ConTeXt standalone installation works on command line (with context myfile.tex). I finally realized that I hadn't tried using ConTeXt from an editor since I installed MacTeX Basic on this computer (the full package refuses to download, even with Safari). So the problem wasn't in the ConTeXt update but in what I did before that. It took a bit of digging, but in a moment of inspiration I checked /usr/ and found a symbolic link texbin - /Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin I *think* that was what wreaked havoc in my editors, because when I _removed_ the texbin path from TextMate, ConTeXt started working again in that editor. So now I have TextMate for ConTeXt and TeXShop for LaTeX, and I'm quite content with this arrangement; I don't mind having dedicated software as long as it works and I've achieved that aim now. Thank you all for your help in deducing that I indeed had a path problem, that led me to find a (the?) solution. Regards, Mari ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Trouble with editors on Mac
Hi Mari, I use TeXShop. TeXWorks is based on TeXShop. For ConTeXt Standalone I use: set path= (/Users/quayjay/context/tex/texmf-osx-64/bin $path /usr/local/bin) mtxrun --script context --autogenerate --synctex=1 $1 This ensures that the environment is setup right. Hope this helps regards Keith. Am 14.08.2013 um 21:34 schrieb Mari Voipio mari.voi...@iki.fi: Hi! I updated my ConTeXt installation today and now it refuses to work with TextMate and TeXworks. When I use the typesetting command on either editor, I get the error message mtxrun | unknown script 'context.lua' or 'mtx-context.lua' The weird thing is that my ConTeXt standalone installation works on command line (with context myfile.tex). I've used TextMate for a year and did not change anything there. Both editors also have my ConTeXt directory /Applications/ConTeXt/tex/texmf-osx-64/bin/context as PATH variable (I got a different error message on TeXworks before I edited the path variable to include ConTeXt). So in theory everything should be fine... I first installed the newest ConTeXt and when it gave the above error message, I switched to latest stable version (installation with --context=current), but that didn't make any difference. My previous installation was at least 3 months old, possibly quite a bit older. This problem is not critical as I can use TextMate/TeXworks as editor and compile on command line in Terminal, but it is a bit of a nuisance not to be able to use the typesetting command in the editor. So any help is highly appreciated. Thanks, Mari ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Trouble with editors on Mac
On 8/14/2013 9:34 PM, Mari Voipio wrote: Hi! I updated my ConTeXt installation today and now it refuses to work with TextMate and TeXworks. When I use the typesetting command on either editor, I get the error message As you come from windows/scite you could try scite on osx. Unfortunately I couldn't figure quit how to use the new context lexers on that platform. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Trouble with editors on Mac
Hello, I think, you should remove the last 'context' in your PATH. So it should be '/Applications/ConTeXt/tex/texmf-osx-64/bin/'. Jannik Am 16.08.2013 um 10:06 schrieb Hans Hagen pra...@wxs.nl: On 8/14/2013 9:34 PM, Mari Voipio wrote: Hi! I updated my ConTeXt installation today and now it refuses to work with TextMate and TeXworks. When I use the typesetting command on either editor, I get the error message As you come from windows/scite you could try scite on osx. Unfortunately I couldn't figure quit how to use the new context lexers on that platform. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Trouble with editors on Mac
On 15 aug. 2013, at 11:40, ntg-context-requ...@ntg.nl Mari Voipio mari.voi...@iki.fi wrote: I updated my ConTeXt installation today and now it refuses to work with TextMate and TeXworks. This problem is not critical as I can use TextMate/TeXworks as editor and compile on command line in Terminal, but it is a bit of a nuisance not to be able to use the typesetting command in the editor. So any help is highly appreciated. Hi Mari, I cannot help you with your particular problem other than suggesting to give TeXShop a try. I have used it for many years and it has never given me any problem whatsoever. Just to make sure, I updated the standalone today (beta with all goodies) and again no problem. Best regards, Robert Blackstone___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Trouble with editors on Mac
You editor probably isn't picking up ConTeXt because it's probably not on the system path. I add the setuptex command at the end of .bashrc or .bash_profile. This makes it accessible from the terminal, but not all programs read in .bashrc or .bash_profile. You should add ConTeXt to your editor's path, if possible. On Thu, Aug 15, 2013 at 4:11 AM, Robert Blackstone blackstone.rob...@gmail.com wrote: On 15 aug. 2013, at 11:40, ntg-context-requ...@ntg.nl Mari Voipio mari.voi...@iki.fi *w*rote: I updated my ConTeXt installation today and now it refuses to work with TextMate and TeXworks. This problem is not critical as I can use TextMate/TeXworks as editor and compile on command line in Terminal, but it is a bit of a nuisance not to be able to use the typesetting command in the editor. So any help is highly appreciated. Hi Mari, I cannot help you with your particular problem other than suggesting to give TeXShop a try. I have used it for many years and it has never given me any problem whatsoever. Just to make sure, I updated the standalone today (beta with all goodies) and again no problem. Best regards, Robert Blackstone ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Trouble with editors on Mac
Hi! I updated my ConTeXt installation today and now it refuses to work with TextMate and TeXworks. When I use the typesetting command on either editor, I get the error message mtxrun | unknown script 'context.lua' or 'mtx-context.lua' The weird thing is that my ConTeXt standalone installation works on command line (with context myfile.tex). I've used TextMate for a year and did not change anything there. Both editors also have my ConTeXt directory /Applications/ConTeXt/tex/texmf-osx-64/bin/context as PATH variable (I got a different error message on TeXworks before I edited the path variable to include ConTeXt). So in theory everything should be fine... I first installed the newest ConTeXt and when it gave the above error message, I switched to latest stable version (installation with --context=current), but that didn't make any difference. My previous installation was at least 3 months old, possibly quite a bit older. This problem is not critical as I can use TextMate/TeXworks as editor and compile on command line in Terminal, but it is a bit of a nuisance not to be able to use the typesetting command in the editor. So any help is highly appreciated. Thanks, Mari ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___