ConTeXt


ConTeXt is a general-purpose document processor. It is especially suited for structured documents, automated document production, very fine typography, and multi-lingual typesetting. It is based in part on the TeX typesetting system, and uses a document markup language for manuscript preparation. The typographical and automated capabilities of ConTeXt are extensive, including interfaces for handling microtypography, multiple footnotes and footnote classes, and manipulating OpenType fonts and features. Moreover, it offers extensive support for colors, backgrounds, hyperlinks, presentations, figure-text integration, and conditional compilation. It gives the user extensive control over formatting while making it easy to create new layouts and styles without learning the low-level TeX macro language.
ConTeXt may be compared and contrasted with LaTeX, but the primary thrust of the two are rather distinct. ConTeXt from the ground up is a typography and typesetting system meant to provide users easy and consistent access to advanced typographical control—important for general-purpose typesetting tasks. The original vision of LaTeX is to insulate the user from typographical decisions—a useful approach for submitting e.g. articles for a scientific journal. LaTeX has evolved from that original vision; at the same time, ConTeXt's unified design avoids the package clashes that can happen with LaTeX.
ConTeXt provides a multi-lingual user interface with support for markup in English, Dutch, German, French, and Italian and support for output in many languages including western European, eastern European, Arabic-script, Chinese, Japanese, and Korean. It also allows the user to use different TeX engines like pdfTeX, XeTeX, and LuaTeX without changing the user interface.
As its native drawing engine, ConTeXt integrates a superset of MetaPost called MetaFun, which allows the users to use the drawing abilities of MetaPost for page backgrounds and ornaments. Metafun can also be used with stand alone MetaPost. ConTeXt also supports the use of other external drawing engines, like PGF/TikZ and PSTricks.
ConTeXt also provides a macro package for typesetting chemical structure diagrams with TeX called , as well as many other modules. This package can also be used with plain TeX and LaTeX.
Originally entitled pragmatex, ConTeXt was given its name around 1996. by Hans Hagen from , a Netherlands-based company.

License

ConTeXt is free software: the program code is distributed under the GNU GPL; the documentation is provided under Creative Commons Attribution NonCommercial ShareAlike license.
The ConTeXt and ConTeXt are documents copyrighted by Pragma, but there is a repository of the future new manual released under the GNU Free Documentation License. As of April 2009 there is an up-to-date version of the fonts and typography chapters.

Versions

Mark IV is the current version of ConTeXt. It's a development version and new features are being added constantly, although it is fully usable. There is also a frozen version called Mark II which is no longer maintained. The main difference between MkII and MkIV is that MkIV is based on the LuaTeX engine and MkII is based on pdfTeX and XeTeX. There are some documents describing the necessity of this change, how the process is being carried out, and its benefits. There are other minor differences between MkII and MkIV.
Apart from the new features of MkIV, the changes between the code of MkII and MkIV are not visible in the user interface. Both MkIV and MkII were released at the same time
The oldest version of ConTeXt is Mark I, in which all the low-level code is written in Dutch. It is unmaintained.

History

ConTeXt was created by Hans Hagen and Ton Otten of Pragma ADE in the Netherlands around 1991 due to the need for educational typesetting material.
Around 1996, Hans Hagen coined the name ConTeXt meaning "text with tex". Before 1996 ConTeXt was used only within Pragma ADE, but in 1996 it began to be adopted by a wider audience. The first users outside Pragma were Taco Hoekwater, Berend de Boer and Gilbert van den Dobbelsteen, and the first user outside the Netherlands was Tobias Burnus.
In July 2004, contextgarden.net wiki page was created.
ConTeXt low-level code was originally written in Dutch. Around 2005, the ConTeXt developers began translating this to English, resulting in the version known as MKII, which is now stable and frozen.
In August 2007, Hans Hagen presented the MKIV version, and the first public beta was released later that year.
During the ConTeXt User Meeting 2008, Mojca Miklavec presented , a distribution of ConTeXt containing the latest binaries and intended to have a small memory footprint, thus demanding less bandwidth for updates. In August 2008, this distribution was registered as a project in launchpad web site.
In June 2008, Patrick Gundlach wrote the first post in .
In July 2009, ConTeXt started .
In November 2010, the was created.
In April 2019, was announced.

Example of code

Making ConTeXt documents is simple: one makes a plain text file, and compiles it with the context script. The result of this process is a PDF file. An example is shown below.
ConTeXt documents come with the file extension.tex or an extension demarking the version required: .mkii, .mkiv, or .mkxl for regular TeX, .mkvi or .mklx for a dialect that supports named macro parameters in addition to TeX’s numeric ones.

Official pages