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

116
votes
11answers
12k 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 ...
1
vote
2answers
284 views

Which package is this document using for frames and boxes?

The following document (pdf) uses ConTeXt. The source file is too complicated for me to understand and I don't really know ConTeXt. Does anyone know what equivalent LaTeX packages generate similar ...
4
votes
0answers
331 views

A plot using tikz is giving very odd results [closed]

I'm trying to include a plot of tan(x) in some student notes. Here is my input (using ConTeXt): \usemodule[newmat,tikz,pgfmath] \usetikzlibrary[arrows] \starttext \starttikzpicture[scale=0.65] ...
25
votes
2answers
745 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 pre-...
4
votes
0answers
133 views

Access table of available fonts [duplicate]

Possible Duplicate: How do I get a list of all available fonts for luaotfload? I wonder if there is a possibility to display all available fonts in the normalised form (see below). The LuaTeX ...
4
votes
2answers
724 views

How was this TeX showcase ConTeXt book made?

I found a very interesting book design in the TeX showcase (pp.pdf/pp.tex): http://www.tug.org/texshowcase/ Does the source really have enough information inside to produce such nice formating? Can ...
7
votes
1answer
379 views

Context Project Seems to Ignore Products

When I typeset the following project, it seems that the products aren't being found. I can typeset the product itself without any trouble, but typsetting the project as a whole doesn't generate a PDF ...
4
votes
1answer
318 views

Remove date from the french style for the ConTeXt letter module

I'm using the ConTeXt's letter module with the french style but I don't want the date do appear. I tried to setup an empty list of elements to display but it didn't work, \setupletter [list={}] ...
7
votes
1answer
450 views

CritTeXt — any sign of life?

I've been fascinated by the announcements of the upcoming features of CritTeXt in 2007. As I learned from a thread on NTG-context from early 2010 we shouldn't expect a dedicated package, but that ...
33
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 ...
2
votes
1answer
384 views

Unicode works in mkii but not in mkiv

I have been using texexec which, as I understand it, is mkii. I have several documents that have unicode in them and typeset perfectly using texexec. However, texexec seems to have trouble with ...
10
votes
1answer
299 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 ...
39
votes
2answers
2k 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 TeXbook,...
7
votes
1answer
293 views

Creating a ConTeXt/LaTeX hybrid module

I have a simple titlepage, which I want to make available for ConTeXt- as well as LaTeX users. Each should just type \usemodule[myTitlepage], or \usepackage{myTitlepage}, respectively. I want to do ...
6
votes
1answer
954 views

CMYK ConTeXt colors in TikZ

Colors defined via the internal \definecolor macro in ConTeXt cannot be used in TikZ when the CMYK system is used. Is there a way to convert them or tick a setting so that TikZ can use them? Minimal ...
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
621 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
700 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
451 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
574 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
537 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
278 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
422 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
355 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
499 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
988 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
817 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
372 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
599 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
156 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
421 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
601 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 \...
20
votes
2answers
42k 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
646 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
323 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
191 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
746 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
457 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
425 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
273 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 ...