From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43592 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: Installing ConTeXt Minimals on a Mac Date: Mon, 01 Sep 2008 12:03:33 -0400 Message-ID: <5BDADCB0-B359-4C48-99AC-1A7BAA9AEC5C@princeton.edu> References: <0846FCD8-7EB4-438B-A370-C423A769520B@princeton.edu> <6faad9f00809010016u2c2db572n6b571abfa6b73dc1@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: multipart/mixed; boundary="===============1876361540==" X-Trace: ger.gmane.org 1220285302 19152 80.91.229.12 (1 Sep 2008 16:08:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Sep 2008 16:08:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 01 18:09:16 2008 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 1KaBxq-0007EV-PZ for gctc-ntg-context-518@m.gmane.org; Mon, 01 Sep 2008 18:09:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 15FBC1FB6B; Mon, 1 Sep 2008 18:08:13 +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 02270-03-26; Mon, 1 Sep 2008 18:07:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E0681FB5B; Mon, 1 Sep 2008 18:06:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8BCAF1FC01 for ; Mon, 1 Sep 2008 18:06:25 +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 02270-03-24 for ; Mon, 1 Sep 2008 18:05:46 +0200 (CEST) Original-Received: from vms173003pub.verizon.net (vms173003pub.verizon.net [206.46.173.3]) by ronja.ntg.nl (Postfix) with ESMTP id 6BE461FA2B for ; Mon, 1 Sep 2008 18:03:35 +0200 (CEST) Original-Received: from new-host.home ([71.188.48.133]) by vms173003.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K6I00HNMXXXTU13@vms173003.mailsrvcs.net> for ntg-context@ntg.nl; Mon, 01 Sep 2008 11:03:34 -0500 (CDT) In-reply-to: <6faad9f00809010016u2c2db572n6b571abfa6b73dc1@mail.gmail.com> X-Mailer: Apple Mail (2.926) 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:43592 Archived-At: --===============1876361540== Content-type: multipart/alternative; boundary=Apple-Mail-2--687838308 --Apple-Mail-2--687838308 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Hi, Mocja--- Many thanks for your reply: it is very encouraging. First things =20 first, then: let=92s make sure I have things in the right place. The output of find /Applications/ConTeXtMinimals | head -n 20 is /Applications/ConTeXtMinimals /Applications/ConTeXtMinimals/.DS_Store /Applications/ConTeXtMinimals/bin /Applications/ConTeXtMinimals/bin/mtx-update-old.lua /Applications/ConTeXtMinimals/bin/mtx-update.lua /Applications/ConTeXtMinimals/bin/mtxrun /Applications/ConTeXtMinimals/bin/texlua /Applications/ConTeXtMinimals/first-setup.sh /Applications/ConTeXtMinimals/status-of-update.lua /Applications/ConTeXtMinimals/tex /Applications/ConTeXtMinimals/tex/.DS_Store /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/setuptex.bat /Applications/ConTeXtMinimals/tex/setuptex.tmf /Applications/ConTeXtMinimals/tex/texmf /Applications/ConTeXtMinimals/tex/texmf/.DS_Store /Applications/ConTeXtMinimals/tex/texmf/doc /Applications/ConTeXtMinimals/tex/texmf/doc/.DS_Store /Applications/ConTeXtMinimals/tex/texmf/doc/fonts /Applications/ConTeXtMinimals/tex/texmf/doc/fonts/.DS_Store I will wait for word from you about the changes you suggest to fix (a) =20= and for J=E9r=F4me to fix the sync parser (c). I tried both . /Applications/ConTeXtMinimals/tex/setuptex and export PATH=3D/Applications/ConTeXtMinimals/tex/texmf-osx-intel/bin:$PATH in ~/.bash_profile file (that is, in Users/alancbowen) but when I typed texmfstart ctxtools --contextversion it listed only those in my texlive2007 distribution---no mention of =20 the ConTeXtMinimals. Cheers, Alan On Sep 1, 2008, at 03;16,18 , Mojca Miklavec wrote: > Hello Alan, > > I'm sorry for not replying earlier. > > On Sat, Aug 30, 2008 at 12:16 PM, Alan Bowen wrote: >> What follows are some queries that I will be happy to write up for =20= >> the wiki. >> The aim (hope?) is to develop a set of instructions for installing =20= >> the >> minimals on a Mac that a Mac user without any real knowledge of =20 >> unix (such >> as myself) can follow easily. (There are a number of people =20 >> scattered around >> the world who help me in producing various publications; and since =20= >> they too >> are not unix savvy, I need such instructions if we are to keep our >> installations functioning and up to date.) >> Once the ConTeXt minimals are installed in the Applications folder =20= >> and the >> user can run >> \starttext >> Hello world! >> \stoptext >> which is where the wiki (Installation>section 1.2) currently leaves =20= >> off, >> there still remain a few tasks. >> Specifically, >> (a) getting this ConTeXt installation to recognize a personal texmf >> directory > > I usually put my files to texmf-local. Well, no, I actually copy > "setuptex" into "mytex" and make local modifications there, so that I > can include my own texmf trees (ugly solution). We just got a > complaint about non-existant TEXMFHOME during the conference. We took > setuptex from Hans' distribution and did not touch TEXMFHOME at all. > The problem is that Hans wanted to prevent old local files to > interefere with "standalone" tree, completely isolated from the outer > world. > > We can either: > - fix setuptex, but I would like to have Hans' permission to do it > - create another "setupfriendlytex" :) and modify whatever we want =20 > there > > The fix is super-easy: change > export HOMETEXMF=3D/nonexist > into > export HOMETEXMF=3D~/.texmf > (with or without the dot - up to you; MacTeX uses ~/Library/texmf or > something similar, I think, but should check) > > And then add TEXMFHOME to the list: > > export TEXMF=3D'{$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!!=20= > $TEXMFEXTRA,!!$TEXMFMAIN}' > > But I need someone to tell me to do that > >> (b) running the various binaries (e.g., texmfstart, ctxtools) in >> /Applications/ConTeXtMinimals from Terminal > > You can create ~/.bash_profile and put one of those lines into it (I > suggest (a), but (b) would suffice): > a) . /Applications/ConTeXtMinimals/tex/setuptex > b) export PATH=3D/Applications/ConTeXtMinimals/tex/texmf-osx-intel/bin:=20= > $PATH > > Then, once you start a new shell, you'll see the programs in your > shell. "/Applications/ConTeXtMinimals/tex" assumes that you have > installed your files to that folder. Change accordingly. The minimals > are not a GUI program, so I would rather put it to some other folder, > but that's up to users. (I have the files simply in my home dir.) > > The main problem is that GUI programs won't see that ~/.bash_profile, > so you need to follow the slighly off rules for TeXShop where there > are indeed quite some mistakes. > > Can you please send the output of > find /Applications/ConTeXtMinimals | head -n 20 > I suspect that you were setting the wrong folder during download of =20= > minimals. > >> (c) establishing synchronization between PDF output and its =20 >> ConTeXt source. >> Currently, it does not seem to work (with TeXShop at least) >> Note, in the latest TeXShop there is >> Added support for SyncTeX. SyncTeX is new synchronization =20 >> technology by >> Jerome Laurens which is included in TeX Live 2008 (but not earlier =20= >> TeX >> distributions). The technology is built directly into pdfTeX and =20 >> XeTeX. In >> modern TeX distributions, most typesetting actually calls pdfetex =20 >> (even if >> using latex to output a dvi file), and thus the technology is =20 >> available for >> such typesetting. To use the technology, add the flag --synctex=3D1 >> Any advice on how to do(a), (b), and (c) will be much appreciated. > > You can try > texexec --passon=3D"-synctex=3D1" filename > but I didn't manage to make it work - it always pointed back to > \stoptext or \page, just as it pointed to the end of minipage in > LaTeX. Apart from the fact that I wasn't sure which tool to use to > make rsync work (when I was testing, TeXShop didn't support synctex > yet, TeXWorks behaved weird, and one would need to write support for > TextMate first, but when Patrick tried it, he have up after > discovering that it didn't work anyway). > > While answering you I just got a reply from J=E9r=F4me: > >> The problem comes from the synctex parser. >> I made different experiments and forgot to test the latest one with =20= >> context. >> I will upload the new versions soon but I am afraid the various =20 >> viewers must be updated. >> You will have to wait a little longer... > > So sadly I need to repeat the last sentence from him ... > > Mojca > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an =20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail-2--687838308 Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Hi, = Mocja---

Many thanks for your reply: it is very = encouraging. First things first, then: let=92s make sure I have things = in the right place.

The output = of
find = /Applications/ConTeXtMinimals | head -n = 20
is
/Applications/ConTeXtMinimals
/= Applications/ConTeXtMinimals/.DS_Store
/Applications/ConTeXtMini= mals/bin
/Applications/ConTeXtMinimals/bin/mtx-update-old.lua
/Applications/ConTeXtMinimals/bin/mtx-update.lua
/Applic= ations/ConTeXtMinimals/bin/mtxrun
/Applications/ConTeXtMinimals/= bin/texlua
/Applications/ConTeXtMinimals/first-setup.sh
/Applications/ConTeXtMinimals/status-of-update.lua
/Applicatio= ns/ConTeXtMinimals/tex
/Applications/ConTeXtMinimals/tex/.DS_Sto= re
/Applications/ConTeXtMinimals/tex/setuptex
/Applica= tions/ConTeXtMinimals/tex/setuptex.bat
/Applications/ConTeXtMini= mals/tex/setuptex.tmf
/Applications/ConTeXtMinimals/tex/texmf
/Applications/ConTeXtMinimals/tex/texmf/.DS_Store
/Appli= cations/ConTeXtMinimals/tex/texmf/doc
/Applications/ConTeXtMinim= als/tex/texmf/doc/.DS_Store
/Applications/ConTeXtMinimals/tex/te= xmf/doc/fonts
/Applications/ConTeXtMinimals/tex/texmf/doc/fonts/= .DS_Store

I will wait for word from you about = the changes you suggest to fix (a) and for J=E9r=F4me to fix the sync = parser (c). 

I tried both
 . = /Applications/ConTeXtMinimals/tex/setuptex
and
export = PATH=3D/Applications/ConTeXtMinimals/tex/texmf-osx-intel/bin:$PATH
in ~/.bash_profile file (that is, in = Users/alancbowen)
but when I typed
texmfstart ctxtools = --contextversion
it listed only those in my texlive2007 = distribution---no mention of the = ConTeXtMinimals.

Cheers, = Alan

On Sep 1, 2008, at 03;16,18 , Mojca = Miklavec wrote:

Hello Alan,

I'm sorry for not replying = earlier.

On Sat, Aug 30, 2008 at 12:16 PM, Alan Bowen = wrote:
What follows are some queries that I = will be happy to write up for the wiki.
The aim (hope?) is to develop a set of instructions for = installing the
minimals on a = Mac that a Mac user without any real knowledge of unix = (such
as myself) can follow = easily. (There are a number of people scattered = around
the world who help me = in producing various publications; and since they = too
are not unix savvy, I need = such instructions if we are to keep our
installations functioning and up to = date.)
Once the ConTeXt = minimals are installed in the Applications folder and = the
user can = run
\starttext
Hello = world!
\stoptext
which = is where the wiki (Installation>section 1.2) currently leaves = off,
there still remain a few = tasks.
Specifically,
(a) = getting this ConTeXt installation to recognize a personal = texmf
directory

I usually put my files to = texmf-local. Well, no, I actually copy
"setuptex" into "mytex" and = make local modifications there, so that I
can include my own texmf = trees (ugly solution). We just got a
complaint about non-existant = TEXMFHOME during the conference. We took
setuptex from Hans' = distribution and did not touch TEXMFHOME at all.
The problem is that = Hans wanted to prevent old local files to
interefere with = "standalone" tree, completely isolated from the = outer
world.

We can either:
- fix setuptex, but I would = like to have Hans' permission to do it
- create another = "setupfriendlytex" :) and modify whatever we want there

The fix = is super-easy: change
   export = HOMETEXMF=3D/nonexist
into
   export = HOMETEXMF=3D~/.texmf
(with or without the dot - up to you; MacTeX = uses ~/Library/texmf or
something similar, I think, but should = check)

And then add TEXMFHOME to the list:

export = TEXMF=3D'{$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,= !!$TEXMFMAIN}'

But I need someone to tell me to do = that

(b) running the various binaries = (e.g., texmfstart, ctxtools) in
/Applications/ConTeXtMinimals from = Terminal

You can create ~/.bash_profile and put one = of those lines into it (I
suggest (a), but (b) would suffice):
a) = . /Applications/ConTeXtMinimals/tex/setuptex
b) export = PATH=3D/Applications/ConTeXtMinimals/tex/texmf-osx-intel/bin:$PATH

= Then, once you start a new shell, you'll see the programs in = your
shell. "/Applications/ConTeXtMinimals/tex" assumes that you = have
installed your files to that folder. Change accordingly. The = minimals
are not a GUI program, so I would rather put it to some = other folder,
but that's up to users. (I have the files simply in my = home dir.)

The main problem is that GUI programs won't see that = ~/.bash_profile,
so you need to follow the slighly off rules for = TeXShop where there
are indeed quite some mistakes.

Can you = please send the output of
   find = /Applications/ConTeXtMinimals | head -n 20
I suspect that you were = setting the wrong folder during download of minimals.

(c) establishing synchronization between  PDF output = and its ConTeXt source.
Currently, it does not seem to work (with TeXShop at = least)
Note, in the latest = TeXShop there is
Added support = for SyncTeX. SyncTeX is new synchronization technology = by
Jerome Laurens which is = included in TeX Live 2008 (but not earlier = TeX
distributions). The = technology is built directly into pdfTeX and XeTeX. In =  
modern TeX = distributions, most typesetting actually calls pdfetex (even = if
using latex to output a dvi = file), and thus the technology is available = for
such typesetting. To use = the technology, add the flag --synctex=3D1
Any advice on how to do(a), (b), and (c) will be much = appreciated.

You can try
=    texexec --passon=3D"-synctex=3D1" filename
but I = didn't manage to make it work - it always pointed back to
\stoptext = or \page, just as it pointed to the end of minipage in
LaTeX. Apart = from the fact that I wasn't sure which tool to use to
make rsync work = (when I was testing, TeXShop didn't support synctex
yet, TeXWorks = behaved weird, and one would need to write support for
TextMate = first, but when Patrick tried it, he have up after
discovering that = it didn't work anyway).

While answering you I just got a reply = from J=E9r=F4me:

The problem comes from = the synctex parser.
I made = different experiments and forgot to test the latest one with = context.
I will upload the new = versions soon but I am afraid the various viewers must be = updated.
You will have to wait = a little longer...

So sadly I need to repeat the = last sentence from him = ...

Mojca
______________________________________________________= _____________________________
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.s= upelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail-2--687838308-- --===============1876361540== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1876361540==--