From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44974 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: TeXshop Date: Wed, 22 Oct 2008 17:13:06 +0200 Message-ID: <4AC8F9D0-74EF-4A26-B116-2BA2EEA8A9B5@boede.nl> References: <2ADDA4CA-EA90-4A46-8F04-7F00383FF832@boede.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1224688554 2726 80.91.229.12 (22 Oct 2008 15:15:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2008 15:15:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 22 17:16:45 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KsfRy-0001qi-Uj for gctc-ntg-context-518@m.gmane.org; Wed, 22 Oct 2008 17:16:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D9BF11FC78; Wed, 22 Oct 2008 17:15:32 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19728-02-14; Wed, 22 Oct 2008 17:14:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 38D2A1FC09; Wed, 22 Oct 2008 17:14:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6C32E1FA41 for ; Wed, 22 Oct 2008 17:13:48 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22018-01-6 for ; Wed, 22 Oct 2008 17:13:08 +0200 (CEST) Original-Received: from mail.7values.nl (pluto.digitpaint.nl [83.98.197.3]) by ronja.ntg.nl (Postfix) with ESMTP id 1C4091FB49 for ; Wed, 22 Oct 2008 17:13:08 +0200 (CEST) Original-Received: from localhost (dp5.intern.digitpaint.nl [192.168.0.7]) by mail.7values.nl (Postfix) with ESMTP id 6F89017CE4 for ; Wed, 22 Oct 2008 17:13:08 +0200 (CEST) Original-Received: from mail.7values.nl ([192.168.0.1]) by localhost (dp5.digitpaint.nl [192.168.0.7]) (amavisd-new, port 10024) with LMTP id x+BtPJf5BSUN for ; Wed, 22 Oct 2008 17:13:07 +0200 (CEST) Original-Received: from [192.168.0.17] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by mail.7values.nl (Postfix) with ESMTP id 30E1B17CE2 for ; Wed, 22 Oct 2008 17:13:08 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.753.1) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44974 Archived-At: Dear Otared, many thanks for your explanation. - It works now as a charm! I see, that I was at the beginning almost there. The problem was = apparently, that I did not set the executable bit. Thanks again Willi On Oct 22, 2008, at 3:25 PM, Otared Kavian wrote: > On 22 oct. 08, at 12:57, Willi Egger wrote: > >> Hi all, >> >> is there anybody who has TeXshop running with the COnTeXt minimals? >> >> I tried to make a new engine which looks up to now as stated her >> under. however I get an error message: >> > > Hi again Willi, > > If you have installed ConTeXt-Miimal for MacOS X, the in principle you > don't need at all to set environment variables as the ones you = > mention. > On the contrary according to my experience, you SHOULD NOT set any > such variables=85 > Therefore in a Terminal window you should say: > env | grep TEX > and then say (for instance for TEXMFCNF) > unset TEXMFCNF > and so on for the other variables if they seem to be unwanted. Also oe > should remove the "export=85" variables from the .bashrc or any other > shell files. > > This is how I installed ConTeXt-Minimal and how I use it under > TeXShop. (I have a MacBook Pro running under macOS X 10.5.5). > > Installing and using the Minimal under Mac OS X in Ten Steps=85 > > 1) I created a folder named "context-minimal": this can sit anywhere, > but in my case I put it in a partition of my hard drive names = > "OK-10.4". > So the full path to that folder is > /Volumes/OK-10.4/context-minimal > > 2) In a Terminal window I said > cd /Volumes/OK-10.4/context-minimal > > 3) Then in the same Terminal window I said > rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . > Please pay attention to the final "." after "first-setup.sh"=85 > I got the file "first-setup.sh" in the folder. > > 4) Then I said in the Terminal window > sh first-setup.sh > This would take some time (depending on the speed of the Internet > connection) and then I obtained two folders (or directories) named > bin/ > tex/ > and one morefile named "status-of-update.lua". > > 5) The folder "tex" contains four folders named > texmf/ > texmf-context/ > texmf-cache/ > texmf-osx-intel/ > and four files named > setuptex > setuptex.csh > setuptex.bat > setuptex.tmf > The folder "texmf-osx-intel" contains among other things a folder > named "bin" in which the binaries are located. > The file "setuptex" is the file which upon execution under a shell > command sets the TEXROOT variable needed for the binary "context" > > 6) If I want to typeset the file "basic-test.tex" with my new > installation, I have to set up once per session the TEXROOT variable > by saying in my Terminall window: > source /Volumes/OK-10.4/context-minimal/tex/setuptex > or alternatively > . /Volumes/OK-10.4/context-minimal/tex/setuptex > Please pay attention to the dot "." and the space after the dot at the > beginning of the above line=85 > After that in the Terminal window (assuming that I am in the folder > where the file "basic-test.tex" is present) I just say > context basic-test.tex > and the file is typeset with mkiv. > > 7) If I want to put some macros, or files used frequently as \input, I > may put them in the folder: > /Volumes/OK-10.4/context-minimal/tex/texmf-context/tex/context/user > > 8) Also I may put more fonts in the folder > /Volumes/OK-10.4/context-minimal/tex/texmf/fonts > in appropriate places (I did this for the fonts rsfs which were not > present in the minimals). However after this I had to run again = > "first- > setup.sh" as above. > > 9) Once the minimal was installed on my machine, in order to use it > with TeXShop, I created a file named "ConTeXt-Minimal.engine" > containing only the four lines: > #!/bin/bash > > source /Volumes/OK-10.4/context-minimal/tex/setuptex > context "$1" > > This file is put in the directory > /Users/kavian/Library/TeXShop/Engines > and must have the execute bit, that is one must say in a Terminal > window: > cd /Users/kavian/Library/TeXShop/Engines > chmod 755 ConTeXt-Minimal.engine > > 10) Now in TeXShop I can add the following line at the beginning of > any file I want to typeset with the Minimal: > %!TEX TS-program =3D ConTeXt-Minimal > or else I may choose "ConTeXt-Minimal" from the pop-up menu which > appears below the window bar of my TeX file. > > I hope that the above would be useful for you and other persons. > Since on the Wiki there are already many things on the issue, I didn't > dare to add a new page=85 > Mojca, if you read this, can you please tell me whether I can add a > new item on the pages you have set up? > > Best regards: OK > >> MtxRun | unknown script 'context.lua' or 'mtx-context.lua' >> >> My interpretation is, that underway the path to the lua scripts is >> 'forgotten' >> >> Kind regards >> >> Willi >> >> #!/bin/bash >> #PATH=3D"$PATH: /Applications/lua/tex" >> #. /Applications/lua/tex/setuptex "/Applications/lua/tex" >> export PATH=3D``$PATH:/opt/local/bin:/opt/local/sbin:/Applications/lua/ >> tex/texmf-osx-intel/bin:/bin:/sbin:/usr/bin:/usr/sbin:/'' >> export TEXROOT=3D/Applications/lua/tex >> export TEXMFPROJECT=3D$TEXROOT/texmf-project >> export TEXMFLOCAL=3D$TEXROOT/texmf-local >> export TEXMFVAR=3D$TMP/texmf-var >> export VARTEXMF=3D$TEXMFVAR >> export TEXMFOS=3D$TEXROOT/texmf-osx-intel/bin >> export TEXMFCONTEXT=3D$TEXROOT/texmf-context >> export TEXMFCACHE=3D$TEXROOT/texmf-cache >> export TEXFORMATS=3D$TEXMFOS/web2c/$engine >> export TEXMFFONTS=3D$TEXROOT/texmf-fonts >> export CTXMINIMAL=3Dyes >> export MPMEMS=3D$TEXMFOS/web2c/$engine >> export HOMETEXMF=3D/nonexist >> export RUBYLIB=3D``$RUBYLIB:$TEXMFCONTEXT/scripts/context/ruby``'' >> export LUATEXDIR=3D$TEXMFCONTEXT/scripts/context/lua >> export TEXMFCNF=3D``$TEXROOT/texmf{-local,-context,}/web2c'' >> export TEXMFMAIN=3D$TEXROOT/texmf >> export TEXMF=3D{$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, >> $TEXMFCONTEXT,$TEXMFMAIN} >> export TEXMFDBS=3D{$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, >> $TEXMFCONTEXT,$TEXMFMAIN} >> unset CTXDEVTXPATH CTXDEVMPPATH CTXDEVMFPATH >> unset CTXDEVPLPATH CTXDEVRBPATH CTXDEVPYPATH CTXDEVJVPATH >> unset TEXINPUTS MPINPUTS MFINPUTS >> >> context ''$1'' >> _____________________________________________________________________ = >> ______________ >> 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 > ______________________________________________________________________ = > _____________ ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________