From: "Procházka Lukáš" <lpr@pontex.cz>
To: ConTeXt <ntg-context@ntg.nl>
Subject: Re: first-setup for windows
Date: Wed, 26 Jan 2011 21:47:56 +0100 [thread overview]
Message-ID: <op.vpxn16ek8lgizc@lk-2008-nbk> (raw)
In-Reply-To: <AANLkTimdDhja1bXoH4XL=Y_+emSpvfftUzwY=+xrAD=s@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1256 bytes --]
Hello Mojca,
On Wed, 26 Jan 2011 20:31:47 +0100, Mojca Miklavec <mojca.miklavec.lists@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
[-- Attachment #2: first-setup-alt.txt --]
[-- Type: text/plain, Size: 1076 bytes --]
@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
[-- Attachment #3: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-01-26 20:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-26 19:31 Mojca Miklavec
2011-01-26 20:47 ` Procházka Lukáš [this message]
2011-01-26 21:32 ` Mojca Miklavec
2011-01-28 7:43 ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-01-28 15:29 ` Mojca Miklavec
2011-01-28 15:57 ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-01-28 16:06 ` Mojca Miklavec
2011-01-28 17:54 ` Hans Hagen
2011-01-27 10:23 ` Hans Hagen
2011-01-27 12:27 ` Mojca Miklavec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=op.vpxn16ek8lgizc@lk-2008-nbk \
--to=lpr@pontex.cz \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).