ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <acbowen@princeton.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Installing ConTeXt Minimals on a Mac
Date: Sun, 31 Aug 2008 17:17:26 -0400	[thread overview]
Message-ID: <D626C111-42EB-4178-B594-06FD552486FE@princeton.edu> (raw)
In-Reply-To: <F5680CA5-5C39-478F-9685-30DF51A3F900@gmail.com>

Thanks, Michael; this is very helpful. I will prepare a .bash_profile  
file and try it out. Where did you put your .bash_profile file?

Alan

On Aug 31, 2008, at 13;09,32 , Michael Green wrote:

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

___________________________________________________________________________________
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	other threads:[~2008-08-31 21:17 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1220176802.5742.ntg-context@ntg.nl>
2008-08-31 17:09 ` Michael Green
2008-08-31 21:17   ` Alan Bowen [this message]
2008-09-01  0:05 Michael Green
2008-09-01 16:06 ` Alan Bowen
  -- strict thread matches above, loose matches on Subject: below --
2008-08-30 10:16 Alan Bowen
2008-09-01  7:16 ` Mojca Miklavec
2008-09-01 16:03   ` Alan Bowen
2008-09-01 16:24     ` Mojca Miklavec
2008-09-01 17:27       ` Alan Bowen
2008-09-01 17:43         ` Mojca Miklavec
2008-09-01 20:18           ` Alan Bowen
2008-09-01 21:19             ` Mojca Miklavec
2008-09-01 21:43               ` Alan Bowen
2008-09-01 22:24                 ` Andrea Valle
2008-09-01 22:02               ` Aditya Mahajan
2008-09-01 20:43           ` Alan Bowen
2008-09-01 21:38             ` Mojca Miklavec
2008-09-01 22:13               ` Alan Bowen
2008-09-01 22:22                 ` Mojca Miklavec
2008-09-01 22:50                   ` Alan Bowen
2008-09-01 23:03                     ` Alan Bowen
2008-09-02  8:04                     ` Mojca Miklavec
2008-09-02 16:18                       ` Alan Bowen
2008-09-01 22:24                 ` Aditya Mahajan
2008-09-02 18:42               ` Alan Bowen
2008-09-02 18:54                 ` Mojca Miklavec
2008-09-02 19:34                   ` Alan Bowen
2008-09-03 16:22                     ` 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=D626C111-42EB-4178-B594-06FD552486FE@princeton.edu \
    --to=acbowen@princeton.edu \
    --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).