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

3
votes
1answer
3k views

Double stroke math

I recently started using ConTeXt and am trying to figure out how to place number sets. Namely, how do I get the natural number and real number sets to look like they do in LaTeX, (i.e. \mathbb{N} and \...
5
votes
1answer
616 views

AMSsymb in ConTeXt

Where can I find some of the functionality, namely the symbols, from the LaTeX package AMSSymb in ConTeXt? For example, how do I place a \blacksquare? Is there an equivalent in ConTeXt? I didn't find ...
3
votes
1answer
697 views

Center ConTeXt table horizontally

Although my table is only so wide and inside a alignment[middle] environment, it doesn’t get centered and stays left aligned. (For ConTeXtians: right aligned :)) I tried a hack and add an empty ...
3
votes
1answer
3k views

Inline Math in Display Mode

I know how to have inline math typeset as in display mode in LaTeX, i.e summations with the index below the sigma, but I'm trying to learn ConTeXt and cannot figure out how to do it. Any thoughts? Is ...
3
votes
2answers
447 views

Adding a frame and background color to floats in ConTeXt

I am trying to decorate the floats in my thesis as follows: each float shall have a top/bottom frame in a custom color, the caption and content of each float are supposed to have the same background ...
1
vote
1answer
380 views

ConTeXt manual ToC style

How can i replicate the table of contents style from the ConTeXt manual with ConTeXt? In particular, I like that page numbers are not aligned right und sections have no line breaks between them. ...
1
vote
2answers
1k views

Matlab, Inkscape, ConTeXt and automatic image conversion?

I want to use matlab plots in my ConTeXt document, but preprocess them in Inkscape. I wonder if there is some recommended workflow. So far what I'm doing is this: save matlab figure as 'fig', so I ...
13
votes
2answers
570 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?
2
votes
1answer
535 views

How to place the subject line under the greeting line in t-letter module in ConTeXt?

I'm writing a letter using the t-letter module available with ConTeXt. I want the subject line to be underneath the greeting line, but I can't work out how to do it. I think it is something like: \...
1
vote
0answers
277 views

How To Add MarVoSym Font to Context on Windows ? [closed]

I have context source file containing \definefont[Dings][name:MarVoSym] and I import it via \input . When I run context on my source, I always get ! Font \**Dings**:=MarVoSym at 11.0pt not ...
6
votes
1answer
420 views

Rotate a placetable/placefigure plus caption in ConTeXt?

I've a large table, which I want to rotate to fit onto one page. My current solution looks like: \placetable{some text} {\rotate[rotation=90]{ \starttable[...] .... \stoptable}} But ...
2
votes
1answer
354 views

How to compile a ConTeXt input file that contains PSTricks code?

I can compile the following input file using context filename unless I un-comment the PSTricks code. \usemodule[pstricks] \setuphead[title][style={\ss\bfd}, before={\begingroup}, after={John ...
7
votes
1answer
495 views

Show current section or chapter in header in ConTeXt

I've found this command: \setupheadertexts[][{\getmarking[sectionnumber]\ \getmarking[section]}] to show the current section in the header. But how can I show either the current chapter or the ...
2
votes
1answer
182 views

Problems with Terminal output garbled when using ConTeXt

when using texexec to compile my documents my terminal is sometimes garbled, so I can't read any error messages anymore :( But since this only happened a very few times, I couldn't be really bothered ...
7
votes
2answers
986 views

Improving the legibility of a pdfTeX produced PDF on Google Docs

My draft dissertation (google docs link here) shows up remarkably poorly on google docs. It was rendered on ConTeXt MkIV with the default pdf engine (pdftex, I believe.) What steps do I need to take ...
4
votes
3answers
815 views

Floating a sidebar into the margin with ConTeXt

I would like to use \framedtext to create a grey sidebar that floats to the right of the text. While I've discovered framedtext, I haven't figured out how to place it such that it floats with text ...
6
votes
1answer
367 views

Automatically assigning abbreviations to an index in ConTeXt

I'm using ConTeXt to provide layout for my thesis across many files comprising the project. I would like to automatically generate an index based on keywords and abbreviations with minimal hinting by ...
4
votes
2answers
594 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
155 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
420 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
597 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 \...
19
votes
2answers
40k 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 ...
24
votes
1answer
10k 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
640 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
322 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
190 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
268 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
742 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
456 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
423 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
265 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
335 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
324 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 \getmarking[section][...
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 example:...
4
votes
2answers
432 views

What is the most minimal code to work with ConTeXt?

What is the most minimal code to work with ConTeXt?
4
votes
1answer
858 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 ...
59
votes
9answers
16k 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
501 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
309 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 \PoemTitle{...
5
votes
1answer
693 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?
20
votes
3answers
825 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
785 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
314 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: ...