ConTeXt is a TeX macro package like LaTeX and eplain. It provides a consistent, key-value driven user interface, supports all TeX engines, is tightly integrated with LuaTeX & Metapost, and supports grid-typesetting, PDF/A, PDF/X, XML/XHTML & ePub export.

learn more… | top users | synonyms

253
votes
5answers
40k views

Differences between LuaTeX, ConTeXt and XeTeX

I’m interested in the differences and commonalities between the “new” (La)TeX processors: LuaTeX, XeTeX, and ConTeXt. Personally, I’ve only used XeTeX so far and without having the time to try out ...
103
votes
4answers
11k views

Why should I be interested in ConTeXt?

In the spirit of a free-form Friday on StackOverflow, I'd like to know if I should consider learning ConTeXt. What got me into LaTeX way back in 1994 was having structural markup that made longer ...
95
votes
9answers
9k views

Simulating hand-drawn lines

I am working on a project that will have some vector graphics, perhaps using TikZ (or a similar package). All of the graphics consists of lines, in shades of gray. However, the lines from TikZ appear ...
54
votes
2answers
1k views

If LaTeX is only a macro package, why does it have its own executable?

From other answers on this site and the FAQ of the TeX User Group my understanding is that: TeX is the original typesetting program, written by Knuth Omega, eTeX, pdfTeX, XeTeX, LuaTeX are engines. ...
46
votes
6answers
2k views

Where can I find good ConTeXt documentation

Where would be a good place to start learning ConTeXt if you haven't got a lot of experience under your belt yet? Any place online or in a bookstore is welcome, provided that the reading is ...
45
votes
5answers
1k views

Separation of content structure and style in LaTeX?

In HTML, over the last decade or so, there has been a strong push toward complete separation of content structure and style. Most websites are now built using HTML for structural mark-up, and CSS for ...
39
votes
8answers
6k views

Is anybody using TeX for business reporting?

Would TeX (LaTeX, ConTeXt, etc) be a good solution for PDF business reports that require dynamically generated graphs and tables? I need to create financial reports that must look top-notch in their ...
38
votes
7answers
7k views

File extensions of LaTeX-related files

In addition to the .tex and .dvi or .pdf files, TeX/LaTeX/ConTeXt produces and uses lots of other files. What do they do? Which ones are used to create the document and which ones are automatically ...
38
votes
2answers
1k views

Can one (more or less) automatically suppress ligatures for certain words?

One of the major attractions -- for me at least -- of typesetting my papers in (La)TeX is its automated and fully transparent use of typographic ligatures. However, as Knuth pointed out in the ...
29
votes
2answers
2k views

How do LaTeX3 and ConTeXt compare?

As I understand it, LaTeX3 is a rewrite of LaTeX to fix the shortcomings of LaTeX2e, and ConTeXt is another TeX-based language (set of macros like LaTeX?) that solves quite a few problems that are ...
25
votes
6answers
3k views

Persuade me to write my thesis in ConTeXt, or not

I'm going to write my master thesis in Computer Science, regarding Operation Research, (in Italian). I have about a month and a half to collect the results and write everything down. I have had a ...
23
votes
2answers
599 views

Porting the luatex/ConTeXt module “translate” to lualatex

In this question, which I posted a few weeks ago to TeX Stack Exchange, I asked how one should go about disabling specific ligatures (such as ff, fi, fl, and ffl) automatically for a list of ...
22
votes
3answers
427 views

How to search for information about ConTeXt in search engines?

I have a kind of strange question but I think it is a real problem: How do I find information about context in search engines? You can find some, but I think it is by far not all the information you ...
21
votes
3answers
626 views

Managing hundreds of separate components in a large document

I am making a workbook containing hundreds activities. Each activity appears as its own section and generally contains instructions, spaces to write or draw, and sometimes illustrations or diagrams to ...
19
votes
7answers
2k views

ConTeXt editors

There is a very active question about LaTeX editors and IDEs. I personally use Vim with LaTeX-suite for any latex editing, and I am very happy with it. Lately I began to use ConTeXt more and more. ...
18
votes
1answer
1k views

Converting ConTeXt document to HTML

For LaTeX, I used to rely on htlatex, latex2html, or more rarely tth. I know that we can use XML with ConTeXt, although I have no experience with this, and that Pandoc let us use Markdown syntax and ...
17
votes
1answer
291 views

What is the ConTeXt equivalent of LaTeX “\@.”

In English text, TeX follows the convention of putting extra space after a period by default, which I like. However, in the case of abbreviations it causes a problem. To suppress the extra space, ...
17
votes
2answers
325 views

Is there a “smoking gun” to distinguish between ConTeXt and plain TeX

I'm writing a tool to streamline some typesetting jobs, and I am having trouble distinguishing between plain Tex and ConTeXt. LaTeX is straightforward to recognise by the \documentclass command (or ...
16
votes
3answers
707 views

LaTeX equivalent of ConTeXt buffers

While creating a series of graphics (using TikZ) in ConTeXt, I frequently use ConTeXt's buffer to "copy-paste" code. Is there a LaTeX package that implements this feature? Since most LaTeX users may ...
16
votes
3answers
805 views

Rounded box around placeholder text that supports line breaking

I want to draw a rounded box around a piece of text like that: The left and right borders should be half circles and line breaking should be supported. This my code so far: \setuppapersize[A7] ...
14
votes
2answers
351 views

Devanagari/Indic in LuaTeX

As I gather from the mailing lists, LuaTeX is currently unable to render devanagari properly because it doesn't understand the complex ligature rules involved. This is my experience with test ...
14
votes
1answer
268 views

How to leave a blank space at the top of each page only for chapter and section titles in ConTeXt?

I have a document that looks like this: __________________ __________________ | | | | Chapter Title | Section ....... | | | ....... ....... | ...
13
votes
3answers
606 views

Can I make a command not gobble spaces?

(I'm using ConTeXt, but I suspect the answer will lie in plain TeX.) I've created an environment that takes one argument myBufferName, and stores its contents in a buffer of that name. Unfortunately, ...
13
votes
3answers
768 views

Which package is best/easiest for a TeX newbie to lay out a book for print?

This question may be a little general and is subjective, but I am asking because I am not sure where my (limited) time should be invested for the problem I have to solve (I'll detail that in a ...
13
votes
1answer
196 views

Which primitives does ConTeXt rename/move?

TeX's primitives can be renamed by macro formats/packages: this allows new/altered features or behaviours. Usually this is done such that the originals are still available ('renamed'): certainly ...
13
votes
2answers
521 views

If we are about to write a minimal ConTeXt primer, what to cover?

I need to write a ConText primer for those who never used ConTeXt, and have no LaTeX background. What should I cover in order to give a precise overview of this system?
12
votes
3answers
427 views

Which symbols need to be escaped in ConTeXt?

When writing "$" or "%" in a document, one must used \$ and \% so that they will be interpreted as symbols which should be displayed along with the text. What other symbols need to be escaped in ...
12
votes
3answers
1k views

What typesetting system should I use?

I have no experience with TeX or any other typesetting system. I am going to university soon and have been told that I should learn LaTeX as it will help with bibliographies and essay writing. I am ...
12
votes
3answers
396 views

Updated documentation of ConTeXt

I'm trying to decide which set of macros/typesetting system to learn. I tried Latex2e for a while, but I was very disappointed that it didn't work nicely with Unicode and that in my tryout I had many ...
12
votes
1answer
700 views

Using ConTeXt Commercially …

This webpage, http://tex.loria.fr/formats/context/base/readme.pdf, and many others explicitly state that ConTeXt must not be used for some purposes; e.g. competing with Pragma ADE. However, the ...
12
votes
1answer
322 views

ConTeXt: How do you create your own commands?

There seems to be a Current and Standard way to define new (core) commands in ConTeXt. For example, an e-mail by Wolfgang states: Many of the \define... and \setup... commands are now auto ...
12
votes
1answer
708 views

How to prevent extra spaces between two specific words when justification occurs?

My document contains many short, justified lines, so the lines often appear with many spaces between words, e.g.: These words have a space so that they can fit nicely into the available ...
12
votes
1answer
357 views

When compiling in ConTeXt, context vs texexec

I'm interested in learning ConTeXt. In the past I've mainly used LyX, and a bit of LaTeX recently. I was reading Berend de Boer's introduction to ConTeXt, and pretty much the first thing he said about ...
11
votes
2answers
417 views

Does ConTeXt ever require multiple passes to compile?

When I compile my ConTeXt document with context file.tex, it seems that the compiler compiles the code several times. I have never noticed any messages, common in pdflatex, asking me to compile the ...
11
votes
6answers
354 views

List of all modules in ConTeXt

Is there a comprehensive updated list of modules currently maintained? The ConTeXt wiki page for modules provides some but I am not sure if it is updated and which ones would be obsolete. It would be ...
11
votes
2answers
484 views

Create a font table for all available characters for a particular font

Similar to the question: Lualatex: Font table with examples I have several ornamental fonts and I'd like to create key maps. That is, I want to know what symbol the letter a maps to by having a nice ...
11
votes
1answer
5k views

Setting unit length in TikZ?

As I understand it, the basic unit length in TikZ is 1cm, so that for example \draw (0,0) -- (1,0); draws a line 1cm in length. What I want to do is to redefine that length so that all drawings in ...
11
votes
2answers
760 views

Status of TiKz with ConTeXt MkIV

Whats the recent status of TiKz support in ConTeXt MkIV? I'm asking because in pgfmanual 2.10 on page 25 it says: Note that pgf/TikZ is not supported by recent ConTEXt versions (like mark IV, the ...
11
votes
5answers
2k views

Centering a ragged right text block in ConTeXt?

I am trying to typeset a book of poems that I wrote in ConTeXt. Consider the following: \definehead[PoemTitle][section] \setuphead[PoemTitle][number=no, page=yes, style=\sc] \starttext ...
11
votes
1answer
537 views

Two-column layout with thick vertical rule in ConTeXt

Background I would like to add a thick rule centered between two columns. Example Code A minimum working example that illustrates the issue: \setupcolors[state=start] ...
11
votes
1answer
197 views

standardmakeup layer in ConTeXt

Need to place a PDF file as a watermark behind the title page and part break pages. These have been laid out using \standardmakeup. Have created the layer and can place it on a normal text page but ...
10
votes
2answers
294 views

How to put signature number in footer (derived from page number)?

To make my book easier to bind I'd like to automatically put the signature number with small type in the footer of the first page of each octavo signature (except the first one which is given since it ...
10
votes
2answers
320 views

How to let text flow around irregular-shaped graphics in ConTeXt?

I have some illustrations which I need to scan and place within a document. The illustrations come in various shapes, with no straight edges, and are bound by lots empty white space, e.g.: ...
10
votes
1answer
272 views

Porting LaTeX packages to ConTeXt modules

From seeing quite a few questions here, it seems ConTeXt is often able to easily address problems that LaTeX has a hard time with. I'd be willing to give it a try, but there is one package that I ...
10
votes
1answer
507 views

Availability of LaTeX packages' functionality in ConTeXt, XeTeX, and LuaTeX

I am considering trying out ConTeXt, XeTeX, and LuaTeX, but one concern of mine is the fact that I am using a large number of LaTeX packages. There are a number of questions comparing these TeX ...
10
votes
1answer
341 views

Accessing font ornaments from ConTeXt

I'm having difficulty accessing font ornaments from ConTeXt. I'm using mkiv. I have a font and I know it has fancy ornaments in it because I see them in the spec sheet. I don't understand what to do ...
10
votes
1answer
139 views

Where to find a comprehensive overview of the features of the ConTeXt cite command?

I need to use the \cite command in ConTeXt very often for in-text citations in APA format, in a wide range of forms, e.g.: (Author, YYYY) Author (YYYY) (Author, YYYY, p. n) Author (YYYY, p. n) ...
10
votes
1answer
461 views

Where to find the source code to the ConTeXt manuals?

Quite a number of helpful manuals can be found at the Web page of PRAGMA ADE. Some have some very interesting designs. I wonder, is there a place to download the source code for some or all of these ...
10
votes
1answer
213 views

How to debug METAPOST inlined in ConTeXt? (Or “message” primitive and “loggingall;” in inlined METAPOST)

I have a METAPOST program that works fine with mpost, but fails when I try to run it inline in ConTeXt. In order to debug it, I would like to see the usual METAPOST logging and/or to use the METAPOST ...
10
votes
1answer
521 views

Context: Placing float (figure) and text-top at same height

I would like my figures to be flush with the text line beside them if they are positioned left or right and top. Currently the top edge of the figures are roughly flush with the 2nd line. This seems ...