Re: [NTG-context] error in first-setup.sh

2010-06-10 Thread Mojca Miklavec
On Wed, Jun 9, 2010 at 19:35, Hans Hagen pra...@wxs.nl wrote:
 On 9-6-2010 3:30, Mojca Miklavec wrote:

 I have also noticed the complaint about missing texmf-project. It
 should be harmless, but it may be better not to make it look like an
 error.

 how about adding texmf-project and texmf-fonts (maybe with a dummy readme in
 the root)

I could, but aren't there enough trees already? We could add a global
README saying that one may add those two trees if one wishes.

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] error in first-setup.sh

2010-06-10 Thread luigi scarso
On Thu, Jun 10, 2010 at 6:03 PM, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
 On Wed, Jun 9, 2010 at 19:35, Hans Hagen pra...@wxs.nl wrote:
 On 9-6-2010 3:30, Mojca Miklavec wrote:

 I have also noticed the complaint about missing texmf-project. It
 should be harmless, but it may be better not to make it look like an
 error.

 how about adding texmf-project and texmf-fonts (maybe with a dummy readme in
 the root)

 I could, but aren't there enough trees already? We could add a global
 README saying that one may add those two trees if one wishes.
I have found texmf-project really useful;
for fonts I simply create a font tds like
texmf-project/fonts/opentype/public/libertine

and it works well too;
otherwise I use that one under texmf, ie
texmf/fonts/opentype/public/poltawski



-- 
luigi
___
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] error in first-setup.sh

2010-06-10 Thread Hans Hagen

On 10-6-2010 6:15, luigi scarso wrote:

On Thu, Jun 10, 2010 at 6:03 PM, Mojca Miklavec
mojca.miklavec.li...@gmail.com  wrote:

On Wed, Jun 9, 2010 at 19:35, Hans Hagenpra...@wxs.nl  wrote:

On 9-6-2010 3:30, Mojca Miklavec wrote:


I have also noticed the complaint about missing texmf-project. It
should be harmless, but it may be better not to make it look like an
error.


how about adding texmf-project and texmf-fonts (maybe with a dummy readme in
the root)


I could, but aren't there enough trees already? We could add a global
README saying that one may add those two trees if one wishes.

I have found texmf-project really useful;
for fonts I simply create a font tds like
texmf-project/fonts/opentype/public/libertine

and it works well too;
otherwise I use that one under texmf, ie
texmf/fonts/opentype/public/poltawski


or just:

texmf-fonts/fonts/data/public/poltawski/*

-
  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] error in first-setup.sh

2010-06-10 Thread Hans Hagen

On 10-6-2010 6:03, Mojca Miklavec wrote:

On Wed, Jun 9, 2010 at 19:35, Hans Hagenpra...@wxs.nl  wrote:

On 9-6-2010 3:30, Mojca Miklavec wrote:


I have also noticed the complaint about missing texmf-project. It
should be harmless, but it may be better not to make it look like an
error.


how about adding texmf-project and texmf-fonts (maybe with a dummy readme in
the root)


I could, but aren't there enough trees already? We could add a global
README saying that one may add those two trees if one wishes.


well, they are supported in the cnf and i always use them -)

-
  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] error in first-setup.sh

2010-06-09 Thread Yury G. Kudryashov
Mojca Miklavec wrote:

 On Tue, Jun 8, 2010 at 16:50, Yury G. Kudryashov ur...@ya.ru wrote:
 Taco Hoekwater wrote:

 luigi scarso wrote:
 On my linux box32bit
 $bash first-setup.sh

 stops with
 Beta is a tad unstable at the moment, should be better in an hour or so.
 It seems that the real problem is in setup/linux-64/bin files which are
 rsync'ed by first-run.sh before running mtxrun. So, it is not even
 possible to install an old ConTeXt using minimals.
 
 It should be fixed soon (Hans already sent a patch that fixes it), but
 in the meantime you may comment out the line that syncs mtxrun and
 take an older mtxrun.lua - mtxrun from archive (for example from
 current).
 
 I'm a bit afraid that the new texmfcnf.lua that is needed will break
 the current though.
Yes, it breaks current. Could you please either fix it in beta, or post 
the patch to ML?

___
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] error in first-setup.sh

2010-06-09 Thread Mojca Miklavec
On Wed, Jun 9, 2010 at 11:01, Yury G. Kudryashov wrote:

 Could you please either fix it in beta, or post the patch to ML?

Does it now work again?

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] error in first-setup.sh

2010-06-09 Thread Michael Murphy

On 09/06/10 14:02, Mojca Miklavec wrote:

On Wed, Jun 9, 2010 at 11:01, Yury G. Kudryashov wrote:


Could you please either fix it in beta, or post the patch to ML?


Does it now work again?

Mojca


Works for me.

--
Michael Murphy
___
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] error in first-setup.sh

2010-06-09 Thread Taco Hoekwater

Mojca Miklavec wrote:

On Wed, Jun 9, 2010 at 11:01, Yury G. Kudryashov wrote:

Could you please either fix it in beta, or post the patch to ML?


Does it now work again?


At least it seems ok now in a fresh install. I just did one
of those, and there is only one thing that I noticed: I had to
run 'texexec --make en' by hand. I don't know if that is normal?

Everything else seems to work fine.

Best wishes,
Taco

___
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] error in first-setup.sh

2010-06-09 Thread luigi scarso
On Wed, Jun 9, 2010 at 2:24 PM, Taco Hoekwater t...@elvenkind.com wrote:
 At least it seems ok now in a fresh install. I just did one
 of those, and there is only one thing that I noticed: I had to
 run 'texexec --make en' by hand. I don't know if that is normal?

 Everything else seems to work fine.

Not here on my linux 32 bit box :

MTXrun | run: mktexlsr
sh: mktexlsr: not found

/opt/luatex/minimals-beta-2010/bin/mtxrun:9270: cannot open
tree:opt/luatex/minimals-beta-2010/tex/texmf-project/: No such
file or directory
but texmf-project exists


-- 
luigi
___
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] error in first-setup.sh

2010-06-09 Thread Andreas Schneider
luigi scarso wrote:

 On Wed, Jun 9, 2010 at 2:24 PM, Taco Hoekwater t...@elvenkind.com wrote:
 At least it seems ok now in a fresh install. I just did one
 of those, and there is only one thing that I noticed: I had to
 run 'texexec --make en' by hand. I don't know if that is normal?

 Everything else seems to work fine.
 
 Not here on my linux 32 bit box :
 
 MTXrun | run: mktexlsr
 sh: mktexlsr: not found
 
 /opt/luatex/minimals-beta-2010/bin/mtxrun:9270: cannot open
 tree:opt/luatex/minimals-beta-2010/tex/texmf-project/: No such
 file or directory
 but texmf-project exists
 
 

Same here, but it can be easily circumvented by sourcing setuptex first.
(in my case: source tex/setuptex  sh first-setup.sh)

But the stubs, or mtxrun, or whatever handles that usually indeed doesn't 
seem to set paths correctly anymore. On Windows I could have texworks just 
call context.exe and everything worked, now I have to make sure, 
setuptex.bat was executed first.

Best Regards,
Andreas.

___
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] error in first-setup.sh

2010-06-09 Thread Mojca Miklavec
 MTXrun | run: mktexlsr
 sh: mktexlsr: not found

 /opt/luatex/minimals-beta-2010/bin/mtxrun:9270: cannot open
 tree:opt/luatex/minimals-beta-2010/tex/texmf-project/: No such
 file or directory
 but texmf-project exists

Oh, right. I wanted to say that as well (but the most important thing
was to get the update work at all).

Hans, the platform isn't properly recognized any more:

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

TEXOS should return osx-64, not /Users/mojca/context.

In the long run I would really like to avoid that step (mtxrun
guessing the platform), but at this moment it will be the easiest to
get this fixed.

I have also noticed the complaint about missing texmf-project. It
should be harmless, but it may be better not to make it look like an
error.

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] error in first-setup.sh

2010-06-09 Thread Michael Murphy

On 09/06/10 15:15, Andreas Schneider wrote:

luigi scarso wrote:


On Wed, Jun 9, 2010 at 2:24 PM, Taco Hoekwatert...@elvenkind.com  wrote:

At least it seems ok now in a fresh install. I just did one
of those, and there is only one thing that I noticed: I had to
run 'texexec --make en' by hand. I don't know if that is normal?

Everything else seems to work fine.


Not here on my linux 32 bit box :

MTXrun | run: mktexlsr
sh: mktexlsr: not found

/opt/luatex/minimals-beta-2010/bin/mtxrun:9270: cannot open
tree:opt/luatex/minimals-beta-2010/tex/texmf-project/: No such
file or directory
but texmf-project exists




Same here, but it can be easily circumvented by sourcing setuptex first.
(in my case: source tex/setuptex  sh first-setup.sh)

But the stubs, or mtxrun, or whatever handles that usually indeed doesn't
seem to set paths correctly anymore. On Windows I could have texworks just
call context.exe and everything worked, now I have to make sure,
setuptex.bat was executed first.



Seems I spoke too soon: I can indeed get hold of the latest version, but 
if I want an older version (like --context=2010.06.24), I run into the 
same problem as luigi. And I do want an older version, since for some 
reason the kerning is a bit screwed up on current.


--
Michael Murphy
___
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] error in first-setup.sh

2010-06-09 Thread Bernhard Rosensteiner

 Seems I spoke too soon: I can indeed get hold of the latest version, but if I 
 want an older version (like --context=2010.06.24), I run into the same 
 problem as luigi. And I do want an older version, since for some reason the 
 kerning is a bit screwed up on current.

confirm that with kerning

best regards
Bernhard


___
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] error in first-setup.sh

2010-06-09 Thread Mojca Miklavec
On Wed, Jun 9, 2010 at 15:34, Michael Murphy wrote:
 On 09/06/10 15:15, Andreas Schneider wrote:

 Seems I spoke too soon: I can indeed get hold of the latest version, but if
 I want an older version (like --context=2010.06.24),

I would like that version too :) :) :) :)

 I run into the same
 problem as luigi. And I do want an older version, since for some reason the
 kerning is a bit screwed up on current.

There are basically two problems. Problem nr. 1 with an easy solution:
1.) syncing luatools has been disabled

if platform == 'mswin' then
bin = bin:gsub(([a-zA-Z]):/, /cygdrive/%1/)
texroot = texroot:gsub(([a-zA-Z]):/, /cygdrive/%1/)
command = string.format(%s -t
%s/texmf-context/scripts/context/lua/%s.lua %s/texmf-mswin/bin/, bin,
texroot, script, texroot)
else
command = string.format(%s -tgo --chmod=a+x
%s/texmf-context/scripts/context/lua/%s.lua %s/texmf-%s/bin/%s, bin,
texroot, script, texroot, platform, script)
end

Hans, can you please re-enable syncing of luatools, but in case of
non-windows taking
%s/texmf-context/scripts/context/stubs/unix/%s instead of
%s/texmf-context/scripts/context/lua/%s.lua
and in case of windows check if that *.lua exists; if yes, copy it,
else ignore it.

It would be nice to keep support for at least the latest ConTeXt
current, at least until the next current is out.

Michael, if you want to fix it manually, just copy the old version of
luatools.lua from scripts/context/stubs/unix.

The problem #2 is that despite my desire to have backward-compatible
cnf file, apparently luatools is not able to read in the new format. A
home-made solution: in texmf/web2c/texmfcnf.lua remove everything but
the last line that sets TEXMFCACHE.

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] error in first-setup.sh

2010-06-09 Thread Hans Hagen

On 9-6-2010 3:30, Mojca Miklavec wrote:


I have also noticed the complaint about missing texmf-project. It
should be harmless, but it may be better not to make it look like an
error.


how about adding texmf-project and texmf-fonts (maybe with a dummy 
readme in the root)


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
___


[NTG-context] error in first-setup.sh

2010-06-08 Thread luigi scarso
On my linux box32bit
$bash first-setup.sh

stops with
# bash first-setup.sh
receiving file list ... done

sent 37 bytes  received 132 bytes  112.67 bytes/sec
total size is 4450786  speedup is 26336.01
MTXrun | fileio: variable 'SELFAUTOLOC' set to
'/opt/luatex/minimals-beta-2010/bin'
MTXrun | fileio: variable 'SELFAUTODIR' set to '/opt/luatex/minimals-beta-2010'
MTXrun | fileio: variable 'SELFAUTOPARENT' set to '/opt/luatex'
MTXrun | fileio: variable 'TEXMFCNF' set to
'{$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}'
MTXrun | fileio: fatal error: no lua configuration files found


-- 
luigi
___
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] error in first-setup.sh

2010-06-08 Thread Taco Hoekwater

luigi scarso wrote:

On my linux box32bit
$bash first-setup.sh

stops with
# bash first-setup.sh
receiving file list ... done

sent 37 bytes  received 132 bytes  112.67 bytes/sec
total size is 4450786  speedup is 26336.01
MTXrun | fileio: variable 'SELFAUTOLOC' set to
'/opt/luatex/minimals-beta-2010/bin'
MTXrun | fileio: variable 'SELFAUTODIR' set to '/opt/luatex/minimals-beta-2010'
MTXrun | fileio: variable 'SELFAUTOPARENT' set to '/opt/luatex'
MTXrun | fileio: variable 'TEXMFCNF' set to
'{$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}'
MTXrun | fileio: fatal error: no lua configuration files found


Beta is a tad unstable at the moment, should be better in an hour or so.

Best wishes,
Taco
___
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] error in first-setup.sh

2010-06-08 Thread Yury G. Kudryashov
Taco Hoekwater wrote:

 luigi scarso wrote:
 On my linux box32bit
 $bash first-setup.sh
 
 stops with
 Beta is a tad unstable at the moment, should be better in an hour or so.
It seems that the real problem is in setup/linux-64/bin files which are 
rsync'ed by first-run.sh before running mtxrun. So, it is not even possible 
to install an old ConTeXt using minimals.

___
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] error in first-setup.sh

2010-06-08 Thread Mojca Miklavec
On Tue, Jun 8, 2010 at 16:50, Yury G. Kudryashov ur...@ya.ru wrote:
 Taco Hoekwater wrote:

 luigi scarso wrote:
 On my linux box32bit
 $bash first-setup.sh

 stops with
 Beta is a tad unstable at the moment, should be better in an hour or so.
 It seems that the real problem is in setup/linux-64/bin files which are
 rsync'ed by first-run.sh before running mtxrun. So, it is not even possible
 to install an old ConTeXt using minimals.

It should be fixed soon (Hans already sent a patch that fixes it), but
in the meantime you may comment out the line that syncs mtxrun and
take an older mtxrun.lua - mtxrun from archive (for example from
current).

I'm a bit afraid that the new texmfcnf.lua that is needed will break
the current though.

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
___