Re: [NTG-context] updates without rsync

2009-05-30 Thread Mojca Miklavec
On Fri, May 29, 2009 at 18:07, Diego Depaoli wrote:
 2009/5/29 Peter Münster pmli...@free.fr:
 If this is not possible, perhaps the firewall is open for http? Then
 someone else with a Windows PC could prepare for you an archive and put it
 on an http-server?
 Why not do it directly on minimals.contextgarden.net?

There are zips on http://minimals.contextgarden.net/pragma/, but one
still needs to fetch everything more or less manually (when there are
changes, one needs to fetch the whole zip).

Or what exactly would you like to see in that zip?

One thing that might be worth trying is to try to set a tunnel with
putty. From what I read I guess that it should work, but I have no
experience and no windows machine.

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


Re: [NTG-context] updates without rsync

2009-05-30 Thread Diego Depaoli
2009/5/30 Mojca Miklavec mojca.miklavec.li...@gmail.com:
 On Fri, May 29, 2009 at 18:07, Diego Depaoli wrote:
 2009/5/29 Peter Münster pmli...@free.fr:
 If this is not possible, perhaps the firewall is open for http? Then
 someone else with a Windows PC could prepare for you an archive and put it
 on an http-server?
 Why not do it directly on minimals.contextgarden.net?

 There are zips on http://minimals.contextgarden.net/pragma/, but one
 still needs to fetch everything more or less manually (when there are
 changes, one needs to fetch the whole zip).

 Or what exactly would you like to see in that zip?
Up to date binaries.
W32tex's zipped files are an example.

Regards
-- 
Diego Depaoli
___
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] updates without rsync

2009-05-29 Thread richard . stephens
 On Thu, May 28, 2009 at 10:23,  richard.steph...@converteam.com wrote:
 
  I am using ConTeXt on a company Windows PC behind two firewalls with no
  possibility of accessing or changing the firewalls. I've tried to
update
  using the minimals installation and rsync, but nothing gets through.
What
  is the recommended method of updating to the latest ConTeXt when rsync
is
  not an option?
 
  The last time I tried, I downloaded cont-tmf.zip from
  http://www.pragma-ade.com/download-1.htm  and unzipped the contents to
  overwrite everything in texmf-local. Is this still the best way?

I've got myself in a terrible mess now! I downloaded cont-tmf.zip and
unzipped the contents, then tried to follow Hans' instructions, i.e.:
mktexlsr
luatools --generate
luatools --selfupdate
mtxrun   --selfupdate
texexec --make (for mkii)
context --make (for mkiv)

Unfortunately, none of these commands runs without errors! SO, I decided to
reinstall from scratch. That's where my problems really started!

I searched around the Wiki and found lots of pages on installation, but
none of them seem quite right.
I looked at  http://www.pragma-ade.com/general/manuals/minstall.pdf  but it
looks old and does not seem to relate to the stuff I've downloaded.

From various places, I think I need to do the following, but some details
are missing:

1. Install Ruby
2. Install Perl
3. Download cont-tmf.zip and unzip contents to installdir
4. Set environment variables:
  OSFONTDIR = C:\WINDOWS\Fonts
  TEXMF = installdir\scripts\context\stubs\mswin
  TEXMFCACHE = C:\TEMP
  TEXMFCNF = installdir\web2c
  TEXMFOS = ??
  others 
5. From command window, run installation scripts:
  mktexlsr
  luatools --generate
  luatools --selfupdate
  mtxrun   --selfupdate
  texexec --make (for mkii)
  context --make (for mkiv)
6. To generate new pdf run:
  context --pdf  myfile.tex
7. Anything else I've missed 

Thanks to all,

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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] updates without rsync

2009-05-29 Thread Hans Hagen

richard.steph...@converteam.com wrote:


7. Anything else I've missed 


in the pragma website there are snapshots of the minimals (just zipped 
garden minimals); you can take one of those a starting point and unzip 
the latest (beta) versions of context in texmf-context


further proceed as described on the wiki


-
  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] updates without rsync

2009-05-29 Thread Peter Münster
On Thu, 28 May 2009, richard.steph...@converteam.com wrote:

 I am using ConTeXt on a company Windows PC behind two firewalls with no
 possibility of accessing or changing the firewalls. I've tried to update
 using the minimals installation and rsync, but nothing gets through. What
 is the recommended method of updating to the latest ConTeXt when rsync is
 not an option?

Perhaps this could be an easy option:
1.) install on PC with direct internet connection (no firewall problems)
2.) put the context directory on a usb-stick
3.) copy from usb-stick to PC behind firewall

If this is not possible, perhaps the firewall is open for http? Then
someone else with a Windows PC could prepare for you an archive and put it
on an http-server?

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___
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] updates without rsync

2009-05-29 Thread richard . stephens


Lutz Haseloff lutz.hasel...@googlemail.com wrote on 29/05/2009 11:04:55:

 Hi Richard,


 1. Install Ruby

 right


 2. Install Perl

 I think, Perl is not needed anymore.

 Download
http://www.pragma-ade.com/context/install/minimals-snapshot-mswin.zip

 I unzip it in c:\, you get c:\context\texmf-context and some more
directories


 3. Download cont-tmf.zip and unzip contents to installdir

 make c:\context\texmf-context empty and unzip cont-tmf.zip into it


 4. Set environment variables:
      OSFONTDIR = C:\WINDOWS\Fonts
      TEXMF = installdir\scripts\context\stubs\mswin
      TEXMFCACHE = C:\TEMP
      TEXMFCNF = installdir\web2c
      TEXMFOS = ??
      others 

 no, go to c:\context an run setuptex.bat

 I have an icon on my desktop with:
 C:\WINDOWS\system32\cmd.exe /K cd c:\context  .\setuptex.bat


 5. From command window, run installation scripts:
      mktexlsr
      luatools --generate
      luatools --selfupdate
      mtxrun   --selfupdate
      texexec --make (for mkii)
      context --make (for mkiv)

 open a terminal window
 c: enter
 cd context enter
 setuptex enter

 the above commands should now work without errors


 6. To generate new pdf run:
      context --pdf  myfile.tex

 You have to run setuptex.bat in c:\context before you can compile
texfiles

 I automated this for the terminal and for the Scite Editor.


 7. Anything else I've missed 

 That should do it

 For updating luatex, download ftp://akagi.ms.u-tokyo.ac.
 jp/pub/TeX/win32/luatex-dev-w32.tar.bz2
 and unzip the files in bin into c:\context\texmf-mswin\bin.
 After that run context --make


 You're welcome

 Greetings Lutz

Thank-you very much for the above. Still a few problems though!

I have installed it to C:\tools\context. Everything goes well until
'mktexlsr' which returns:
 Cannot open C:/tools/context/texmf-project/ls-R to write.
 Cannot open C:/tools/context/texmf-fonts/ls-R to write.
 Cannot open C:/tools/context/texmf-extra/ls-R to write.
because the folders do not exist. So I've created empty folders just in
case and no more warnings!

Then all goes well until 'context --pdf myfile.tex' which returns:
 luatex.exe:
c:/tools/context/texmf-cache/tuatex-cache/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en.fmt:
 No such file or directory
 MtxRun | fatal error, code 1

and 'texexec --pdf myfile.tex' returns:
 c:\tools\context\texmf-mswin\bin\mtxrun.lua:8603: attempt to concatenate a
nil value

Any ideas?

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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] updates without rsync

2009-05-29 Thread Peter Rolf

richard.steph...@converteam.com schrieb:

Lutz Haseloff lutz.hasel...@googlemail.com wrote on 29/05/2009 11:04:55:

  

Hi Richard,



  

1. Install Ruby

right


2. Install Perl

I think, Perl is not needed anymore.

Download


http://www.pragma-ade.com/context/install/minimals-snapshot-mswin.zip
  

I unzip it in c:\, you get c:\context\texmf-context and some more


directories
  

3. Download cont-tmf.zip and unzip contents to installdir

make c:\context\texmf-context empty and unzip cont-tmf.zip into it


4. Set environment variables:
 OSFONTDIR = C:\WINDOWS\Fonts
 TEXMF = installdir\scripts\context\stubs\mswin
 TEXMFCACHE = C:\TEMP
 TEXMFCNF = installdir\web2c
 TEXMFOS = ??
 others 

no, go to c:\context an run setuptex.bat

I have an icon on my desktop with:
C:\WINDOWS\system32\cmd.exe /K cd c:\context  .\setuptex.bat


5. From command window, run installation scripts:
 mktexlsr
 luatools --generate
 luatools --selfupdate
 mtxrun   --selfupdate
 texexec --make (for mkii)
 context --make (for mkiv)

open a terminal window
c: enter
cd context enter
setuptex enter

the above commands should now work without errors



  

6. To generate new pdf run:
 context --pdf  myfile.tex

You have to run setuptex.bat in c:\context before you can compile


texfiles
  

I automated this for the terminal and for the Scite Editor.


7. Anything else I've missed 



  

That should do it

For updating luatex, download ftp://akagi.ms.u-tokyo.ac.
jp/pub/TeX/win32/luatex-dev-w32.tar.bz2
and unzip the files in bin into c:\context\texmf-mswin\bin.
After that run context --make


You're welcome

Greetings Lutz



Thank-you very much for the above. Still a few problems though!

I have installed it to C:\tools\context. Everything goes well until
'mktexlsr' which returns:
 Cannot open C:/tools/context/texmf-project/ls-R to write.
 Cannot open C:/tools/context/texmf-fonts/ls-R to write.
 Cannot open C:/tools/context/texmf-extra/ls-R to write.
because the folders do not exist. So I've created empty folders just in
case and no more warnings!

Then all goes well until 'context --pdf myfile.tex' which returns:
 luatex.exe:
c:/tools/context/texmf-cache/tuatex-cache/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en.fmt:
  

tuatex-cache ?

copypaste error or a typo in your environment variable?

btw: the option --pdf is no longer needed, as pdf is the default output 
format


Best wishes, Peter


 No such file or directory
 MtxRun | fatal error, code 1

and 'texexec --pdf myfile.tex' returns:
 c:\tools\context\texmf-mswin\bin\mtxrun.lua:8603: attempt to concatenate a
nil value

Any ideas?

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___

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] updates without rsync

2009-05-29 Thread Diego Depaoli
2009/5/29 Peter Münster pmli...@free.fr:
 If this is not possible, perhaps the firewall is open for http? Then
 someone else with a Windows PC could prepare for you an archive and put it
 on an http-server?
Why not do it directly on minimals.contextgarden.net?

[OT - for binaries maintainer] Even sources should be packaged in a zip file.
After recent Mojca's changes I rsynced for a while

Cheers
-- 
Diego Depaoli
___
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] updates without rsync

2009-05-28 Thread Hans Hagen

richard.steph...@converteam.com wrote:

Gentlemen and Ladies,

I am using ConTeXt on a company Windows PC behind two firewalls with no
possibility of accessing or changing the firewalls. I've tried to update
using the minimals installation and rsync, but nothing gets through. What
is the recommended method of updating to the latest ConTeXt when rsync is
not an option?

The last time I tried, I downloaded cont-tmf.zip from
http://www.pragma-ade.com/download-1.htm  and unzipped the contents to
overwrite everything in texmf-local. Is this still the best way?


should work ok

- unzip in relevant tree
- mktexlsr
- luatools --generate
- luatools --selfupdate
- mtxrun   --selfupdate
- texexec --make (for mkii)
- context --make (for mkiv)

-
  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] updates without rsync

2009-05-28 Thread Mojca Miklavec
On Thu, May 28, 2009 at 10:23,  richard.steph...@converteam.com wrote:

 Gentlemen and Ladies,

 I am using ConTeXt on a company Windows PC behind two firewalls with no
 possibility of accessing or changing the firewalls. I've tried to update
 using the minimals installation and rsync, but nothing gets through. What
 is the recommended method of updating to the latest ConTeXt when rsync is
 not an option?

 The last time I tried, I downloaded cont-tmf.zip from
 http://www.pragma-ade.com/download-1.htm  and unzipped the contents to
 overwrite everything in texmf-local. Is this still the best way?

If you use mkiv, you might need to update binaries as well.

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


Re: [NTG-context] updates without rsync

2009-05-28 Thread Mojca Miklavec
On Thu, May 28, 2009 at 10:23,  richard.steph...@converteam.com wrote:

 Gentlemen and Ladies,

 I am using ConTeXt on a company Windows PC behind two firewalls with no
 possibility of accessing or changing the firewalls. I've tried to update
 using the minimals installation and rsync, but nothing gets through. What
 is the recommended method of updating to the latest ConTeXt when rsync is
 not an option?

 The last time I tried, I downloaded cont-tmf.zip from
 http://www.pragma-ade.com/download-1.htm  and unzipped the contents to
 overwrite everything in texmf-local. Is this still the best way?

I have no time to explore myself for the next few months, but if
anyone comes up with a solution, I can fix it (if anything should be
fixed on server, but maybe fixing locally could be enough). There are
some online tutorials about how to circumvent firewall problems using
ssh tunelling.

http://forums.exabytes.com/linux-control-panel-cpanel/102-using-rsync-through-firewall.html
http://samba.anu.edu.au/rsync/firewall.html

On the other hand, the installer could detect a problem of firewall
or network connection problem and return some nicer error report
instead of trying to run rsync even after the first attempt has faild.

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


Re: [NTG-context] updates without rsync

2009-05-28 Thread Alan BRASLAU
On Thursday 28 May 2009 21:36:38 Mojca Miklavec wrote:
 There are
 some online tutorials about how to circumvent firewall problems using
 ssh tunelling.

 http://forums.exabytes.com/linux-control-panel-cpanel/102-using-rsync-throu
gh-firewall.html http://samba.anu.edu.au/rsync/firewall.html


I regularly use ssh tunnels to circumvent firewall problems.
Basically, it requires a few simple and readily available tools (ssh, nc).
For example (under linux), it can be as simple as setting up the file
$HOME/.ssh/config

Host contextgarden.net
ProxyCommand nohup ssh firewall_host_name nc -w1 %h %p

Then,
rsync -e ssh -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
just works...
(This scheme requires nc [netcat] be available on the firewall)

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