ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Trouble with editors on Mac
@ 2013-08-14 19:34 Mari Voipio
  2013-08-16  7:24 ` Keith J. Schultz
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mari Voipio @ 2013-08-14 19:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Trouble with editors on Mac
  2013-08-14 19:34 Trouble with editors on Mac Mari Voipio
@ 2013-08-16  7:24 ` Keith J. Schultz
  2013-08-16  8:06 ` Hans Hagen
  2013-08-19 17:29 ` Mari Voipio
  2 siblings, 0 replies; 8+ messages in thread
From: Keith J. Schultz @ 2013-08-16  7:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.voipio@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Trouble with editors on Mac
  2013-08-14 19:34 Trouble with editors on Mac Mari Voipio
  2013-08-16  7:24 ` Keith J. Schultz
@ 2013-08-16  8:06 ` Hans Hagen
  2013-08-16 11:10   ` Jannik Voges
  2013-08-19 17:29 ` Mari Voipio
  2 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2013-08-16  8:06 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Trouble with editors on Mac
  2013-08-16  8:06 ` Hans Hagen
@ 2013-08-16 11:10   ` Jannik Voges
  2013-08-19 17:01     ` Mari Voipio
  0 siblings, 1 reply; 8+ messages in thread
From: Jannik Voges @ 2013-08-16 11:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Trouble with editors on Mac
  2013-08-16 11:10   ` Jannik Voges
@ 2013-08-19 17:01     ` Mari Voipio
  0 siblings, 0 replies; 8+ messages in thread
From: Mari Voipio @ 2013-08-19 17:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Aug 16, 2013 at 2:10 PM, Jannik Voges <researchjavo@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Trouble with editors on Mac
  2013-08-14 19:34 Trouble with editors on Mac Mari Voipio
  2013-08-16  7:24 ` Keith J. Schultz
  2013-08-16  8:06 ` Hans Hagen
@ 2013-08-19 17:29 ` Mari Voipio
  2 siblings, 0 replies; 8+ messages in thread
From: Mari Voipio @ 2013-08-19 17:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Aug 14, 2013 at 10:34 PM, Mari Voipio <mari.voipio@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Trouble with editors on Mac
  2013-08-15 11:11 ` Robert Blackstone
@ 2013-08-15 20:12   ` Mica Semrick
  0 siblings, 0 replies; 8+ messages in thread
From: Mica Semrick @ 2013-08-15 20:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1713 bytes --]

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.robert@gmail.com> wrote:

>
> On 15 aug. 2013, at 11:40, ntg-context-request@ntg.nl Mari Voipio <
> mari.voipio@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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2798 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Trouble with editors on Mac
       [not found] <mailman.447.1376559630.2117.ntg-context@ntg.nl>
@ 2013-08-15 11:11 ` Robert Blackstone
  2013-08-15 20:12   ` Mica Semrick
  0 siblings, 1 reply; 8+ messages in thread
From: Robert Blackstone @ 2013-08-15 11:11 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 779 bytes --]


On 15 aug. 2013, at 11:40, ntg-context-request@ntg.nl Mari Voipio <mari.voipio@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

[-- Attachment #1.2: Type: text/html, Size: 1320 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-08-19 17:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-14 19:34 Trouble with editors on Mac Mari Voipio
2013-08-16  7:24 ` Keith J. Schultz
2013-08-16  8:06 ` Hans Hagen
2013-08-16 11:10   ` Jannik Voges
2013-08-19 17:01     ` Mari Voipio
2013-08-19 17:29 ` Mari Voipio
     [not found] <mailman.447.1376559630.2117.ntg-context@ntg.nl>
2013-08-15 11:11 ` Robert Blackstone
2013-08-15 20:12   ` Mica Semrick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).