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

6
votes
2answers
174 views

ConTeXt: Cannot typeset four consecutive hyphens

I'm having trouble typsetting four consecutive hyphens in a custom font. Here's a minimal example: \definesimplefont[myfonthere][myfontname] \starttext {\myfonthere ----} \stoptext This always ...
4
votes
1answer
148 views

How do I get italic texts figures in ConTeXt?

Inside an italic section I want to place text figures (which should be italic as well). How do I achieve this? (The document is in ConTeXt MKII.) Both of the following examples produces non italic ...
7
votes
2answers
242 views

What does \s! do?

1st example: \starttypescript [\s!serif] [paratype] \definefontsynonym [ParatypeSerif-Regular] [\s!name:PTSerif-Regular] [\s!features=\s!default] \definefontsynonym [ParatypeSerif-Italic] ...
2
votes
0answers
96 views

Adjusting letterspacing in ConTeXt [closed]

I need to adjust the letterspacing of the font I'm using. I'm currently using the font like this: \usemodule[simplefonts] \definefontfeature[default][default][protrusion=quality,expansion=quality] ...
3
votes
1answer
205 views

Get the empty page before a new chapter in ConTeXt?

When starting new chapters on right-hand side, it would better make the previous page empty (no footer and header). This can be done by defining a new pagebreak and setup head, ...
3
votes
1answer
144 views

How to typeset the titlepage and its verso in ConTeXt?

I typeset the titlepage and its verso, but it always generate an empty page on the right if facing. My codes are as follows: \setupinteraction [state=stop, title=Life in These Days, ...
2
votes
1answer
79 views

How to enable the page number counter but don't display it in the titlepage in ConTeXt?

I have observed some books and find that these books start the page number counter in the titlepage (some even do this from the cover) but don't display the page number in the titlepage, also the ...
5
votes
1answer
125 views

Set the width of every columns of a table in ConTeXt

Sometimes, I need such a table whose column widths should be equal with each other. Here is an example: Name Email John john1989@gmail.com Bill bill1990@outlook.com Tim ...
4
votes
0answers
221 views

Is fine-grained grid control possible? [closed]

I want to make a variety of checklists which are essentially based on a grid layout. I care about having fine-grained control over the exact placement of labels and boxes. I do not care about ...
3
votes
1answer
119 views

how to change the footnote text color in ConTeXt?

The default color of footnote texts is black, if I want to change it into red, how can I achieve this? I have used the \setupfootnotes [textcolor=red] or \setupfootnotes ...
3
votes
1answer
88 views

Problems with multiple \starthanging \stophanging in ConTeXT

I'm trying to place multiple figures with additional side text using ConTeXT one after the other. When there are two figures in a row they overlap. How should they be separated? The following ...
3
votes
1answer
82 views

Is there an environment in ConTeXt to center a poem?

I want to center the poem written by William Blake. Is there an environment in ConTeXt to achieve this? My only method is the midaligned \midaligned{To see a world in a grain of sand} ...
5
votes
1answer
94 views

How to start a new chapter at right hand side in ConTeXt?

I have read the manual and try the \setuphead [chapter] [page=right] but it has no effect :-(
4
votes
1answer
170 views

Page numbers (Roman number and Arabic numerals) in ConTeXt

My simple document is divided into only two parts (it's only some math notes). \starttext % frontmatter \startstandardmakeup ... % the cover \stopstandardmakeup \completecontent \startbodymatter ... ...
2
votes
0answers
141 views

ConTeXt under cygwin

Since I couldn't use the first-setup.bat script behind my authentication based, HTTP only, corporate proxy, I went for cygwin. I installed the version 20120628-1 of a package named ...
2
votes
1answer
70 views

How to get the head number (only a digital) in ConTeXt MKIV?

In my country, we usually don't use number 1, 2 ... as the head number (the section number, the chapter number and so on) but our own characters, for instance, the 一 stands for number 1, the 二 stands ...
1
vote
0answers
23 views

How to do source code listings in ConTeXt? [duplicate]

I am new to LaTeX and ConTeXt, so I hope I am not asking something obvious. I have been able to create a LaTeX document using \usepackage{listings}. Now I have discovered ConTeXt. Is it possible to ...
5
votes
0answers
152 views

Placing text in the margin next to a figure using ConTeXt [closed]

What is a good way to place a short paragraph in the margin next to a figure in ConTeXt? I've been trying the following code, but it places the \inmargin text at the base of the figure which only ...
8
votes
1answer
330 views

How to fix this fancy heading in ConTeXT

I don't know if this is a duplicate or not but we can close it if it is. I have been trying to learn ConTeXt. I specially love the heading and page number formattings that I see in the documentations ...
2
votes
1answer
267 views

The ConTeXt standalone problem [closed]

Today I installed the ConTeXt standalone by following the Windows Installation: ConTeXt Suite with SciTe. After that, I wrote a test file: \starttext hello, world! \stoptext But failed, the output ...
6
votes
1answer
143 views

How to disable the header at any page in ConTeXt?

I haven't written an article since I paid my attention to ConTeXt. Now it is a chance to do it. I have tried to set the header, but failed. The structure of this article is like this: ... title ...
8
votes
2answers
372 views

Which TeX should one start out with? [closed]

Ever since learning Vim, I've felt slow going in anything else. Lately I've been writing my notes and other small documents in Markdown using Vim. I've decided to to take it a step further by ...
10
votes
2answers
262 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 ...
3
votes
1answer
249 views

ConTeXt - Make text embody figure and respect margins

I am trying rewrite an already formatted layout to ConTeXt, but I face two major problems. Please have a look at the goal I am aiming at and at the source code below. I have tried many suggestions ...
1
vote
1answer
159 views

How can I make text figures document wide standard for numerals in Context?

In a CV I would like all numbers to be text figures. I can do this manually by using the {\os 123} switch locally, but I would like text figures to be the default in the document. How? If I make it ...
7
votes
1answer
245 views

What is the difference between \everypar and \EveryPar?

In a previous question I got recommended to use \EveryPar instead of \everypar. What is the difference between the two? Are there other commands that I should capitalize the same way in ConTeXt?
2
votes
1answer
168 views

Page numbers in Romannumeral in ConTeXt

I tried to change the page number into Romannumeral with \setuppagenumbering[conversion=romannumerals] but it did nothing. I had to use a macro to achieve that: ...
3
votes
1answer
63 views

Get confused about the `command` option in some ConTeX \setup*

Since I switched to ConTeXt from plain TeX, I always get confused about macros in it. Now it is the command option in \setup* of ConTeXt. In ConTeXt, some macros, like \setuphead, \setuplist, have ...
1
vote
0answers
54 views

Why can't I use some TrueType fonts in ConTeXt while others can? [duplicate]

Today, After reading the chapters about typography and fonts in the reference manual, I tried to define my own typescript. After mtxrun --script fonts --reload, I wrote the codes like this: % ...
4
votes
2answers
239 views

ConTeXt doesn't implement some Knuth TeX primitives?

I try to use new TeX format ConTeXt, but I find that some TeX primitives don't act any more. How sad I am when I find that. An simple example is that in plain TeX, we can set the spaces between ...
4
votes
1answer
242 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
314 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
171 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
161 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
725 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
248 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
337 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
292 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
149 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
326 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
281 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
222 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
119 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
154 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
410 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
188 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
170 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
103 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
123 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
110 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 ...