From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65544 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5?= Newsgroups: gmane.comp.tex.context Subject: Re: first-setup for windows Date: Wed, 26 Jan 2011 21:47:56 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=----------alrj6YQUlEK3WdnVpIQSQg X-Trace: dough.gmane.org 1296074909 19915 80.91.229.12 (26 Jan 2011 20:48:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 26 Jan 2011 20:48:29 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 26 21:48:24 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PiCHv-0001FI-O9 for gctc-ntg-context-518@m.gmane.org; Wed, 26 Jan 2011 21:48:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C2DD0CAA4C; Wed, 26 Jan 2011 21:48:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fUKx5FWJ6PIy; Wed, 26 Jan 2011 21:48:19 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ABF2CCAA39; Wed, 26 Jan 2011 21:48:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E078ACAA39 for ; Wed, 26 Jan 2011 21:48:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kPCqvF6eMThn for ; Wed, 26 Jan 2011 21:48:15 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id C6D2ACAA24 for ; Wed, 26 Jan 2011 21:48:15 +0100 (CET) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0QKmEVq013558 for ; Wed, 26 Jan 2011 21:48:15 +0100 Original-Received: from lk-2008-nbk ([88.100.123.157]) (authenticated user lpr@pontex.cz) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Wed, 26 Jan 2011 21:48:10 +0100 In-Reply-To: User-Agent: Opera Mail/11.00 (Win32) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; region=52; city=Prague; latitude=50.0833; longitude=14.4667; http://maps.google.com/maps?q=50.0833,14.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BE0kMeiM - 6b89fe2e3ec7 - 20110126 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:65544 Archived-At: ------------alrj6YQUlEK3WdnVpIQSQg Content-Type: text/plain; charset=iso-8859-2; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hello Mojca, On Wed, 26 Jan 2011 20:31:47 +0100, Mojca Miklavec 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 ------------alrj6YQUlEK3WdnVpIQSQg Content-Disposition: attachment; filename=first-setup-alt.txt Content-Type: text/plain; name="first-setup-alt.txt" Content-Transfer-Encoding: 7bit @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 ------------alrj6YQUlEK3WdnVpIQSQg Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ------------alrj6YQUlEK3WdnVpIQSQg--