Changes

Jump to navigation Jump to search
544 bytes added ,  17:21, 13 August 2017
correct command (whoami instead of who am i)
For easier your connivance you can copy all the commands in this block, paste it into the Terminal and hit RETURN:
mkdir $HOME/context
cd $HOME/context
rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh .
sh ./first-setup.sh --modules=all --engine=luatex
== Mac Configuring ConTeXt-Aware Editors: TeXShop, TeXworks, Texpad on the Mac ==
Typically, both most editors work out of the box with MacTeX, but if you are using a version earlier than those shipped with MacTeX 2011 (TeXShop 2.42) , or if you would like to use the Standalone distribution (ConTeXt Suite), you need to configure engines for ConTeXt manually.
=== TeXShop ===
* Start the Terminal you will find it in the Utility-folder in the Applications-folder
* find what Find your username is , if you do not know it already.<p>The command <code>whoami</code> will output your user name.</p> who am i the first word of the result is your username
* Open the standard MKIV engine for TeXShop enter
open -a TeXShop $HOME/Library/TeXShop/Engines/ConTeXt\ \(LuaTeX\).engine
* Save the engine with a new Name "ConTeXt Suite":
option click on the File menue menu
choose "Save As …"
change (LuaTeX) in the Name field to Suite
hit return
* change Change the set path line to:
set path= (/Users/username/context/tex/texmf-osx-64/bin $path /usr/local/bin)
If you installed in a different location then change /Users/username/context/ to the location where you
installed ConTeXt standalone. ''Do not forget to change username in the line above to your actual username!!''
* save Save the file again
use either the file menu or cmd-s
4. Relaunch Texpad. Open or create your ConTeXt document.
5. In the drop-down menu (which establishes the Typeset Chain) on the toolbar's far left of the toolbar, select "Typeset configuration > Manual"; click "Use a .tpbuild script", and select "ConTeXt_Suite".
Note that the second step assumes that you have installed your ConTeXt standalone in your $HOME directory. If, instead, you've installed it in your Applications directory or elsewhere, simply replace $HOME with the relevant path.
=== BBEdit ===
 
There is a [https://github.com/pmazaitis/ConTeXtBBLM BBEdit Language Module] for ConTeXt that supports:
 
* Syntax highlighting
* Code folding
* Navigation by headings and callouts
* Integrated navigation to included files
* Command completion
 
To install, download the [https://github.com/pmazaitis/ConTeXtBBLM/releases current release], unzip, and drag the language module onto the BBEdit icon.
== Skim (PDF viewer) ==
139

edits

Navigation menu