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

4
votes
2answers
575 views

\usemodule and ConTeXt

I can't seem to use modules in ConTeXt: \usemodule[lettri] \starttext \lettrine{T}{his is a test} \stoptext When I run texexec on this, I get: ! Undefined control sequence. l.4 \lettrine ...
3
votes
1answer
153 views

ConTeXt's user namespace seems somewhat empty

With ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.12.18 int: english/english the ConTeXt code \starttext \message{one} \directlua{print(1)} \message{two} \usercode{print(2)} ...
7
votes
2answers
417 views

Augmented matrices in ConTeXt?

In LaTeX, I could use: \[ \left[\,\begin{array}{rr|r}2&-3&6\\ 3&4&-9\end{array}\,\right] \] However, in ConTeXt, especially if I want right-alignments of columns, I seem to have to ...
3
votes
1answer
582 views

Matrices in ConTeXt?

I'm typesetting up some linear algebra notes, and in the process moving from LaTeX to ConTeXt. What is the most efficient method of entering matrices in ConTeXt? I can use plain TeX: \startformula ...
18
votes
2answers
38k views

Node below and left of another node in TikZ

I am using TikZ to make flowchart kind of diagrams. I want to get a node below and to the left of another node. Please see the following example. I want the replicate the sort of relationship between ...
23
votes
1answer
9k 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 ...
8
votes
2answers
1k views

Libertine fonts not working in ConTeXt

In a previous question about vertical rhythm, I was pointed at ConTeXt, which I am now trying to use. I first took the step from LaTeX to luaLaTeX in order to get simplified font selection and the ...
8
votes
2answers
636 views

ConTeXt using LaTeX style files

I've just discovered ConTeXt for the first time, and it looks pretty sweet. However, it is near-useless to me if I cannot use LaTeX style files for formatting (i.e. for journal/conference papers). ...
1
vote
1answer
321 views

Times (or Termes) with protrusion/hanging in ConTeXt MkIV

On the ConTeXt wiki, http://wiki.contextgarden.net/Protrusion#MkIV, some examples are given of how to use Termes fonts and how to use microtypographical extensions. The bottom example works, but I ...
5
votes
1answer
189 views

Slashed characters in ConTeXt?

In LaTeX there is a slashed package which will put a nicely centered slash through an arbitrary symbol - the \not command provides an off-center slash on most symbols. How can I do this in ConTeXt? ...
6
votes
1answer
267 views

Is there a ConTeXt version of the LaTeX lefteqn?

What I want is to be able to set up equations like this: a very long first expression = the second line = and a third line = and maybe even a fourth In LaTeX, this would be ...
13
votes
1answer
739 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 ...
3
votes
1answer
454 views

Diagonal separator in table corner in ConTeXt

How can one create a diagonal separator in a table corner in ConTeXt (like the package slashbox for LaTeX)?
10
votes
1answer
3k views

How to delete/undefine macros in Context?

How can one delete or undefine macros in Context? Is there a difference if i've used \def or \define to create a macro?
4
votes
1answer
421 views

ConTeXt - indented table, but horizontal rules go to left margin

This will be my last ConTeXt question for a little while...I've set up \setuptabulate[indenting=yes,margin=40pt] This works only to the extent that the table cells are indented appropriately - but ...
9
votes
1answer
3k views

Extra vertical space between aligned equations in ConTeXt?

In LaTeX, I can use \\[3mm] for example, to put extra vertical space, if I think it will improve the readability of displayed, aligned equations. And in fact I find I do this quite a bit. But what ...
5
votes
1answer
249 views

How do I have all section titles, etc bold-faced, in ConTeXt?

I'm just experimenting with ConTeXt. At the moment, all my \section and \subject headings are appearing in large type. But I'd like them (and the \section numbers) all in bold-face. I've tried ...
3
votes
1answer
2k views

CV in ConTeXt, correspondence - moderncv

How should a minimal example of a CV look when written using the moderncv interface from the correspondence module? I'm still a bit confused about modules and interfaces so some hints on how to ...
7
votes
2answers
327 views

How to register a callback in ConTeXt

In ConTeXt mkiv, how do I register a callback? callback.register() does nothing (and IIRC most callbacks are frozen anyway) and somewhere I found tasks.appendaction, but this gives me an error that ...
7
votes
1answer
323 views

Different content if command returns empty text (ConTeXt)

I have the following code in my ConTeXt environment: \startsetups[sectioninfo] \ss \rlap{\userpagenumber} \hfill § \getmarking[sectionnumber][current] \emspace \bf ...
1
vote
2answers
254 views

t-vim: MTXrun using extra quotes

I'm trying to use the t-vim module for context installed from the TexLive 2010 basic package for Mac. The problem I'm running into is that MTXrun tries to quote too much when calling vim, for ...
4
votes
2answers
429 views

What is the most minimal code to work with ConTeXt?

What is the most minimal code to work with ConTeXt?
4
votes
1answer
844 views

How to fix error “ruby.exe seems not to be installed” in Windows 7 where both Miktex 2.9 and Ruby have been installed?

I have installed Miktex 2.9 with the latest update. I work with latex.exe successfully. I want to learn ConTeXt and I installed Ruby. To get better settings, I restart my computer. After restarting, ...
9
votes
1answer
1k views

Code highlighting in ConTeXt

What is the best way to highlight code when using ConTeXt? I am aware of support for specific languages, as described on the ConTeXt wiki, but it seems rather limited at present. I know that we could ...
56
votes
9answers
15k views

File extensions related to LaTeX, etc

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 ...
9
votes
2answers
497 views

How, in ConTeXt, can I get body text to align flush to the outside?

I'm using ConTeXt Mk IV, and I'd like the text in a two-page document to line up like so: +--------+--------+ + + + + xxx + xx + + xxxx + xxx + + xx + + + ...
9
votes
1answer
1k views

What is pronounciation of ConTeXt

How should I pronounce ConTeXt? In TeX and LaTeX x is χ so it is TeΧ and LaTeΧ. However the t after X make such pronounciation in ConTeXt difficult.
1
vote
1answer
308 views

Switching To ConTeXt Minimals: Missing Last Step for MacTeX 2010

While digging around in my texmf-dist/doc/context/document/general/manuals directory, as I'm want to do on a Sunday, I found the "tiptrick" PDF, which helpfully suggests that I can install the ConTeXt ...
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 ...
5
votes
1answer
683 views

Background color of cells in ConTeXt

I'd like to set the background colors for cells to indicate their relations. How can I do this in ConTeXt?
18
votes
3answers
808 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 ...
8
votes
4answers
781 views

ConTeXt / e-TeX Real Numbers?

I've been using LaTeX for about 6 years and the calc package for a long time. Therefore, not being able to use real / floating point numbers was never really a problem. I've been pouring over the ...
9
votes
2answers
312 views

How can I get multiple subject names in the header/footer of a ConTeXt document?

I am setting up a ConTeXt document that requires a very particular style for the footers. I need the first and last \subjects followed by the page number in the right corner of the page, like so: ...
127
votes
4answers
17k 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 ...
8
votes
1answer
311 views

ConTeXt mkIV and XML: how do you define a self-closing tag with no content to pass?

I am using TEI Lite, and trying to typeset with ConTeXt. TEI Lite defines <divGen type='toc' /> to signal the Table of Contents, which in ConTeXt is \completecontents Now I am trying this: ...
43
votes
8answers
8k 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 ...
5
votes
1answer
459 views

ConTeXt TABLEs width

I am using the "natural tables" in ConTeXt: \bTABLE \bTR \bTD 2 \eTD \bTD 3 \eTD \eTR \bTR \bTD 2 \eTD \bTD 3 \eTD \eTR \eTABLE How can I setup the table that the whole table uses a certain width? ...
3
votes
2answers
457 views

In ConTeXt: how to change the hsize locally?

In ConTeXt, I have text that is say 5cm wide. Once in a while I'd like to have a table or an image that sticks out of the right margin and is for example 10 cm wide. My idea is to have something like ...
6
votes
2answers
349 views

ConTeXt style/environment files for setting TEI?

Is there a repository of styles for typesetting XML, specifically TEI XML markup, using ConTeXt? I've been googling now for a week or so trying to dig up as much information as possible about ...
51
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 ...
13
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 ...
20
votes
7answers
3k 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. ...
314
votes
5answers
56k 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 ...