On Aug 30, 2008, 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
>
> (b) running the various binaries (e.g., texmfstart, ctxtools) in /
> Applications/ConTeXtMinimals from Terminal
>
> (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=1
>
> Any advice on how to do (a), (b), and (c) will be much appreciated.
>
> Alan
>
>

I installed ConTeXt Minimals in my home directory's Applications  
folder (not the applications folder for the system as a whole). I'm  
reluctant to write in because my understanding of what I'm doing is  
shallow and I haven't used my solution beyond a few simple tests.

With that said, adding the following three lines to .bash_profile  
seems to work for me.

source ~/Applications/context/tex/setuptex ~/Applications/context/tex
TEXMFHOME=$HOME/Library/texmf
TEXMF={$TEXMFHOME,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!! 
$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}

Here is how I understand what I did.

(A) I think that the second and third lines (TEXMFHOME ... and  
TEXMF ...) handle issue (a).

I copied them from a message I read on the developer list.

http://archive.contextgarden.net/message/ 
20080607.102038.6212fc3c.en.html

I should add that the author, Oliver Buerschaper wrote to complain  
that additions to the personal texmf tree were not automatically  
recognized. He had to run luatools --generate again after changing  
something. I have no idea if this has been fixed since June, when he  
wrote his message. I assume it has, but haven't tested it.

(B) I think that the first line (source ...) handles issue (b). It  
tells the shell to look for TeX binaries in ~/Applications/context/tex.

This is the second instruction from the Linux/Mac/BSD section of the  
wiki's installation page, modified for my particular case.

http://wiki.contextgarden.net/ConTeXt_Minimals#Linux.2FMac.2FFreeBSD

Michael
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to