Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-24 Thread Hans Hagen

David Arnold wrote:

Hans,

My impression from reading installation directions for minimals is that 
when you open a shell, and if you have your .bash_profile configured, 
that setuptex will be sourced. That must set some sort of path while the 
current shell is active? Will that interfere with needing to suddenly 
latex a file?


D.

On Sep 23, 2009, at 2:04 PM, Hans Hagen wrote:


David Arnold wrote:

Hans,
No. I have Mactex texlive 2008 installed and I used the rsync 
directions on:

http://wiki.contextgarden.net/Running_Mark_IV
The result is I no longer have a functioning context installation.
I will try installing the minimals, but I'd really like to get my 
Mactex installation correct and the directions on the above page 
correct.


you should install the minimals alongside (not combined) with mactex; 
the operate isolated and can be updated independently and used without 
interference (issue the setuptex script to switch to the minimals tree)


yes, as latex is not in the minimals. however, normally you will then 
just use a separate shell


if you're running from an editor, and using mkiv, you can just run the 
context script (use the full path to it) and it will operate in the tree 
that it sits in


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread Oliver Buerschaper
My impression from reading installation directions for minimals is  
that when you open a shell, and if you have your .bash_profile  
configured, that setuptex will be sourced. That must set some sort  
of path while the current shell is active? Will that interfere with  
needing to suddenly latex a file?


AFAIK not if you issue latex from a different shell where setuptex  
hasn't been sourced.


As for your broken MacTeX installation, did you customize it in any  
way before you updated ConTeXt via rsync? If not then the easiest road  
back to a working MacTeX setup might be reinstalling the MacTeX  
package from scratch and then placing the Minimals alongside ...


Best wishes,
Oliver
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread David Arnold

Hans,

My impression from reading installation directions for minimals is  
that when you open a shell, and if you have your .bash_profile  
configured, that setuptex will be sourced. That must set some sort of  
path while the current shell is active? Will that interfere with  
needing to suddenly latex a file?


D.

On Sep 23, 2009, at 2:04 PM, Hans Hagen wrote:


David Arnold wrote:

Hans,
No. I have Mactex texlive 2008 installed and I used the rsync  
directions on:

http://wiki.contextgarden.net/Running_Mark_IV
The result is I no longer have a functioning context installation.
I will try installing the minimals, but I'd really like to get my  
Mactex installation correct and the directions on the above page  
correct.


you should install the minimals alongside (not combined) with  
mactex; the operate isolated and can be updated independently and  
used without interference (issue the setuptex script to switch to  
the minimals tree)


Hans




-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread Hans Hagen

David Arnold wrote:

Hans,

No. I have Mactex texlive 2008 installed and I used the rsync directions 
on:


http://wiki.contextgarden.net/Running_Mark_IV

The result is I no longer have a functioning context installation.

I will try installing the minimals, but I'd really like to get my Mactex 
installation correct and the directions on the above page correct.


you should install the minimals alongside (not combined) with mactex; 
the operate isolated and can be updated independently and used without 
interference (issue the setuptex script to switch to the minimals tree)


Hans




-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread David Arnold

Hans,

No. I have Mactex texlive 2008 installed and I used the rsync  
directions on:


http://wiki.contextgarden.net/Running_Mark_IV

The result is I no longer have a functioning context installation.

I will try installing the minimals, but I'd really like to get my  
Mactex installation correct and the directions on the above page  
correct.


D.

On Sep 23, 2009, at 1:16 PM, Hans Hagen wrote:


David Arnold wrote:

All,
After trying below, my context is now broken.
david-arnolds-macbook-pro:en darnold$ texexec --help
-bash: /usr/texbin/texexec: Permission denied
I need help.


did you install the minimals using first-setup.sh ?

it should set the permissions right

Hans


-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread Hans Hagen

David Arnold wrote:

All,

After trying below, my context is now broken.

david-arnolds-macbook-pro:en darnold$ texexec --help
-bash: /usr/texbin/texexec: Permission denied

I need help.


did you install the minimals using first-setup.sh ?

it should set the permissions right

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread David Arnold

Aditya,

Thanks. You are always so helpful.

But I would really prefer to fix this and correct installation  
directions on pages like:


http://wiki.contextgarden.net/Running_Mark_IV

I think I have maybe an owner and permissions problem as a result of  
these rsync commands:


david-arnolds-macbook-pro:context darnold$ ls -l
total 0
drwxr-xr-x  33 33  33  1122 Aug 19 08:13 lua
drwxr-xr-x  15 33  33   510 Aug 19 08:12 perl
drwxr-xr-x  35 33  33  1190 Aug 19 08:13 ruby
drwxr-xr-x   5 33  33   170 Aug 19 08:12 stubs

15? 33? 5?

david-arnolds-macbook-pro:context darnold$ cd lua
david-arnolds-macbook-pro:lua darnold$ ls -l
total 1784
-rwxr-xr-x  1 3333 222585 Aug 14 01:50 luatools.lua
-rw-r--r--  1 3333140 Apr 18  2008 luatools.rme
-rw-r--r--  1 3333  10520 Jun  2 09:31 mtx-babel.lua
-rw-r--r--  1 3333   3124 Apr  3 04:27 mtx-cache.lua
-rw-r--r--  1 3333  11524 May 13 04:47 mtx-chars.lua
-rw-r--r--  1 3333   5402 Apr  3 04:39 mtx-check.lua
-rw-r--r--  1 3333  55776 Jul 16 14:16 mtx-context.lua
-rw-r--r--  1 3333   4681 Jun 14 04:33 mtx-convert.lua
-rw-r--r--  1 3333   6010 Aug  7 08:13 mtx-fonts.lua
-rw-r--r--  1 3333   3790 Jul 12 08:11 mtx-grep.lua
-rw-r--r--  1 3333  11746 Apr 11 14:47 mtx-interface.lua
-rw-r--r--  1 3333   2241 Apr 19 23:46 mtx-metatex.lua
-rw-r--r--  1 3333   4535 Apr  3 04:43 mtx-mptopdf.lua
-rw-r--r--  1 3333   2825 May 16 10:19 mtx-package.lua
-rw-r--r--  1 3333  14637 Apr 11 14:48 mtx-patterns.lua
-rw-r--r--  1 3333   6168 Apr  3 04:42 mtx-profile.lua
-rw-r--r--  1 3333  24868 Aug  6 13:20 mtx-server-ctx- 
fonttest.lua

-rw-r--r--  1 3333  22332 May  6 05:03 mtx-server-ctx-help.lua
-rw-r--r--  1 3333   1874 May  7 10:12 mtx-server-ctx- 
startup.lua

-rw-r--r--  1 3333  12872 May 28 07:35 mtx-server.lua
-rw-r--r--  1 3333   2913 Jun 24 10:08 mtx-texworks.lua
-rw-r--r--  1 3333   7235 May  2 12:38 mtx-timing.lua
-rw-r--r--  1 3333   1751 Jul  2 07:21 mtx-tools.lua
-rw-r--r--  1 3333   3067 Apr  3 04:26 mtx-unzip.lua
-rw-r--r--  1 3333  20868 Jun 14 12:31 mtx-update.lua
-rw-r--r--  1 3333  11510 Apr  3 04:41 mtx-watch.lua
-rw-r--r--  1 3333 335022 Aug 14 01:50 mtxrun.lua
-rw-r--r--  1 3333132 Apr 18  2008 mtxrun.rme
-rw-r--r--  1 3333  25310 Jan 17  2008 scite-ctx.lua
drwxr-xr-x  3 root  wheel 102 Jun  1 11:33 third
-rw-r--r--  1 3333  12563 Apr 15 00:39 x-ldx.lua

And should all of the above scripts be executable? And how about these?

david-arnolds-macbook-pro:lua darnold$ cd ../perl
david-arnolds-macbook-pro:perl darnold$ ls -l
total 768
-rw-rw-r--  1 root  wheel2049 Jan  8  2006 cont_mis.pm
-rw-rw-r--  1 root  wheel   23869 Jan  8  2006 cont_set.pm
-rw-r--r--  1 3333  10679 Mar 25  2008 makempy.pl
-rw-r--r--  1 3333   4009 Apr 13  2007 mptopdf.pl
-rw-r--r--  1 3333851 Jun 16  2000 path_tre.pm
-rw-r--r--  1 3333  15006 Dec  8  2006 pdftrimwhite.pl
-rw-r--r--  1 root  wheel  109461 Nov 15  2006 texexec.pl
-rw-r--r--  1 root  wheel6098 Nov 15  2006 texexec.rme
-rw-r--r--  1 3333   9589 May 27  2002 texfind.pl
-rw-r--r--  1 3333  48852 Dec 13  2006 texfont.pl
-rw-r--r--  1 3333  29209 Aug  4  2006 texshow.pl
-rw-r--r--  1 root  wheel  109414 Nov 15  2006 texutil.pl
-rw-rw-r--  1 root  wheel 566 Jan  8  2006 utiplug.pm

Do they need to be executable?






On Sep 23, 2009, at 9:46 AM, Aditya Mahajan wrote:


On Wed, 23 Sep 2009, David Arnold wrote:


All,

After trying below, my context is now broken.

david-arnolds-macbook-pro:en darnold$ texexec --help
-bash: /usr/texbin/texexec: Permission denied

I need help.


You can try to install context minimals. They will not interfere  
with your mactex installation.


For installation instructions see
http://wiki.contextgarden.net/ConTeXt_Minimals

and to configure mac specific editors

http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation

Aditya
___
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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://cont

Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread Aditya Mahajan

On Wed, 23 Sep 2009, David Arnold wrote:


All,

After trying below, my context is now broken.

david-arnolds-macbook-pro:en darnold$ texexec --help
-bash: /usr/texbin/texexec: Permission denied

I need help.


You can try to install context minimals. They will not interfere with your 
mactex installation.


For installation instructions see
http://wiki.contextgarden.net/ConTeXt_Minimals

and to configure mac specific editors

http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation

Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread David Arnold

All,

After trying below, my context is now broken.

david-arnolds-macbook-pro:en darnold$ texexec --help
-bash: /usr/texbin/texexec: Permission denied

I need help.

D.

On Sep 22, 2009, at 9:58 PM, David Arnold wrote:


All,

I am using Mactex Texlive 2008 on a Macbook pro.

I did this:

sudo ctxtools --updatecontext

After reading http://wiki.contextgarden.net/Running_Mark_IV, I tried:

sudo rsync -av rsync://contextgarden.net/minimals/current/context/ 
current/ /usr/local/texlive/2008/texmf-dist/
sudo rsync -av rsync://contextgarden.net/minimals/current/bin/luatex/ 
osx-universal/bin/luatex /usr/local/texlive/2008/bin/

Then I try:
david-arnolds-macbook-pro:~ darnold$ sudo luatools --generate
And I get:
sudo: luatools: command not found
Then I tried:
david-arnolds-macbook-pro:~ darnold$ luatools --generate
The result was:
-bash: /usr/texbin/luatools: Permission denied
Trying the context command yields the same result:
david-arnolds-macbook-pro:~ darnold$ context --make
Result:
-bash: /usr/texbin/context: Permission denied
So, there is some sort of permissions problem.

We looked at this:

david-arnolds-macbook-pro:texbin darnold$ cd /usr/texbin
david-arnolds-macbook-pro:texbin darnold$ ls -l lua*
lrwxr-xr-x  1 root  wheel6 May 13 17:46 lualatex -> luatex
-rwxr-xr-x  1 root  wheel  8009384 Aug 13  2008 luatex
lrwxr-xr-x  1 root  wheel   49 May 13 17:46 luatools -> ../../ 
texmf-dist/scripts/context/lua/luatools.lua


And tried:

david-arnolds-macbook-pro:texbin darnold$ ls -l ../../texmf-dist/ 
scripts/context/lua/luatools.lua
-rw-r--r--  1 33  33  222585 Aug 14 01:50 ../../texmf-dist/scripts/ 
context/lua/luatools.lua


And see that this file is not executable, so we try:

david-arnolds-macbook-pro:texbin darnold$ sudo chmod +x ../../texmf- 
dist/scripts/context/lua/luatools.lua


Now the following works.

david-arnolds-macbook-pro:texbin darnold$ luatools --generate

But this piecemeal approach to making things executable might go on  
and on. Can someone give a more universal cure? Is there an entire  
directory of scripts that need to be executable?


Thanks.

David

___
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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] MKIV on Mactex Texlive 2008

2009-09-22 Thread David Arnold

All,

I am using Mactex Texlive 2008 on a Macbook pro.

I did this:

sudo ctxtools --updatecontext

After reading http://wiki.contextgarden.net/Running_Mark_IV, I tried:

sudo rsync -av rsync://contextgarden.net/minimals/current/context/ 
current/ /usr/local/texlive/2008/texmf-dist/
sudo rsync -av rsync://contextgarden.net/minimals/current/bin/luatex/ 
osx-universal/bin/luatex /usr/local/texlive/2008/bin/

Then I try:
david-arnolds-macbook-pro:~ darnold$ sudo luatools --generate
And I get:
sudo: luatools: command not found
Then I tried:
david-arnolds-macbook-pro:~ darnold$ luatools --generate
The result was:
-bash: /usr/texbin/luatools: Permission denied
Trying the context command yields the same result:
david-arnolds-macbook-pro:~ darnold$ context --make
Result:
-bash: /usr/texbin/context: Permission denied
So, there is some sort of permissions problem.

We looked at this:

david-arnolds-macbook-pro:texbin darnold$ cd /usr/texbin
david-arnolds-macbook-pro:texbin darnold$ ls -l lua*
lrwxr-xr-x  1 root  wheel6 May 13 17:46 lualatex -> luatex
-rwxr-xr-x  1 root  wheel  8009384 Aug 13  2008 luatex
lrwxr-xr-x  1 root  wheel   49 May 13 17:46 luatools -> ../../ 
texmf-dist/scripts/context/lua/luatools.lua


And tried:

david-arnolds-macbook-pro:texbin darnold$ ls -l ../../texmf-dist/ 
scripts/context/lua/luatools.lua
-rw-r--r--  1 33  33  222585 Aug 14 01:50 ../../texmf-dist/scripts/ 
context/lua/luatools.lua


And see that this file is not executable, so we try:

david-arnolds-macbook-pro:texbin darnold$ sudo chmod +x ../../texmf- 
dist/scripts/context/lua/luatools.lua


Now the following works.

david-arnolds-macbook-pro:texbin darnold$ luatools --generate

But this piecemeal approach to making things executable might go on  
and on. Can someone give a more universal cure? Is there an entire  
directory of scripts that need to be executable?


Thanks.

David

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___