Hello Mojca,
On Wed, 26 Jan 2011 20:31:47 +0100, Mojca Miklavec
<mojca.miklavec.li...@gmail.com> wrote:
I would like to ask windows users to test the attached setup file if
it works any better (and to make sure that I didn't do any mistakes
while typing).
I have put the updated version of first-setup.sh on the server
already, but for Windows I simply don't dare to do it until somebody
confirms that it seems to be ok. In both cases it would be great to
get feedback if the problems with missing files are solved.
Mojca
I launched your modified first-setup.bat - it seems the latest Ctx version was
updated successfully.
I also tried to compile some sample files - no problem.
OS: WinXP Home Edition, SP3.
BTW: It normally happens to me that I have to run 'mtxrun --generate' after I
updated Ctx.
Not today (? - I don't know why); but normally I'm using a slightly modified
'first-setup.bat' calling mtxrun automatically.
So if you thought this would be useful (actually it may depend on whether an
explicit 'mtxrun --generate' after update is necessary what I don't know -
always reality shows me), it might be good to add the call to the end of
first-setup.bat (see the attached first-setup-alt.bat).
Best regards,
Lukas
@echo off
setlocal
echo okay > ok.log
ruby -e "File.delete('ok.log')"
if not exist "ok.log" goto okay
echo.
echo You need to install Ruby first (if you want to use pdfTeX or XeTeX).
echo Fetching files anyway.
echo.
:okay
set OWNPATH=%~dp0
set CONTEXTROOT=%OWNPATH%tex
set PATH=%OWNPATH%bin;%CONTEXTPATH%\texmf-mswin\bin;%PATH%
set CYGWIN=nontsec
rsync -av --exclude 'rsync.exe' --exclude 'cygwin1.dll' --exclude
'cygiconv-2.dll' rsync://contextgarden.net/minimals/setup/mswin/bin/ bin
mtxrun --script ./bin/mtx-update.lua --force --update --make --engine=all
--context=beta --texroot=%CONTEXTROOT% %*
echo.
echo When you want to use context, you need to initialize the tree with:
echo.
echo %CONTEXTROOT%\setuptex.bat %CONTEXTROOT%
echo.
echo You can associate this command with a shortcut to the cmd prompt.
echo.
if not exist "ok.log" goto end
echo.
echo If you want to use pdfTeX or XeTeX you need to install Ruby first.
echo Remake formats or rerun this script afterwards.
echo.
del /q ok.log
:end
endlocal
call tex/setuptex.bat
mtxrun.exe --generate
___________________________________________________________________________________
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
___________________________________________________________________________________