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

5
votes
1answer
331 views

How to add an APA-style citation with no author in ConTeXt?

I need to cite some articles which were created by some professional organizations, so no authors or editors are listed: @Article{noname2012, author = {}, title = {This is the title}, ...
3
votes
1answer
382 views

Beamer presentation similar to ConTeXt

I am wondering if it would be possible to write nice (different and funny) presentations with beamer like the ones that can be found in the next links, that are done with context. I also wonder if it ...
3
votes
1answer
215 views

Text and figure side by side in a list in ConTeXt

I want to include some figures on the right of some list items. Here is an example with one figure in the second item: \starttext \startitemize[n] \item first item \item ...
7
votes
1answer
172 views

Why is pdflatex automatically loading a ConTeXt package and crashing

If I process the following MWE with pdflatex (TeXLive 2012, Linux) \documentclass{article} \usepackage{color} \def\mymacro#1{#1} \begin{document} \pdfinfo{/Title (Some text \textbf{This macro causes ...
10
votes
2answers
1k views

Ampersand in math in ConTeXt

I'm afraid this is fairly obvious and has been asked many times, but I could not find the answer. I am having trouble getting an ampersand in a displayed formula in ConTeXt. I tried the obvious ...
4
votes
1answer
324 views

What is the correct way to end a hanging indent section in Context?

In an earlier question I got help to get hanging indents working in my text. I now suspect that I've not been terminating the hanging indent in the right way. Have tried some different things, but ...
4
votes
2answers
389 views

Is ConTeXt using TeX or rewriting it?

Just out of curiosity, is ConTeXt using the TeX algorithm in it's entirety, or are some components rewritten? If it's the latter: Could all of TeX be rewritten in Lua, or are there good reasons ...
8
votes
1answer
359 views

What is the equivalent of Biblatex in Context?

How do I do bibliography in Context, that is more than just bibtex? In the manual there is no explanation of this. Source code doesn't tell me much either... Are there any "packages" that provide ...
7
votes
1answer
157 views

Why does Context line-break my quotation and leave the quotation sign on it's own row?

Using Context to set a book I have the following problem: Context linebreaks some quotations in a way that makes the quotation sign (in my case a guillemet [sic!]) appear on its own row. How can i ...
6
votes
1answer
520 views

Type phase symbol in ConTeXt, like LaTeX steinmetz package

I am trying to create an electrical phase symbol in ConTeXt like that produced by the \phase{} command from LaTeX's steinmetz package. Here is what the symbol looks like: Is there something out ...
7
votes
1answer
438 views

Continuously compile/watch source files in ConTEXt?

Is there an equivalent to latexmk in Context? I want the script to watch my source files for changes and continuously recompile them. Here is how I would do it with latexmk: latexmk -bibtex -pdf ...
3
votes
2answers
266 views

Why is a blank page inserted in the middle of the first signature when impositioning with Context?

Tonight I'm impositioning a book for doublesided printing on A4 sheets. The book is in A5 format and will be bound with octavo signatures (4 pieces of A4 sheet are folded in half to form 16 pages of ...
4
votes
1answer
137 views

ConTeXt: page large enough to contain a FLOWchart

How can I create a page which has the minimum size to contain the one FLOWchart defined in it? I'm looking for something identical to \startMPpage but for FLOWchart \startMPpage produces a page a ...
3
votes
1answer
177 views

Picture and Paragraph in Metapost

How to insert a paragraph in Metapost and a drawing below that? This has to be done within a single Metapost block, (i.e) within a single \startMPcode and \stopMPcode block Sample image :
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 ...
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 ...
5
votes
1answer
204 views

Metapost - Boundary box

I want to make a series of images with Metapost and Context. I want the height and width of the images to be fixed ( like a frame ) and center the picture drawn with Metapost inside that frame. So, is ...
5
votes
1answer
111 views

Context - Error creating boxes in loop

The following code creates an array of boxes to represent an array. \startMPinclusions input boxes ; \stopMPinclusions \starttext \startluacode function createGraphic(k,c,indH) local i=1 ...
4
votes
1answer
140 views

How do I get ConTeXt to produce pdf files in one directory, the aux files in a second, and take the .tex files from a third?

I want to be able to cleanly use my letterhead template with many different input files. I have created a shell scrip that invokes: context --silent --purgeall --path=./img content/$1 But have ...
5
votes
1answer
129 views

Custom list labels in ConTeXt

I have just started learning ConTeXt and I have to say that I am pretty amazed by how intuitive it is to use. But I can't find a way yet to achieve automatically a list with the following labels. C.1 ...
17
votes
1answer
292 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, ...
5
votes
1answer
1k views

How do I do hanging indents in Context?

How do I do hanging indents in Context? I've been looking at the few examples that I've found, for example at http://wiki.contextgarden.net/MLA_style, but couldn't get anything to work as I want it. ...
6
votes
1answer
313 views

Line numbering in ConTeXt outside of verbatim

Basically, I would like a way to number the lines in a block of text, without resorting to verbatim mode. I have tried \definetyping[code][numbering=line,style=\tf] \startcode[step=5] Thus, I came ...
8
votes
1answer
503 views

How do I install ConTeXt alongside MikTeX

I would like to give ConTeXt a shot. It is likely just me, but I am finding the installation guide on the wiki a little confusing, e.g. Do I need Ruby or not? Does that depend on the installer, ...
5
votes
1answer
103 views

Why does ConTeXt sometimes ignore surrounding font properties?

I am working on a document which contains a wide range of font styles and sizes. I am using commands such as \ss to change to sans serif, \tfa to set the font size to size "a", and \bf to make text ...
3
votes
1answer
132 views

How to independently set the font properties of each component in section titles in ConTeXt?

I want to make two-line chapter titles such as this: Chapter 1 Animals I found instructions in this article about titles at the ConTeXt wiki. I want to adjust the font properties of each line ...
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 ...
3
votes
1answer
162 views

How to set font size “e” in ConTeXt?

According to the ConTeXt manuals, there is a font size "e", the largest available font size. Whenever I try to use this, however, the command fails. What is the proper way to enable this font size?
5
votes
1answer
156 views

Multiple Documents with shared TOC and Indexes

I've recently started a personal project for creating and managing a knowledge base, but with the individual pages written in ConTeXt instead of markup, markdown, or any of the other currently-popular ...
4
votes
1answer
120 views

Why are unplaced part titles creating empty pages in ConTeXt?

I made a book which is divided into parts, with \part{}. I want these parts to appear in the table of contents, but do not need them to appear within the document itself. I added \placehead=no to the ...
2
votes
1answer
283 views

ConTeXt: How to set up interaction mode to emulate hyperref?

I have prepared a self explanatory MWE to check interaction mode for various objects in ConTeXt ver: 2013.01.10 01:04 MKIV. Evince document viewer is used for testing. Questions: How to set up ...
7
votes
1answer
358 views

How to span the content across two pages in ConTeXt?

Most of the pages in my document look like this, a layout common in books: ___________________________ | | | | Title | ........... | | | ........... | | ...
4
votes
1answer
114 views

How to place all chapter titles on verso pages in ConTeXt?

I need to set all of the chapters within a document to begin on the verso, or left-hand pages. How can I get ConTeXt to add a blank page before each chapter title if the chapter title does not appear ...
7
votes
3answers
384 views

ConTeXt: Too much hyphenation

I am trying to control the amount of automatic hyphenation in my document. But all the options I specify don't seem to have any effect. The following MWE shows two paragraphs with six hyphenated ...
5
votes
1answer
371 views

Bibliography in ConTeXt

I have two problems with bibliography using ConTeXt ver: 2013.01.10 01:04 MKIV. I would like to get \citet like behaviour Author name [1]. However, presently the MWE produces only the numbers. ...
4
votes
1answer
177 views

Caption label formatting in Context

I am trying to introduce a linebreak after the caption label so that the caption starts below the caption label in context. However, the suffix key for the \captionsetup only accepts text like : or ...
4
votes
1answer
131 views

Bold math in Context

I am not able to get bold math symbols using context. Details: I am using Tex-live 2012 distribution. Compiled using context main.tex which means I am using context mkiv. Log file shows the version ...
5
votes
1answer
825 views

Custom table of contents style in ConTeXt

I want to change the style of the table of contents: Chapter entries shouldn't have a dotted line. (see below) Chapters without a number should have no left spacing. (see below) The dotted line ...
6
votes
1answer
228 views

ConTeXt + XeTeX (TeXLive 2012) does not work for Indic scripts like Malayalam

This is a follow up question to What is the state of support for (Unicode) Indic scripts in Context? I have been trying to get texexec/mkii to work with XeTeX engine, but the resulting rendering is ...
3
votes
0answers
264 views

Why do fonts no longer work after upgrading ConTeXt? [closed]

After a recent upgrade of ConTeXt, ConTeXt can not longer find the OTF and TTF fonts in my ~/.fonts directory. Prior to this upgrade, when I ran these three script, it was sufficient to get the fonts ...
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 ...
6
votes
1answer
226 views

What is the state of support for (Unicode) Indic scripts in Context?

I have used XeTeX for typesetting a book using Unicode Malayalam. It is working perfectly and the production is fine. Reading about ConteXt, I learn it is more suitable and flexible for book ...
10
votes
2answers
321 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.: ...
6
votes
1answer
317 views

ConTeXt: Enumeration, Comments cause undefined control sequence startformula error

I'm a LaTeX user working through some ConTeXt tutorials, and hit a brick wall pretty early. It makes me wonder if something is wrong with my setup, or if I'm not understanding something pretty ...
10
votes
1answer
342 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 ...
4
votes
2answers
140 views

PDF links generated by \cite do not work when using project component files

When using the project files shown below, links generated by \cite[…] are displayed as links, but when I click on them nothing happens. But when \completepublications[…] is directly written in ...
4
votes
1answer
155 views

Change color of links created with \in, \at, etc

By default the link color of references created with \in or \at is red. How can this color be globally changed, so that all links have the same color (e.g. blue)? \setupinteraction ...
4
votes
1answer
300 views

ConTeXt equivalent of AMSmath's \substack

The Plain TeX $$ \sum_{i \in S \atop j \in T} i $$ seems to be usually typeset mathematically in LaTeX using the \substack macro from the AMS maths macros (accessed using \usepackage{amsmath}) \[ ...
3
votes
1answer
210 views

How to change indentation/margin of table in Context?

This is the code I use to create a simple table in Context: \starttable[|lw(43mm)|lw(43mm)|] \NC {\em Mer uttalade} \NC {\em Mindre uttalade} \NC\AR \NC {\em bearbetningsegenskaper} \NC {\em ...
3
votes
1answer
462 views

Remove line below header on title page

How to remove the line below header on title page using this minimal example: \setuppapersize[A4] \setuplayout [width=fit, height=fit, topspace=2cm, header=\lineheight, ...