23.10.2014 Views

What is ConTeXt - Pragma ADE

What is ConTeXt - Pragma ADE

What is ConTeXt - Pragma ADE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1<br />

Rationale<br />

Occasionally I run into a description of ConT E Xt that contains observations<br />

that are somewhat off. It therefore makes sense to provide some insight in<br />

why th<strong>is</strong> macro package looks the way it looks. <strong>What</strong> started out as a T E X<br />

only system evolved via adding METAPOST to the current hybrid system that<br />

also uses and provides Lua. However, the original goals and principles are<br />

still valid.<br />

The system<br />

The T E X macro language and interpreter are about automated typesetting.<br />

A collection of predefined macros <strong>is</strong> called a macro package and ConT E Xt<br />

<strong>is</strong> such a package. The program that interprets the macros and converts<br />

input into typeset results <strong>is</strong> called the engine. An example of an engine <strong>is</strong><br />

LuaT E X. The graphic companion of T E X <strong>is</strong> METAFONT, or nowadays METAPOST<br />

and ConT E Xt integrates support for that graphical language and rendering.<br />

As ConT E Xt comes with a bunch of tools that manage the process it <strong>is</strong> a<br />

sort of typographic ecosystem. The input can be a document encoded in<br />

structured T E X code or it can be xml. In fact anything that makes sense<br />

can be processed if only because we can use Lua to convert it runtime. The<br />

output <strong>is</strong> in most cases pdf, but xml (or xhtml with CSS) <strong>is</strong> also an option. In<br />

addition to static printable documents you can produce highly interactive<br />

documents for screen and reader.<br />

The T E X system, and therefore ConT E Xt, are quite capable to produce high<br />

quality output, can handle many scripts and languages, are able to typeset<br />

mathematics and can keep up pretty well with developments, thanks to the<br />

open character of the whole system. There <strong>is</strong> an active community that<br />

takes care of the software d<strong>is</strong>tributions and develops the engines as well as<br />

additional resources like fonts. User groups play an important role in th<strong>is</strong>.<br />

The ConT E Xt system <strong>is</strong> supported by active mailing l<strong>is</strong>ts and a wiki.<br />

The syntax<br />

The syntax <strong>is</strong> rather straightforward and uses commands that start with a \,<br />

the curly braces {} for delimiting variable content and the square brackets

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!