I suggest to name releases differently: currently the most recent release is named cont-tfm.zip. Since I plan to make a NetBSD package for ConTeXt, I would very much like to have some release information in the name of the .zip-file: the release date or some other release numbers would be fine. This would also make it much more convenient to automatically check whether an installed version is the most recent version. Marko
Marko Schütz
I suggest to name releases differently: currently the most recent release is named cont-tfm.zip. Since I plan to make a NetBSD package for ConTeXt, I would very much like to have some release information in the name of the .zip-file: the release date or some other release numbers would be fine. This would also make it much more convenient to automatically check whether an installed version is the most recent version.
And while you are at it, could you please make a Debian package? When I try to install ConTeXt I can get most of the functionality to work but there is always something that doesn't work, like the integration of MetaFun. Regards, -- Emil Hedevang Lohse http://home.imf.au.dk/emil/ Alle spørgsmål er lige dumme. Og spørgsmålet "Kan ænder flyve?" er ikke dumt.
Marko Schütz
release is named cont-tfm.zip. Since I plan to make a NetBSD package for ConTeXt, I would very much like to have some release information in the name of the .zip-file:
apart from this: I think that it is advisable to keep older ConTeXt versions around, so you can easily switch between them. I usually install them in /opt/context/<versionnumber> with the follwoing shell-skript (linux). It needs a working tex environment (generating the format) and the cont-tfm.zip in the current dir. It takes only a few seconds to install the new ConTeXt version and I never forget anything. See "requirements" below. On your system you might have to change it a little bit. ================================================== #!/bin/sh # pg@levana.de (Patrick Gundlach), 3.1.03 # installes ConTeXt to /opt/context/<versionnumber> # requirements: directory /opt/context must exist # cont-tfm.zip in current dir # you need a working tex environment (pg: texlive) that # has a variable TEXMFCONTEXT in its search path OPTDIR=/opt #OPTDIR=/tmp PROG=context PROGARCHIVE=cont-tmf.zip TMPDIR=/tmp/install-$PROG.$$ STARTDIR=$PWD cmd() { echo "$ $1" eval "$1" ret=$? if [ $ret -ne 0 ] ;then echo "* returns $ret -> stop" echo "* removing $TMPDIR" cd $STARTDIR rm -rf $TMPDIR exit 1 fi } cmd "mkdir $TMPDIR" cmd "cp $PROGARCHIVE $TMPDIR/" cmd "cd $TMPDIR" cmd "unzip $PROGARCHIVE" cmd "cd tex/context/base/" cmd "contextversion=`grep contextversion context.tex | sed \"s/.*{\(.*\)}/\1/\" `" cmd "echo $contextversion" #cmd "mkdir $OPTDIR/$PROG/" cmd "mkdir $OPTDIR/$PROG/$contextversion" cmd "mkdir $OPTDIR/$PROG/$contextversion/texmf" cmd "mkdir $OPTDIR/$PROG/$contextversion/texmf/web2c" cmd "mkdir $OPTDIR/$PROG/$contextversion/bin" cmd "cd $TMPDIR" cmd "cp -pR $TMPDIR/* $OPTDIR/$PROG/$contextversion/texmf" cmd "mv $OPTDIR/$PROG/$contextversion/texmf/$PROGARCHIVE $OPTDIR/$PROG/$contextversion" cmd "cd $OPTDIR/$PROG/$contextversion/bin/" cmd "ln `type -p pdfetex` cont-en" cmd "ln `type -p mpost` metafun" cmd "ln -s ../texmf/context/perltk/texexec.pl texexec" cmd "ln -s ../texmf/context/perltk/texutil.pl texutil" cmd "cd $OPTDIR/$PROG/$contextversion/texmf/context/perltk/" cmd "chmod +x *.pl" cmd "texhash $OPTDIR/$PROG/$contextversion/texmf" cmd "cd $OPTDIR/$PROG/$contextversion/texmf/web2c" cmd "TEXMFCONTEXT=$OPTDIR/$PROG/$contextversion/texmf" export TEXMFCONTEXT cmd "../../bin/texexec --make --alone en metafun" cmd "texhash $OPTDIR/$PROG/$contextversion/texmf" cmd "rm -rf $TMPDIR" cd $STARTDIR #Das wars ============================================================ Patrick
On Tue, 21 Jan 2003 11:18:12 +0100
Patrick Gundlach
apart from this: I think that it is advisable to keep older ConTeXt versions around, so you can easily switch between them. I usually install them in /opt/context/<versionnumber> with the follwoing shell-skript (linux). It needs a working tex environment (generating the format) and the cont-tfm.zip in the current dir. It takes only a few seconds to install the new ConTeXt version and I never forget anything. See "requirements" below. On your system you might have to change it a little bit.
You can also let different installed context versions exist side by side, each in their own tree with their own format files. This lets you run different Context versions simultaneously in different xterm windows. You can do this by setting an environment variable CTPATH to the root of the desired Context tree and have a line such as TEXMF = {$CTPATH;!!$TEXMFLOCAL;!!$TEXMFMAIN} in your highest-priority texmf.cnf. -- Siep Kroonenberg siep@elvenkind.com
participants (4)
-
Emil Hedevang Lohse
-
Marko Schütz
-
Patrick Gundlach
-
Siep