ConTeXt

ConTeXt
ConTeXt
The Unofficial ConTeXt logo (contextgarden.net logo)
Original author(s) Mainly Hans Hagen and Pragma ADE
Developer(s) Mainly Hans Hagen, Taco Hoekwater,[1] Aditya Mahajan, Mojca Miklavec, Wolfgang Schuster
Stable release Mark II/Mark IV / May 18, 2011; 5 months ago (2011-05-18)[2][3][4]
Operating system Multiplatform (TeX)
Type Document processor, Document markup language
License Program code under Creative Commons GNU General Public License and Documentation under Creative Commons Attribution-Noncommercial-Share Alike 3.0[5]
Website contextgarden

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, say, 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.[6][7]

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.[7]

As its native drawing engine, ConTeXt integrates a superset of MetaPost called MetaFun[7] 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[8] and PSTricks.[9]

ConTeXt also provides a macro package for typesetting chemical structure diagrams with TeX called PPCHTeX,[10] as well as many other modules.[9][11][12] This package can also be used with plain TeX and LaTeX.

ConTeXt was developed from 1990[citation needed] by Hans Hagen from PRAGMA Advanced Document Engineering (Pragma ADE), a Netherlands-based company.

Contents

License

ConTeXt is free software: the program code (i.e. anything not under the /doc subtree) is distributed under the GNU GPL; the documentation is provided under Creative Commons Attribution NonCommercial ShareAlike license.[13]

The ConTeXt official manual (2001) and ConTeXt official mini tutorial (1999) are documents copyrighted by Pragma, but there is a repository of the future new manual[14] released under the GNU Free Documentation License.[15][16] As of April 2009 there is an uptodate version of the Fonts and Typography chapters.[17]

Versions

Mark IV (abbreviated MKIV) 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 (abbreviated MKII) which is still maintained. The main difference between MKII and MKIV is that MKIV is based on the LuaTeX engine[18] and MKII is based on pdfTeX and XeTeX[19] (although one could select the TeX engine used in ConTeXt[20]). There are some documents describing the necessity of this change,[21] how the process is being carried out, and its benefits.[22] There are other minor differences between MKII and MKIV.[23]

Apart from the new features of MKIV, the changes between the code of MKII and MKIV are not visible in the user interface (in syntax document level). Both MKIV and MKII were released at the same time[24]

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[25] and Ton Otten of Pragma ADE in the Netherlands[26] around 1991[27][28] due to the need for educational typesetting material.

Around 1996, Hans Hagen coined the name ConTeXt meaning "text with tex" (con-tex-t; "con" is a Latin preposition meaning "together with").[25] 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.[25]

In July 2004, contextgarden.net wiki page was created.[27][29]

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[citation needed].

In August 2007, Hans Hagen presented the MKIV version,[28][30] and the first public beta was released later that year.[31]

During the ConTeXt User Meeting 2008, Mojca Miklavec presented[32] ConTeXt Minimals, a distribution of ConTeXt containing the latest binaries and intended to have a small memory footprint, thus demanding less bandwidth for updates.[33] In August 2008, this distribution was registered as a project in launchpad web site.[34]

In June 2008, Patrick Gundlach wrote the first post[35] in ConTeXt blog.

In July 2009, ConTeXt started git repository.[36]

Example of code

Making ConTeXt documents is simple: one makes a plain text file (typically with .tex extension), and compiles it with the texexec script.[37] The result of this process is a PDF file (ConTeXt also can generate a DVI file). An example is shown below.

% This line is a comment because % precedes it.
% It specifies the format of head named 'title'
% Specifically the style of the font: sans serif
% + bold + big font.
 
\setuphead[title][style={\ss\bfd},
    before={\begingroup},
    after={John Doe, the author\smallskip\currentdate\bigskip\endgroup}]
 
\starttext
 
\title{\CONTEXT}
 
\section{Text}
\CONTEXT\ is a document preparation system for the \TEX\ typesetting
program. It offers programmable desktop publishing features and extensive
facilities for automating most aspects of typesetting and desktop
publishing, including numbering and cross-referencing (for example
to equation \in[eqn:famous-emc]), tables and figures, page layout,
bibliographies, and much more.
 
It was originally written around 1990 by Hans Hagen. It could be an
alternative or complement to \LATEX.
 
\section{Maths}
With \CONTEXT\ we could write maths. Equations can be automatically numbered.
 
\placeformula[eqn:famous-emc]
\startformula
    E = mc^2
\stopformula
with
\placeformula[eqn:def-m]
\startformula
    m = \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}
\stopformula
 
\stoptext
ConTeXt document

See also

References

  1. ^ Dave Walden interview with Taco Hoekwater. TeX User Group 2006.
  2. ^ Release notes of ConTeXt at contextgarden
  3. ^ List of releases of ConTeXt
  4. ^ ConTeXt files in Supelec
  5. ^ Readme First (license of ConTeXt code and documentation)
  6. ^ FAQ of the UK TeX Archive
  7. ^ a b c "What is ConTeXt" page at contextgarden
  8. ^ PGF/TikZ official manual. Version 2.0. Section 9.1.3 "Using the ConTeXt Format". p. 88
  9. ^ a b List of ConTeXt modules at contextgarden
  10. ^ PPCHTeX Module for ConTeXt reference page at contextgarden
  11. ^ List of ConTeXt modules (static page)
  12. ^ List of ConTeXt modules in web server for downloading
  13. ^ Hagen, Hans (2005-11-24). "Read Me". http://wiki.contextgarden.net/Read_Me. Retrieved 2010-07-13. 
  14. ^ Repository of new reference manual
  15. ^ License notice of new official manual
  16. ^ Part of thread about context manual where Taco Hoekwater recognises that new manual is licensed under the GFDL and he should put license note on the current directory of manual
  17. ^ Up-to-date chapters of manual: Fonts and Typography. April 2009.
  18. ^ MKIV reference manual. (page 7)
  19. ^ LuaTeX support page. In this page there is a comment that MKII is based on pdfTeX and XeTeX while MKIV is based on LuaTeX.
  20. ^ TeX processors in ConTeXt
  21. ^ Hans Hagen "ConTEXt MkIV: Going UTF". TUGboat, Volume 28 (2007), No. 3 — Proceedings of the 2007 Annual Meeting. p314-316 (pdf)
  22. ^ Hans Hagen "MKII-MKIV". MAPS journal 34. p. 9-21 (pdf)
  23. ^ MKIV differences at context wiki
  24. ^ FAQ of ConTeXt
  25. ^ a b c Dave Walden interview Hans Hagen. TeX User Group 2006.
  26. ^ "Ask Nelly ..." PracTeX Journal. TeX User Group. 2005. Includes an example of ConTeXt document with source code.
  27. ^ a b Taco Hoekwater "A short History of $2^4$ parts". ConTeXt User Meeting 2007 (march 24)
  28. ^ a b Programme of the ConTeXt User Meeting 2007
  29. ^ contextgarden 5th birthday on 24 July 2009
  30. ^ Hans Hagen The Road to MKIV. ConTeXt User Meeting 2007.
  31. ^ MKIV at contextgarden
  32. ^ ConTeXt User Meeting 2008 web page
  33. ^ ConTeXt Minimals web page
  34. ^ ConTeXt at Launchpad.net
  35. ^ First ConTeXt blog post
  36. ^ Post of announce of git repository
  37. ^ "TeXEXEC explained" manual. Pragma ADE.

External links

Official pages

Manuals and tutorials

Comparison between ConTeXt and LaTeX


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?
Synonyms:

Look at other dictionaries:

  • ConTeXt — Entwickler Hauptsächlich Hans Hagen und Pragma ADE Aktuelle Version Mark IV (31. Oktober 2008) …   Deutsch Wikipedia

  • Context —  Ne doit pas être confondu avec ConTEXT. ConTeXt est un logiciel de composition de documents basé sur le système TeX, regroupant une collection de macro commandes. ConTeXt a été conçu avec les mêmes objectifs d usage universel que LaTeX avec …   Wikipédia en Français

  • Context — may refer to: Context (language use), the relevant constraints of the communicative situation that influence language use, language variation, and discourse summary Archaeological context, an event in time which has been preserved in the… …   Wikipedia

  • ConTEXT — 250px ConTEXT v0.98.6 Developer(s) ConTEXT Project Initial release ? Stable release …   Wikipedia

  • context — CONTÉXT, contexte, s.n. 1. Fragment dintr o scriere în cadrul căruia se găseşte un cuvânt, o expresie, un pasaj etc. interesant. ♦ Text, cuprins. 2. fig. Conjunctură, situaţie specifică, circumstanţă, stare de lucruri într un anumit moment. – Din …   Dicționar Român

  • ConTeXt — es un sistema de composición de textos basado en TeX. Siendo más reciente que el principal macro de TeX, LaTeX, es más modular en su concepción y más monolítico en su implementación. Por ejemplo, los gráficos vectoriales basados en TeX están… …   Wikipedia Español

  • context — I noun argumentum, background, circumstance, coloring, connection, connotation, extended meaning, force, gist, implication, import, main meaning, meaning, mode of expression, purport, range of meaning, scope, sense, subject matter, sum and… …   Law dictionary

  • Context — Con*text , a. [L. contextus, p. p. of contexere to weave, to unite; con + texere to weave. See {Text}.] Knit or woven together; close; firm. [Obs.] [1913 Webster] The coats, without, are context and callous. Derham. [1913 Webster] …   The Collaborative International Dictionary of English

  • context — [kän′tekst΄] n. [ME < L contextus, a joining together, orig., pp. of contexere, to weave together < com , together + texere, to weave: see TECHNIC] 1. the parts of a sentence, paragraph, discourse, etc. immediately next to or surrounding a… …   English World dictionary

  • Context — Con text, n. [L. contextus; cf. F. contexte .] The part or parts of something written or printed, as of Scripture, which precede or follow a text or quoted sentence, or are so intimately associated with it as to throw light upon its meaning.… …   The Collaborative International Dictionary of English

  • Context — Con*text , v. t. To knit or bind together; to unite closely. [Obs.] Feltham. [1913 Webster] The whole world s frame, which is contexted only by commerce and contracts. R. Junius. [1913 Webster] …   The Collaborative International Dictionary of English

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”