Nepedia
Back to Discover
Advanced Reader
💻

Context

technology Maturity 11-13 war conflict Next article →

This article covers sensitive topics: war_conflict. Parents can manage visibility in Parental Controls.

ConTeXt is a general-purpose document processor designed for high-quality typesetting. It is derived from the TeX typesetting system, which is a foundation for many digital printing tools. ConTeXt is specifically built for structured documents and automated production. It excels at fine typography, which means it allows for extremely precise control over how text and symbols appear on a page. This makes it a powerful choice for multilingual typesetting and complex layouts.

ConTeXt Unofficial Logo
ConTeXt Unofficial Logo

The mechanism for creating a document in ConTeXt is a straightforward process. A user begins by writing in a plain text file. This file uses a document markup language to provide instructions for the layout. Within this file, the user can define elements like colors, backgrounds, hyperlinks, and footnotes. They can also integrate figures and manage complex page layouts. Once the text is ready, the user runs a compilation script. This script processes the markup and turns the text into a finished PDF file. It can also generate a DVI file.

ConTeXt output EN
ConTeXt output EN

ConTeXt provides several distinct tools and engines to handle different tasks. For drawing, it integrates a native engine called MetaFun. MetaFun is a superset of MetaPost, which allows users to create intricate page backgrounds and ornaments. Users can also choose to use external drawing engines like PGF/TikZ or PSTricks. For scientific needs, ConTeXt includes a macro package called PPCHTeX. This specific module allows users to typeset chemical structure diagrams. The system is also highly flexible regarding its underlying engines. It can run on LuaTeX, known as MkIV, or the newer LuaMetaTeX, known as LMTX. Older versions relied on pdfTeX or XeTeX.

The history of ConTeXt began in the Netherlands around 1990. It was created by Hans Hagen and Ton Otten of the company Pragma ADE. Originally, the project was titled pragmatex. Around 1996, Hans Hagen gave it the name ConTeXt. This name is derived from a Latin preposition meaning "together with," signifying "text with TeX." Before 1996, the software was used only within Pragma ADE. After 1996, it was adopted by a wider audience. In 2005, developers began translating the low-level code from Dutch into English. This transition led to the stable MkII version. By 2010, the ConTeXt Group was officially registered.

Technological evolution has defined the different versions of the software. The current version is LMTX, which was introduced in April 2019. LMTX is the successor to the Mark IV (MkIV) version. The principal difference is that LMTX uses a specialized compilation and scripting engine called LuaMetaTeX. This engine was heavily optimized specifically for ConTeXt use. Earlier versions like MkII and MkI are no longer maintained. In 2008, a distribution called ConTeXt Minimals was presented. This version was designed to have a small memory footprint and require less bandwidth for updates.

ConTeXt offers significant advantages in terms of user control and language support. It provides a multilingual user interface that supports English, Dutch, German, French, and Italian. It can also output many different scripts. These include Western European, Eastern European, Arabic, Chinese, Japanese, and Korean. Unlike LaTeX, which was originally designed to insulate users from typographical decisions, ConTeXt aims for straightforward access to advanced control. This design helps prevent the package clashes that users often experience in other systems. It allows users to create new layouts and styles without needing to learn low-level TeX macro language.

Because of its deep roots in TeX, ConTeXt connects to many broader fields of digital publishing. It serves as an alternative or a complement to LaTeX, especially for users who need more automated control. Its ability to handle conditional compilation and figure-text integration makes it useful for professional document engineering. By combining powerful drawing engines with sophisticated text handling, it bridges the gap between simple word processing and complex graphic design. This makes it a vital tool for anyone requiring high-level, consistent, and automated typesetting.

641 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:ConTeXt Unofficial Logo.svg
ConTeXt Unofficial Logo.svg
File:ConTeXt output EN.svg
ConTeXt output EN.svg
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.