Changes

Jump to navigation Jump to search
317 bytes removed ,  18:48, 17 July 2014
m
Cleaned up usage section
ConTeXt suite works in a non-interfering manner because it does not put anything in your <code>$PATH</code> and does not set any system variables. This in turn means that in order to use it, you need to do some initialization. An intialization script called <code>setuptex</code> is provided in <code>installation-dir/tex/</code>.
If you === Terminal/Command line === To run context from a terminal, source <code>setuptex</code> like so:
source /installation-dir/tex/setuptex
=== Exclusive usage === If you always use ConTeXt suite and '''never''' use LaTeX or plain TeX provided by another TeX distribution, you can add the following line to the startup script of your shell (For bash, the startup script is <code>$HOME/.bashrc</code>; for zsh it is <code>HOME/.zshrc</code>).  source /installation-dir/tex/setuptex
The above method means that you always have to type <code>source /installation-dir/tex/setuptex</code> in a terminal before you can use typeset. If you always use ConTeXt suite and never use LaTeX or plain TeX provided by another TeX distribution, you can add the above intialization line to the startup script of your shell. For bash, this means <code>$HOME/.bashrc</code>; for zsh, this means <code>$HOME/.zshrc</code>; for (t)csh, this means <code>$HOME/.cshrc</code> or <code>$HOME/.tcshrc</code>. Then, <code>setuptex</code> will always be sourced in your terminal.
=== Integrating with an editor ===
If you The easiest way to run ConTeXt from an editoris to open a terminal, you need to source {{code|setuptex}} in a the terminal , and then open your editor '''from the same terminal'''. Another option is to add {{code|/installation-dir/tex/texmf-<platform>/bin}} to the {{code|$PATH}} that the editor searches. The details vary depending on the editor. See [[Text Editors]] for instructions on integrating ConTeXt with various editors.
Depending on how your editor initializes, you may still need to source {{code|setuptex}} in order to run ConTeXt directly from your editorFor information about configuring [http://smultron.sourceforge. In theory, it is sufficient to add {{code|net/ Smultron] and [http://installation-dirwww.uoregon.edu/tex~koch/texmf-<platform>texshop/bin}} to your {{code|$PATH}} in order to use the suiteobtaining. You can try to add this to the paths that your editor searcheshtml TeXShop] (which are popular TeX editors on Mac) see [[ConTeXt Standalone/Mac Installation]].
For information about configuring [http://smultron.sourceforge.net/ Smultron] and [http://www.uoregon.edu/~koch/texshop/obtaining.html TeXShop] (which are popular TeX editors on Mac) see [[ConTeXt Standalone/Mac Installation]]. For a list of text editors with ConTeXt integration, see the article on [[Text Editors|text editors]].
== Updating ==
cd /opt/context
rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
sh ./first-setup.sh --modules=all
</pre>

Navigation menu