Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Tue, Sep 2, 2008 at 9:34 PM, Alan Bowen wrote: On Sep 2, 2008, at 14;54,40 , Mojca Miklavec wrote: setuptex should already be executable and no TeX file (the best way to do the change would be to use cp setuptex mysetuptex and then modify the latter), but if you want to make sure ... do chmod a+x mysetuptex (or however your file is called) ls -l should show you the status of file (you should be able to see if the file is executable). Thanks. What confused me was that on my Mac the icon for the setuptex changed after I edited it. Anyway, the revised setuptex works perfectly with the ConTeXtMinimals.engine. Thank you again. But the question now is, which solution do you recommend? As a user, my preference is for the one that leaves setuptex alone and focuses on the engines that TeXShop uses, since it makes switching form MKII to MKIV very easy to do. (I would add that, as things stand now, I also have easy access to my Texlive 2007 setup.) However, I am much more interested in keeping my setup in line with development path that you, Hans, and the others set for the minimals, since, as I gather, they are the future of ConTeXt. If *.engine works for you, feel free to use that one. You don't need to bother about setuptex, really, unless you need to use TeX in bash. And TeXWorks might be the new future of TeXShop anyway ... 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.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Tue, Sep 2, 2008 at 12:50 AM, Alan Bowen wrote: With this change in all the engines---thanks to Aditya too---ConTeXt-pdftex.engine and ConTeXt-XeTeX.engine now work as they should (which is great!) But running ConTeXt-luatex.engine gets MtxRun | skipping configuration for /Applications/ConTeXtMinimals/tex/texmf-local/web2c from /Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/3beab8509a03fa29e95f93134a943a7f MtxRun | loading configuration for /Applications/ConTeXtMinimals/tex/texmf/web2c from /Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/d9ef00871d7b11751a275cffd8a85753 MtxRun | error, no format found with name: cont-en MtxRun | total runtime: 0.010 Try if this helps: export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache context --make I have no idea why the formats haven't been built previously though (or maybe they were flying to some other location). 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.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Sep 2, 2008, at 04;04,31 , Mojca Miklavec wrote: On Tue, Sep 2, 2008 at 12:50 AM, Alan Bowen wrote: With this change in all the engines---thanks to Aditya too---ConTeXt-pdftex.engine and ConTeXt-XeTeX.engine now work as they should (which is great!) But running ConTeXt-luatex.engine gets MtxRun | skipping configuration for /Applications/ConTeXtMinimals/tex/texmf-local/web2c from /Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/ 3fc847143b06f084e10e73c8fbdf4ae2/trees/ 3beab8509a03fa29e95f93134a943a7f MtxRun | loading configuration for /Applications/ConTeXtMinimals/tex/texmf/web2c from /Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/ 3fc847143b06f084e10e73c8fbdf4ae2/trees/ d9ef00871d7b11751a275cffd8a85753 MtxRun | error, no format found with name: cont-en MtxRun | total runtime: 0.010 Try if this helps: export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache context --make I have no idea why the formats haven't been built previously though (or maybe they were flying to some other location). Mojca My ConTeXt-luatex.engine now has !/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache context $1 and in Terminal I have run context --make When I try to typeset “Hello world!”, absolutely nothing happens—the TeXShop console window opens and stays blank. Have I misunderstood you? Alan PS export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel/bin: $PATH makes no difference. The other engines work well. A. ___ 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 ___
[NTG-context] Installing ConTeXt Minimals on a Mac ... and using bibtex
I have the minimals installed in ~/Applications/context/ Context works great. However, I'm having trouble with bibtex. [1] I export the following variables before using context. . ~/Applications/context/tex/setuptex ~/Applications/context/tex export TEXMFHOME='$HOME/Library/texmf' export TEXMF='{$TEXMFHOME,!!$TEXMFPROJECT,!!$TEXMFFONTS,!! $TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}'; (I added export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel/ bin:$PATH but that didn't seem to make a difference in a couple of quick trials) [2] The problem is that the minimal's bibtex can't find the bib file that I have stored in ~/Library/texmf/bibtex/bib/ It reports: I couldn't open database file bib-name.bib and I found no database files---while reading file file-name.aux [3] which bibtex yields the path to the bibtex installed with the minimals: /path-to-my-user-account/Applications/context/tex/texmf-osx-intel/bin/ bibtex [4] When I open a new shell session, which bibtex points to /usr/ texbin/bibtex. In this new shell, bibtex finds the bib file. It's a small thing, but if there's some other setting to make bibtex work in the same shell session that context does, that would be nice. Thanks! 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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac ... and using bibtex
On Tue, 2 Sep 2008, Michael Green wrote: I have the minimals installed in ~/Applications/context/ Context works great. However, I'm having trouble with bibtex. [1] I export the following variables before using context. . ~/Applications/context/tex/setuptex ~/Applications/context/tex export TEXMFHOME='$HOME/Library/texmf' export TEXMF='{$TEXMFHOME,!!$TEXMFPROJECT,!!$TEXMFFONTS,!! $TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}'; (I added export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel/ bin:$PATH but that didn't seem to make a difference in a couple of quick trials) [2] The problem is that the minimal's bibtex can't find the bib file that I have stored in ~/Library/texmf/bibtex/bib/ It reports: I couldn't open database file bib-name.bib and I found no database files---while reading file file-name.aux You need to add ~/Library/texmf/bibtex/bib to the variable BIBINPUTS, either in texmf.cnf or in your .bashrc/calling script. [3] which bibtex yields the path to the bibtex installed with the minimals: /path-to-my-user-account/Applications/context/tex/texmf-osx-intel/bin/ bibtex [4] When I open a new shell session, which bibtex points to /usr/ texbin/bibtex. In this new shell, bibtex finds the bib file. It's a small thing, but if there's some other setting to make bibtex work in the same shell session that context does, that would be nice. You have two different installations of tex on your computer. By default the old distribution is used. When you run setuptex (with appropriate arguments) the new distribution is used first. Aditya ___ 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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Sep 1, 2008, at 17;38,50 , Mojca Miklavec wrote: On Mon, Sep 1, 2008 at 10:43 PM, Alan Bowen [EMAIL PROTECTED] wrote: On Sep 1, 2008, at 13;43,19 , Mojca Miklavec wrote: On Sep 1, 2008, at 12;24,41 , Mojca Miklavec wrote: For setting HOMETEXMF you can help yourself, though it would be nice if we provided a solution that worked out of the box. But I would like to get a confirmation from Hans that it's OK to do that. I have modified the texmf.cnf in ./Applications/ConTeXtMinimals/tex/texmf/web2c with the lines export HOMETEXMF=~/Library/texmf export TEXMF='{$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! $TEXMFEXTRA,!!$TEXMFMAIN}' but ConTeXt still does not find my personal texmf folder I probably told you wrong, but: 1.) you have HOMETEXMF first and then TEXMFHOME: these need to be equal 2.) unless you are following (3), don't modify the file in texmf/, but create /Applications/ConTeXtMinimals/tex/texmf-local/web2c/texmf.cnf instead, else the file will be overwritten at first update 3.) even then I'm not completely sure, but I guess that environmental variables override settings in texmf.cnf, so you either need to a) modify setuptex (rename it and run the renamed file instead of setuptex) b) only export PATH and not run setuptex at all; in that case values from texmf.cnf will be used - maybe you need to run mktexlsr or luatools --generate OK. One quick reply just to see if I am on track. I have created /Applications/ConTeXtMinimals/tex/texmf-local/web2c/ texmf.cnf where texmf.cnf now has export HOMETEXMF=~/Library/texmf export TEXMF='{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! (hopefully the line continues ...) The lines you have written here belong to setuptex, not to texmf.cnf. The syntax for setuptex is slightly different. HOMETEXMF = ~/Library/texmf # single line TEXMF = {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!! $TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN} But try putting™ export HOMETEXMF=~/Library/texmf # single line export TEXMF='{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! $TEXMFEXTRA,!!$TEXMFMAIN}' into setuptex (replace the old variables). The problem is that if you adapt texmf.cnf only, you still override those settings with setuptex. I hope I have understood this properly. I now have HOMETEXMF = ~/Library/texmf TEXMF = {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!! in my /ConteXtMinimals/tex/texmf-local/texmf.cnf. I have also inserted the lines export HOMETEXMF=~/Library/texmf and export TEXMF='{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! $TEXMFEXTRA,!!$TEXMFMAIN}' into a file formed by copying the content of setuptex. But before I can test this, assuming that so far is so good, I need to turn my setuptex (which is natively a .tex file) into unix executable. How do I do this? Alan There is one thing that you could try (I never use TeXShop, but there's a change that it works): ~/Library/TeXShop/Engines/ConTeXt-pdfTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH texexec $1 ~/Library/TeXShop/Engines/ConTeXt-luaTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache context $1 ~/Library/TeXShop/Engines/ConTeXt-XeTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH texexec --xtx $1 (sorry for two different proposals - I should probably only send you a single one) 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.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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Tue, Sep 2, 2008 at 8:42 PM, Alan Bowen wrote: I have also inserted the lines export HOMETEXMF=~/Library/texmf and export TEXMF='{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}' into a file formed by copying the content of setuptex. But before I can test this, assuming that so far is so good, I need to turn my setuptex (which is natively a .tex file) into unix executable. How do I do this? A TeX file??? setuptex should already be executable and no TeX file (the best way to do the change would be to use cp setuptex mysetuptex and then modify the latter), but if you want to make sure ... do chmod a+x mysetuptex (or however your file is called) ls -l should show you the status of file (you should be able to see if the file is executable). 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.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac ... and using bibtex
On Tue, 2 Sep 2008, Aditya Mahajan wrote: On Tue, 2 Sep 2008, Michael Green wrote: I have the minimals installed in ~/Applications/context/ Context works great. However, I'm having trouble with bibtex. [1] I export the following variables before using context. . ~/Applications/context/tex/setuptex ~/Applications/context/tex export TEXMFHOME='$HOME/Library/texmf' export TEXMF='{$TEXMFHOME,!!$TEXMFPROJECT,!!$TEXMFFONTS,!! $TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}'; (I added export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx- intel/ bin:$PATH but that didn't seem to make a difference in a couple of quick trials) [2] The problem is that the minimal's bibtex can't find the bib file that I have stored in ~/Library/texmf/bibtex/bib/ It reports: I couldn't open database file bib-name.bib and I found no database files---while reading file file-name.aux You need to add ~/Library/texmf/bibtex/bib to the variable BIBINPUTS, either in texmf.cnf or in your .bashrc/calling script. Perfect. Thank you! 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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Sep 2, 2008, at 14;54,40 , Mojca Miklavec wrote: On Tue, Sep 2, 2008 at 8:42 PM, Alan Bowen wrote: I have also inserted the lines export HOMETEXMF=~/Library/texmf and export TEXMF='{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! $TEXMFEXTRA,!!$TEXMFMAIN}' into a file formed by copying the content of setuptex. But before I can test this, assuming that so far is so good, I need to turn my setuptex (which is natively a .tex file) into unix executable. How do I do this? A TeX file??? I did confess ignorance at the outset, didn’t I? 8-) setuptex should already be executable and no TeX file (the best way to do the change would be to use cp setuptex mysetuptex and then modify the latter), but if you want to make sure ... do chmod a+x mysetuptex (or however your file is called) ls -l should show you the status of file (you should be able to see if the file is executable). Thanks. What confused me was that on my Mac the icon for the setuptex changed after I edited it. Anyway, the revised setuptex works perfectly with the ConTeXtMinimals.engine. Thank you again. But the question now is, which solution do you recommend? As a user, my preference is for the one that leaves setuptex alone and focuses on the engines that TeXShop uses, since it makes switching form MKII to MKIV very easy to do. (I would add that, as things stand now, I also have easy access to my Texlive 2007 setup.) However, I am much more interested in keeping my setup in line with development path that you, Hans, and the others set for the minimals, since, as I gather, they are the future of ConTeXt. Very best, Alan ___ 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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
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 (Installationsection 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=/nonexist into export HOMETEXMF=~/.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='{$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=/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=1 Any advice on how to do (a), (b), and (c) will be much appreciated. You can try texexec --passon=-synctex=1 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érôme: 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.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
Hi, Mocja--- Many thanks for your reply: it is very encouraging. First things first, then: let’s 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) and for Jérôme to fix the sync parser (c). I tried both . /Applications/ConTeXtMinimals/tex/setuptex and export PATH=/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 (Installationsection 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=/nonexist into export HOMETEXMF=~/.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='{$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=/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
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
Thanks, Michael! I will let you know how all this turns out. Cheers, Alan On Aug 31, 2008, at 20;05,05 , Michael Green wrote: Alan Bowen wrote: 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 .bash_profile should be saved as a text file at the top level of your user account. That is, it should go right alongside the directories that are standardly installed, like Documents, Library, Movies, Music, Pictures, Public, and Sites. Note 1: the dot in front means it won't be visible in the Finder, absent further fiddling and trickery. Note 2: if you're using TeXShop, I think that these sorts of instructions go in engine files. If you look at the mac newbie installation instructions, you'll see that the bit about source ... is put into an engine file. I suspect, though I don't know, that the TEXMFHOME and TEXMF lines would be incorporated in a similar way. This may be an easier route to trying this sort of thing out than using .bash_profile. It may be *much* easier if you're supporting other people. Again, I don't know. By the way, Oliver B's problem appears to be resolved. Changes in the personal texmf tree are picked up now, without further intervention by the user. Good luck! 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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Mon, Sep 1, 2008 at 6:03 PM, Alan Bowen wrote: Hi, Mocja--- Many thanks for your reply: it is very encouraging. First things first, then: let's 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) and for Jérôme to fix the sync parser (c). I tried both . /Applications/ConTeXtMinimals/tex/setuptex Sorry ... Arthur told me that he fixed some issue, but it still doesn't work (and probably has no chance to work), so you still need both parts . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex and export PATH=/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. I forgot to tell you that you need to either: - run that command manually - run bash - open a new Terminal after you do the changes You don't need to run texmfstart, it's OK to call just ctxtools, but --contextversion seems to be broken in the minimals (some broken functionality in kpathsea-mimicking library). You should be able to use context --version If context doesn't work, it means that you didn't set the PATH properly. For setting HOMETEXMF you can help yourself, though it would be nice if we provided a solution that worked out of the box. But I would like to get a confirmation from Hans that it's OK to do that. 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.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Mon, Sep 1, 2008 at 7:27 PM, Alan Bowen [EMAIL PROTECTED] wrote: Mocja— This is great. I now have access to the binaries in ConTeXtMinimals/tex: context --version gives the right answer. Alan On Sep 1, 2008, at 12;24,41 , Mojca Miklavec wrote: For setting HOMETEXMF you can help yourself, though it would be nice if we provided a solution that worked out of the box. But I would like to get a confirmation from Hans that it's OK to do that. I have modified the texmf.cnf in ./Applications/ConTeXtMinimals/tex/texmf/web2c with the lines export HOMETEXMF=~/Library/texmf export TEXMF='{$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}' but ConTeXt still does not find my personal texmf folder I probably told you wrong, but: 1.) you have HOMETEXMF first and then TEXMFHOME: these need to be equal 2.) unless you are following (3), don't modify the file in texmf/, but create /Applications/ConTeXtMinimals/tex/texmf-local/web2c/texmf.cnf instead, else the file will be overwritten at first update 3.) even then I'm not completely sure, but I guess that environmental variables override settings in texmf.cnf, so you either need to a) modify setuptex (rename it and run the renamed file instead of setuptex) b) only export PATH and not run setuptex at all; in that case values from texmf.cnf will be used - maybe you need to run mktexlsr or luatools --generate The opening lines of the console read: /Applications/ConTeXtMinimals/tex/setuptex: line 83: cd: /Applications/ConTeXtMinimals/context: No such file or directory Where does this context come from? From .engine file for TeXShop? The argument is not a valid TEXROOT path. There is no file /texmf/tex/plain/base/plain.tex Setting /Applications/ConTeXtMinimals/tex as TEXROOT instead. TeXExec | processing document 'c_2007-10-04_Hannah.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file c_2007-10-04_Hannah.top TeXExec | using randomseed 764 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeX, Version 3.1415926-1.40.9-rc1 (Web2C 7.5.7) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) entering extended mode (./c_2007-10-04_Hannah.tex ConTeXt ver: 2008.08.29 10:30 MKII fmt: 2008.8.29 int: english/english 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.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
Mocja— This is great. I now have access to the binaries in ConTeXtMinimals/tex: context --version gives the right answer. Alan On Sep 1, 2008, at 12;24,41 , Mojca Miklavec wrote: For setting HOMETEXMF you can help yourself, though it would be nice if we provided a solution that worked out of the box. But I would like to get a confirmation from Hans that it's OK to do that. I have modified the texmf.cnf in ./Applications/ConTeXtMinimals/tex/ texmf/web2c with the lines export HOMETEXMF=~/Library/texmf export TEXMF='{$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! $TEXMFEXTRA,!!$TEXMFMAIN}' but ConTeXt still does not find my personal texmf folder The opening lines of the console read: /Applications/ConTeXtMinimals/tex/setuptex: line 83: cd: /Applications/ ConTeXtMinimals/context: No such file or directory The argument is not a valid TEXROOT path. There is no file /texmf/tex/plain/base/plain.tex Setting /Applications/ConTeXtMinimals/tex as TEXROOT instead. TeXExec | processing document 'c_2007-10-04_Hannah.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file c_2007-10-04_Hannah.top TeXExec | using randomseed 764 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeX, Version 3.1415926-1.40.9-rc1 (Web2C 7.5.7) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) entering extended mode (./c_2007-10-04_Hannah.tex ConTeXt ver: 2008.08.29 10:30 MKII fmt: 2008.8.29 int: english/ english 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.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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Sep 1, 2008, at 13;43,19 , Mojca Miklavec wrote: On Mon, Sep 1, 2008 at 7:27 PM, Alan Bowen [EMAIL PROTECTED] wrote: Mocja— This is great. I now have access to the binaries in ConTeXtMinimals/ tex: context --version gives the right answer. Alan On Sep 1, 2008, at 12;24,41 , Mojca Miklavec wrote: For setting HOMETEXMF you can help yourself, though it would be nice if we provided a solution that worked out of the box. But I would like to get a confirmation from Hans that it's OK to do that. I have modified the texmf.cnf in ./Applications/ConTeXtMinimals/tex/texmf/web2c with the lines export HOMETEXMF=~/Library/texmf export TEXMF='{$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! $TEXMFEXTRA,!!$TEXMFMAIN}' but ConTeXt still does not find my personal texmf folder I probably told you wrong, but: 1.) you have HOMETEXMF first and then TEXMFHOME: these need to be equal 2.) unless you are following (3), don't modify the file in texmf/, but create /Applications/ConTeXtMinimals/tex/texmf-local/web2c/texmf.cnf instead, else the file will be overwritten at first update 3.) even then I'm not completely sure, but I guess that environmental variables override settings in texmf.cnf, so you either need to a) modify setuptex (rename it and run the renamed file instead of setuptex) b) only export PATH and not run setuptex at all; in that case values from texmf.cnf will be used - maybe you need to run mktexlsr or luatools --generate I need to think about this and learn more. The opening lines of the console read: /Applications/ConTeXtMinimals/tex/setuptex: line 83: cd: /Applications/ConTeXtMinimals/context: No such file or directory Where does this context come from? From .engine file for TeXShop? The argument is not a valid TEXROOT path. There is no file /texmf/tex/plain/base/plain.tex Setting /Applications/ConTeXtMinimals/tex as TEXROOT instead. TeXExec | processing document 'c_2007-10-04_Hannah.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file c_2007-10-04_Hannah.top TeXExec | using randomseed 764 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeX, Version 3.1415926-1.40.9-rc1 (Web2C 7.5.7) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) entering extended mode (./c_2007-10-04_Hannah.tex ConTeXt ver: 2008.08.29 10:30 MKII fmt: 2008.8.29 int: english/ english This comes from the console window that TeXShop opens when it typesets a file. 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.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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Sep 1, 2008, at 13;43,19 , Mojca Miklavec wrote: On Sep 1, 2008, at 12;24,41 , Mojca Miklavec wrote: For setting HOMETEXMF you can help yourself, though it would be nice if we provided a solution that worked out of the box. But I would like to get a confirmation from Hans that it's OK to do that. I have modified the texmf.cnf in ./Applications/ConTeXtMinimals/tex/texmf/web2c with the lines export HOMETEXMF=~/Library/texmf export TEXMF='{$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! $TEXMFEXTRA,!!$TEXMFMAIN}' but ConTeXt still does not find my personal texmf folder I probably told you wrong, but: 1.) you have HOMETEXMF first and then TEXMFHOME: these need to be equal 2.) unless you are following (3), don't modify the file in texmf/, but create /Applications/ConTeXtMinimals/tex/texmf-local/web2c/texmf.cnf instead, else the file will be overwritten at first update 3.) even then I'm not completely sure, but I guess that environmental variables override settings in texmf.cnf, so you either need to a) modify setuptex (rename it and run the renamed file instead of setuptex) b) only export PATH and not run setuptex at all; in that case values from texmf.cnf will be used - maybe you need to run mktexlsr or luatools --generate OK. One quick reply just to see if I am on track. I have created /Applications/ConTeXtMinimals/tex/texmf-local/web2c/ texmf.cnf where texmf.cnf now has export HOMETEXMF=~/Library/texmf export TEXMF='{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! I have run mktexlsr luatools --generate And still no luck, I am sorry to say. Perhaps I have misunderstood your remarks about HOMETEXMF and TEXMFHOME. Alan ___ 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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Mon, Sep 1, 2008 at 10:18 PM, Alan Bowen [EMAIL PROTECTED] wrote: My ConTeXtMinimals.engine file currently has the the following lines: #!/bin/bash source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/context/tex texexec $1 Remove context from the second argument: source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex instead of source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/context/tex I am puzzled that chmod a+x ~/Library/TeXShop/ConTeXtMinimals.engine gets chmod: /Users/alancbowen/Library/TeXShop/ConTeXtMinimals.engine: No such file or directory Because you have probably created a file ~/Library/TeXShop/Engines/ConTeXtMinimals.engine and not a file ~/Library/TeXShop/ConTeXtMinimals.engine (tiny differences), so the second works. while chmod 775 ~/Library/TeXShop/Engines/ConTeXtMinimals.engine seems to work (at least there are no error messages). I am not quite sure what you mean here, but if I reduce ConTeXtMinimals.engine to source /Applications/ConTeXtMinimals/tex/setuptex I get The argument /Users/alancbowen/Desktop/TeXTesting/hello.tex is not a valid TEXROOT path. There is no file /Users/alancbowen/Desktop/TeXTesting/hello.tex/texmf/tex/plain/base/plain.tex Setting /Applications/ConTeXtMinimals/tex as TEXROOT instead. and then nothing. Sorry - I thought that the issue has been fixed, but it hasn't. So you need source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex only source /Applications/ConTeXtMinimals/tex/setuptex does not suffice. It does on Windows, but apparently there's no way to figure out location of the sourced script under linux (or at least I don't know any). 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.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Mon, Sep 1, 2008 at 10:43 PM, Alan Bowen [EMAIL PROTECTED] wrote: On Sep 1, 2008, at 13;43,19 , Mojca Miklavec wrote: On Sep 1, 2008, at 12;24,41 , Mojca Miklavec wrote: For setting HOMETEXMF you can help yourself, though it would be nice if we provided a solution that worked out of the box. But I would like to get a confirmation from Hans that it's OK to do that. I have modified the texmf.cnf in ./Applications/ConTeXtMinimals/tex/texmf/web2c with the lines export HOMETEXMF=~/Library/texmf export TEXMF='{$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! $TEXMFEXTRA,!!$TEXMFMAIN}' but ConTeXt still does not find my personal texmf folder I probably told you wrong, but: 1.) you have HOMETEXMF first and then TEXMFHOME: these need to be equal 2.) unless you are following (3), don't modify the file in texmf/, but create /Applications/ConTeXtMinimals/tex/texmf-local/web2c/texmf.cnf instead, else the file will be overwritten at first update 3.) even then I'm not completely sure, but I guess that environmental variables override settings in texmf.cnf, so you either need to a) modify setuptex (rename it and run the renamed file instead of setuptex) b) only export PATH and not run setuptex at all; in that case values from texmf.cnf will be used - maybe you need to run mktexlsr or luatools --generate OK. One quick reply just to see if I am on track. I have created /Applications/ConTeXtMinimals/tex/texmf-local/web2c/ texmf.cnf where texmf.cnf now has export HOMETEXMF=~/Library/texmf export TEXMF='{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! (hopefully the line continues ...) The lines you have written here belong to setuptex, not to texmf.cnf. The syntax for setuptex is slightly different. HOMETEXMF = ~/Library/texmf # single line TEXMF = {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN} But try putting export HOMETEXMF=~/Library/texmf # single line export TEXMF='{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}' into setuptex (replace the old variables). The problem is that if you adapt texmf.cnf only, you still override those settings with setuptex. There is one thing that you could try (I never use TeXShop, but there's a change that it works): ~/Library/TeXShop/Engines/ConTeXt-pdfTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH texexec $1 ~/Library/TeXShop/Engines/ConTeXt-luaTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache context $1 ~/Library/TeXShop/Engines/ConTeXt-XeTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH texexec --xtx $1 (sorry for two different proposals - I should probably only send you a single one) 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.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Sep 1, 2008, at 17;19,53 , Mojca Miklavec wrote: On Mon, Sep 1, 2008 at 10:18 PM, Alan Bowen [EMAIL PROTECTED] wrote: My ConTeXtMinimals.engine file currently has the the following lines: #!/bin/bash source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ ConTeXtMinimals/context/tex texexec $1 Remove context from the second argument: source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex instead of source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/context/tex Done---and the console now reads (without complaint) Setting /Applications/ConTeXtMinimals/tex as TEXROOT. as desired when typesetting begins. Many thanks for your patience, Mocja! text deleted Alan ___ 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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Mon, 1 Sep 2008, Mojca Miklavec wrote: only source /Applications/ConTeXtMinimals/tex/setuptex does not suffice. It does on Windows, but apparently there's no way to figure out location of the sourced script under linux (or at least I don't know any). Well, surprisingly a simple . ~/tex/setuptex works fine here (Linux + Zsh shell). Aditya ___ 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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Tue, Sep 2, 2008 at 12:13 AM, Alan Bowen wrote: Mocja---I will start with the second proposal and save the first for tomorrow. ~/Library/TeXShop/Engines/ConTeXt-luaTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache context $1 Done. No joy. ConTeXt complains: /Users/alancbowen/Library/TeXShop/Engines/ConTeXt-luaTeX.engine: line 4: context: command not found Oh, sorry again. export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel/bin:$PATH But then: you have an intel processor, right? If not, change that line accordingly. (Check if you have binaries in that folder.) 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.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
Many thanks for your patience, Mocja! (and three) Yes, Mojca is really patient... :) -a- -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- http://www.myspace.com/andreavalle -- [EMAIL PROTECTED] -- Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty (Ken Perlin on noise) ___ 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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Mon, 1 Sep 2008, Alan Bowen wrote: Mocja---I will start with the second proposal and save the first for tomorrow. On Sep 1, 2008, at 17;38,50 , Mojca Miklavec wrote: On Mon, Sep 1, 2008 at 10:43 PM, Alan Bowen [EMAIL PROTECTED] wrote: On Sep 1, 2008, at 13;43,19 , Mojca Miklavec wrote: On Sep 1, 2008, at 12;24,41 , Mojca Miklavec wrote: For setting HOMETEXMF you can help yourself, though it would be nice if we provided a solution that worked out of the box. But I would like to get a confirmation from Hans that it's OK to do that. I have modified the texmf.cnf in ./Applications/ConTeXtMinimals/tex/texmf/web2c with the lines export HOMETEXMF=~/Library/texmf export TEXMF='{$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! $TEXMFEXTRA,!!$TEXMFMAIN}' but ConTeXt still does not find my personal texmf folder I probably told you wrong, but: 1.) you have HOMETEXMF first and then TEXMFHOME: these need to be equal 2.) unless you are following (3), don't modify the file in texmf/, but create /Applications/ConTeXtMinimals/tex/texmf-local/web2c/texmf.cnf instead, else the file will be overwritten at first update 3.) even then I'm not completely sure, but I guess that environmental variables override settings in texmf.cnf, so you either need to a) modify setuptex (rename it and run the renamed file instead of setuptex) b) only export PATH and not run setuptex at all; in that case values from texmf.cnf will be used - maybe you need to run mktexlsr or luatools --generate OK. One quick reply just to see if I am on track. I have created /Applications/ConTeXtMinimals/tex/texmf-local/web2c/ texmf.cnf where texmf.cnf now has export HOMETEXMF=~/Library/texmf export TEXMF='{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! (hopefully the line continues ...) The lines you have written here belong to setuptex, not to texmf.cnf. The syntax for setuptex is slightly different. HOMETEXMF = ~/Library/texmf # single line TEXMF = {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN} But try putting export HOMETEXMF=~/Library/texmf # single line export TEXMF='{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}' into setuptex (replace the old variables). The problem is that if you adapt texmf.cnf only, you still override those settings with setuptex. There is one thing that you could try (I never use TeXShop, but there's a change that it works): ~/Library/TeXShop/Engines/ConTeXt-pdfTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH texexec $1 Shouldn't that be export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel/bin:$PATH (Note the /bin at the end of the path, and same for all commands below). Aditya ___ 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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
Mocja---I will start with the second proposal and save the first for tomorrow. On Sep 1, 2008, at 17;38,50 , Mojca Miklavec wrote: On Mon, Sep 1, 2008 at 10:43 PM, Alan Bowen [EMAIL PROTECTED] wrote: On Sep 1, 2008, at 13;43,19 , Mojca Miklavec wrote: On Sep 1, 2008, at 12;24,41 , Mojca Miklavec wrote: For setting HOMETEXMF you can help yourself, though it would be nice if we provided a solution that worked out of the box. But I would like to get a confirmation from Hans that it's OK to do that. I have modified the texmf.cnf in ./Applications/ConTeXtMinimals/tex/texmf/web2c with the lines export HOMETEXMF=~/Library/texmf export TEXMF='{$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! $TEXMFEXTRA,!!$TEXMFMAIN}' but ConTeXt still does not find my personal texmf folder I probably told you wrong, but: 1.) you have HOMETEXMF first and then TEXMFHOME: these need to be equal 2.) unless you are following (3), don't modify the file in texmf/, but create /Applications/ConTeXtMinimals/tex/texmf-local/web2c/texmf.cnf instead, else the file will be overwritten at first update 3.) even then I'm not completely sure, but I guess that environmental variables override settings in texmf.cnf, so you either need to a) modify setuptex (rename it and run the renamed file instead of setuptex) b) only export PATH and not run setuptex at all; in that case values from texmf.cnf will be used - maybe you need to run mktexlsr or luatools --generate OK. One quick reply just to see if I am on track. I have created /Applications/ConTeXtMinimals/tex/texmf-local/web2c/ texmf.cnf where texmf.cnf now has export HOMETEXMF=~/Library/texmf export TEXMF='{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! (hopefully the line continues ...) The lines you have written here belong to setuptex, not to texmf.cnf. The syntax for setuptex is slightly different. HOMETEXMF = ~/Library/texmf # single line TEXMF = {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!! $TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN} But try putting export HOMETEXMF=~/Library/texmf # single line export TEXMF='{$HOMETEXMF,$TEXMFLOCAL,!!$TEXMFOS,!!$TEXMFCONTEXT,!! $TEXMFEXTRA,!!$TEXMFMAIN}' into setuptex (replace the old variables). The problem is that if you adapt texmf.cnf only, you still override those settings with setuptex. There is one thing that you could try (I never use TeXShop, but there's a change that it works): ~/Library/TeXShop/Engines/ConTeXt-pdfTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH texexec $1 Done. The “Hello world” file processes but using my texlive 2007 distribution. TeXExec | processing document 'hello.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file hello.top TeXExec | using randomseed 780 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %-line parsing enabled. (/usr/local/texlive/2007/texmf/web2c/natural.tcx) entering extended mode (./hello.tex ConTeXt ver: 2008.08.04 10:10 MKII fmt: 2008.8.31 int: english/ english ~/Library/TeXShop/Engines/ConTeXt-luaTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache context $1 Done. No joy. ConTeXt complains: /Users/alancbowen/Library/TeXShop/Engines/ConTeXt-luaTeX.engine: line 4: context: command not found ~/Library/TeXShop/Engines/ConTeXt-XeTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH texexec --xtx $1 Done. I t works, but TeXExec | processing document 'hello.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file hello.top TeXExec | using randomseed 403 TeXExec | tex engine: xetex TeXExec | tex format: cont-en This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6) %-line parsing enabled. entering extended mode (./hello.tex ConTeXt ver: 2007.01.12 15:56 MKII fmt: 2007.5.18 int: english/ english seems odd. I do not use XeTeX but I am guessing that this version is also in my Texlive 2007 distribution too. I do like the idea of defining different engines for pdftex and luatex, since it address one of my earlier queries about switching between the two with the minimals. More tomorrow. Warm thanks. Alan (sorry for two different proposals - I should probably only send you a single one) 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.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
On Sep 1, 2008, at 18;22,17 , Mojca Miklavec wrote: On Tue, Sep 2, 2008 at 12:13 AM, Alan Bowen wrote: Mocja---I will start with the second proposal and save the first for tomorrow. ~/Library/TeXShop/Engines/ConTeXt-luaTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache context $1 Done. No joy. ConTeXt complains: /Users/alancbowen/Library/TeXShop/Engines/ConTeXt-luaTeX.engine: line 4: context: command not found Oh, sorry again. export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel/bin: $PATH With this change in all the engines---thanks to Aditya too---ConTeXt- pdftex.engine and ConTeXt-XeTeX.engine now work as they should (which is great!) But running ConTeXt-luatex.engine gets MtxRun | skipping configuration for /Applications/ConTeXtMinimals/tex/ texmf-local/web2c from /Applications/ConTeXtMinimals/tex/texmf-cache/ luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/ 3beab8509a03fa29e95f93134a943a7f MtxRun | loading configuration for /Applications/ConTeXtMinimals/tex/ texmf/web2c from /Applications/ConTeXtMinimals/tex/texmf-cache/luatex- cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/ d9ef00871d7b11751a275cffd8a85753 MtxRun | error, no format found with name: cont-en MtxRun | total runtime: 0.010 But then: you have an intel processor, right? If not, change that line accordingly. (Check if you have binaries in that folder.) I have an Intel processor and there is a bin folder in ./Applications/ ConTeXtMinimals/tex/texmf-osx-intel/ 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.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
Mocja---Sorry! I should have added that with the ConTeXt-pdftex.engine and minimals now see my personal texmf too. So it is possible to get the desired outcome without changing setuptex. Still, I will test out your first proposal tomorrow and report. Cheers x 3. And many thanks. Alan On Sep 1, 2008, at 18;50,19 , Alan Bowen wrote: On Sep 1, 2008, at 18;22,17 , Mojca Miklavec wrote: On Tue, Sep 2, 2008 at 12:13 AM, Alan Bowen wrote: Mocja---I will start with the second proposal and save the first for tomorrow. ~/Library/TeXShop/Engines/ConTeXt-luaTeX.engine #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel:$PATH export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache context $1 Done. No joy. ConTeXt complains: /Users/alancbowen/Library/TeXShop/Engines/ConTeXt-luaTeX.engine: line 4: context: command not found Oh, sorry again. export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel/bin: $PATH With this change in all the engines---thanks to Aditya too---ConTeXt- pdftex.engine and ConTeXt-XeTeX.engine now work as they should (which is great!) But running ConTeXt-luatex.engine gets MtxRun | skipping configuration for /Applications/ConTeXtMinimals/ tex/texmf-local/web2c from /Applications/ConTeXtMinimals/tex/texmf- cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/ 3beab8509a03fa29e95f93134a943a7f MtxRun | loading configuration for /Applications/ConTeXtMinimals/tex/ texmf/web2c from /Applications/ConTeXtMinimals/tex/texmf-cache/ luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/ d9ef00871d7b11751a275cffd8a85753 MtxRun | error, no format found with name: cont-en MtxRun | total runtime: 0.010 But then: you have an intel processor, right? If not, change that line accordingly. (Check if you have binaries in that folder.) I have an Intel processor and there is a bin folder in ./ Applications/ConTeXtMinimals/tex/texmf-osx-intel/ 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.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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
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 (Installationsection 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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
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 (Installationsection 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 ___
Re: [NTG-context] Installing ConTeXt Minimals on a Mac
Alan Bowen wrote: 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 .bash_profile should be saved as a text file at the top level of your user account. That is, it should go right alongside the directories that are standardly installed, like Documents, Library, Movies, Music, Pictures, Public, and Sites. Note 1: the dot in front means it won't be visible in the Finder, absent further fiddling and trickery. Note 2: if you're using TeXShop, I think that these sorts of instructions go in engine files. If you look at the mac newbie installation instructions, you'll see that the bit about source ... is put into an engine file. I suspect, though I don't know, that the TEXMFHOME and TEXMF lines would be incorporated in a similar way. This may be an easier route to trying this sort of thing out than using .bash_profile. It may be *much* easier if you're supporting other people. Again, I don't know. By the way, Oliver B's problem appears to be resolved. Changes in the personal texmf tree are picked up now, without further intervention by the user. Good luck! 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 ___
[NTG-context] Installing ConTeXt Minimals on a Mac
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 (Installationsection 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 ___ 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 ___