Re: [NTG-context] updating context don´t work anymore on mac os x snow leopard

2010-06-06 Thread Mojca Miklavec
On Sat, Jun 5, 2010 at 14:59, Bernhard Rosensteiner wrote:

 ok, now i get an error: MTXrun | there is something wrong with your system 
 (see attachment)

Weird. I also get:

MTXrun | fileio: variable 'SELFAUTOLOC' set to '/Users/mojca/context/bin'
MTXrun | fileio: variable 'SELFAUTODIR' set to '/Users/mojca/context'
MTXrun | fileio: variable 'SELFAUTOPARENT' set to '/Users/mojca'
MTXrun | fileio: variable 'TEXMFCNF' set to
'{$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}'
MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known)
MTXrun | forcing cache reload
MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known)
MTXrun | there is something wrong with your system
MTXrun | using script: ./bin/mtx-update.lua

and there are some other problems. Indeed I get:

MTXrun | run: mktexlsr
sh: mktexlsr: command not found
MTXrun | run: luatools --generate
sh: luatools: command not found
MTXrun | update: done
MTXrun | state: saved

once I remove TeX Live from PATH.

Something seems to be fatally broken. In particular - Hans, I don't
think that the following variable is properly set:
MTXrun | preset : TEXMFOS = /Users/mojca/context/tex//Users/mojca/context

It used to be:

MTXrun | preset : TEXPATH = /Users/mojca/context/tex
MTXrun | preset : TEXOS   = texmf-osx-64
MTXrun | preset : TEXMFOS = /Users/mojca/context/tex/texmf-osx-64

Now it is:

MTXrun | preset : TEXPATH = /Users/mojca/context/tex
MTXrun | preset : TEXOS   = /Users/mojca/context
MTXrun | preset : TEXMFOS = /Users/mojca/context/tex//Users/mojca/context

Mojca
___
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] updating context don´t work anymore on mac os x snow leopard

2010-06-06 Thread Mojca Miklavec
On top of all that I also get (using an old mtx-update):

TeXExec | using mp engine mpost
TeXExec | using mps format path /Users/mojca/context/test/tex/texmf-osx-64/web2c
TeXExec | generating mps format metafun
This is MetaPost, version 1.211 (kpathsea version 6.0.0dev) (INIMP)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/metafun.mp
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-base.mp
Preloading the plain mem file, version 0.63)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-tool.mp)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-spec.mp)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-core.mp)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-page.mp)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-text.mp)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-txts.mp)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-shap.mp)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-butt.mp)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-char.mp)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-step.mp)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-grph.mp)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-figs.mp)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-mlib.mp)
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-grid.mp
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-form.mp
! I can't find file `string'.
l.81 input string

Please type another input file name:

even though (when I go to a new terminal and set the path properly):

 kpsewhich string.mp
/Users/mojca/context/test/tex/texmf/metapost/base/string.mp


This is followed by

loading : ConTeXt Backend Macros / PDF
)
! I can't find file `lpdf-pdx.mkiv'.
to be read again
   \relax
l.90 \loadmarkfile{lpdf-pdx}
 % might be merged into lpdf-ini

But this might only be a side-effect of something else (file exists).

It might be a bit difficult to reproduce - I'm using a slightly older
mtx-update.lua (but I can send it if anyone is interested).

Mojca
___
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] updating context don´t work anymore on mac os x snow leopard

2010-06-04 Thread Marco
On Sat, 5 Jun 2010 01:06:33 +0200, Bernhard Rosensteiner
brosenstei...@gmail.com wrote:

 Hi all,
 
 today i tried to update context and also updated first-setup.sh and
 now i get in terminal:
 
 Bernhards-MacBook-Pro:ConTeXt Bernhard$ rsync -av
 rsync://contextgarden.net/minimals/setup/first-setup.sh . receiving
 file list ... done
 
 sent 37 bytes  received 91 bytes  256.00 bytes/sec
 total size is 3573  speedup is 27.91
 Bernhards-MacBook-Pro:ConTeXt
 Bernhard$ . /Applications/ConTeXt/first-setup.sh receiving file
 list ... done
 
 sent 37 bytes  received 132 bytes  112.67 bytes/sec
 total size is 5363753  speedup is 31738.18
 /Applications/ConTeXt/bin/mtxrun:1932: bad argument #1 to
 'osgetenv' (string expected, got boolean)
Error confirmed on linux32.

Marco


___
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] updating context don´t work anymore on mac os x snow leopard

2010-06-04 Thread Mojca Miklavec
Dear Bernhard  others,

Thanks a lot for reporting the problem.

Please wait for a fix from Hans or (in case that you need to update
for some reason) first disable updating stuff in bin (comment out a
line in first-setup) and then copy the old mtxrun from
tex/texmf-yourplatform/bin to bin/.

If I start fixing/messing up with the system now (at this time of the
day), I'll screw up something else for sure.

Mojca
___
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
___