What is ConTeXt?Edit
ConTeXt is a sophisticated document preparation system similar to LaTeX. Like LaTeX, it uses the TeX programming language with TeX typesetting engines to produce documents. The difference between the two is that ConTeXt has its own clean and consistent markup language for both defining the document structure, but also for adjusting the layout and typography precisely.
The latest version, ConTeXt MKIV has solved many of the restrictions of the earlier version MKII. It also supports Unicode by default and a lot of other modern features, such as enabling you to write Lua code in your documents to produce complex results easily. This tutorial focuses solely on MKIV.
The easiest way of installing ConTeXt is to use the minimals distribution. Another alternative is to use the ConTeXt provided in the TeXLive distribution. Below we describe the instructions for installing the minimals distribution.
Linux and Mac OSEdit
Steps to install ConTeXt:
- Create a directory for ConTeXt, for example /home/user/context and change to it
- Download ConTeXt minimals installer:
- To download the latest ConTeXt MKIV, run:
Every time you want to use context, you first need to tell bash where to find it. This is done by running:
source /home/user/context/tex/setuptexif you are using bash
source /installation-dir/tex/setuptex.cshif you are using (t)csh
You can put the line for example in your ~/.bashrc.
ConTeXt has a good selection of third party modules for different purposes. You can install them by:
You can install all things in the ConTeXt minimal distribution with:
first-setup.sh --context=beta --fonts=all --modules=all --goodies=all