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
1answer
355 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 ...
6
votes
1answer
396 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 ...
6
votes
1answer
249 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 ...
6
votes
2answers
315 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 ...
6
votes
1answer
267 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 ...
6
votes
2answers
561 views

How to create form letters from spreadsheet data in ConTeXt?

In LaTeX, one can use datatool to build simple form letters. As an example, the data is stored in a spreadsheet or CSV file, like this: Name,Amount,Date "Mr. White","$300","Dec. 2, 1911" "Mr. ...
6
votes
2answers
173 views

Errors Mpgraph in ConTeXt

I need to put some bar charts in a ConTeXt document. I'm using mkiv from TeX Live 2011, under Gentoo GNU/Linux. I tried using Gnuplot but I found mpgraph suits better my needs. I'm using this TeX ...
6
votes
1answer
185 views

Providing Arguments to a Start-Stop

Mostly for the sake of doing so, I am writing a presentation in ConTeXt. I thought that defining a start-stop would be a good way to split up slides. So I have something like: ...
6
votes
1answer
177 views

How to define a section title for volumes in ConTeXt?

I have a lengthy document, which must be divided into separate volumes. So that it can be compiled in one pass, the source file is organized like this: \starttext \startfrontmatter % this ...
6
votes
1answer
136 views

Simplefonts works, but definefontfamily does not?

I want to use \definefontfamily, and according to contextgarden.net, it should be included by default: As of December 2013, the functionality of the Simplefonts module has been included into the ...
6
votes
3answers
295 views

Typesetting annuity and life-insurance symbols in ConTeXt

How do I typeset annuity and life-insurance symbols, actuarial notation in ConTeXt. I see there are packages available but not for ConTeXt. Thanks
6
votes
1answer
211 views

How to span the background graphic across verso and recto pages in ConTeXt?

I want to place background images behind all of my part titles, with the image spanning across two pages, e.g.: ___________ ___________ | | | | Part 1 | | | Birds of ...
6
votes
1answer
118 views

Why is this CSV form letter code incompatible with the table of contents in ConTeXt?

Using the code in the answer to How to create form letters from spreadsheet data in ConTeXt?, I am building a document from data in a CSV file. I found that some part of the code is incompatible with ...
6
votes
1answer
385 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 ...
6
votes
2answers
221 views

How to embed videos in pdf with ConTeXt?

I have heard that it is possible to embed videos with ConTeXt in tex-files and in the resulting pdf-file. Hans Hagen wrote very briefly about videos in his manual, but there is no Minexample. I could ...
6
votes
1answer
239 views

ConTeXt MarkIV: Pagenumber in layer not working

I want to put pagenumber and navigation into a layer, but the counter for pagenumber is not working. Here's a minimal example: \usemodule[graph] \usesymbols[nav] \setupsymbolset[navigation 1] ...
6
votes
1answer
378 views

How to achieve nested alignment of formulas?

I'm trying to get a nested alignment in math mode: +----------------------------------------------------------------+ | ..... & ................ | | ...
6
votes
1answer
162 views

Problem with old ConTeXt separated list example

I have been trying to get the following small example from ConTeXt garden to work without success. \starttext \usemodule[database] \def\SendMe#1#2#3#4{\framed [align={flushleft,lohi}, width=4cm, ...
6
votes
1answer
255 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 ...
6
votes
1answer
170 views

MetaPost: Non-uniform periodic tessellations

Overview Looking to create backgrounds that have regular polygons aligned to a grid. Problem The space between the polygons varies, even though the radius for the polygons has been calculated in ...
6
votes
1answer
276 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 ...
6
votes
1answer
165 views

ConTeXt: Styling pagenumbers in registers

I'm using some description paragraphs as definitions for some concepts. I want to add them to my register and typeset their pagenumbers in bold numbers (to recognize where is the definition). The ...
6
votes
1answer
209 views

How to set a image background and tile on page in ConTeXt?

That's it. I want to use a image pattern, let's say this image. But I can't figure how to do this on ConTeXt, 'cause neither \setupbackgrounds or \setupframed have an option to tile backgrounds. I ...
6
votes
1answer
372 views

Align multi-line section head on the grid

What I want to achieve Align the first line of a multi-line section head on the grid and consecutive lines according to the baseline distance given in the font definition. The baseline distance of ...
6
votes
2answers
318 views

Paragraph-style for footnotes in ConTeXt

Is there a way to have paragraph-style footnotes in ConTeXt, similar to what is provided by the footmisc package? E.g.: This is some text^1. This is some other^2 text. This is some more text. ...
6
votes
1answer
252 views

Set layout for the first page of Chapters in ConTeXt

When designing some documents, I hope I can set a global layout and another layout for the first page of all chapters. I have defined two layouts as follows: \setuppagenumbering ...
6
votes
1answer
265 views

Libertine's discretionary and historical ligatures with ConTeXt and XeTeX

I would like activate Libertine's discretionary and historical ligatures with ConTeXt and XeTeX compilation. Currently, I'm using this: \definetypeface[Libertine][rm][Xserif][Linux Libertine O] ...
6
votes
1answer
156 views

Why is a page break added at the end of a column set in ConTeXt?

I have a document containing some 1-column and 2-column passages, mixed, e.g.: This sentence has no column- s. This part of are balanced the document such that t- has two col- he lines are ...
6
votes
1answer
110 views

How to place figure/table without caption in ConTeXt?

When I am trying to \placefigure[here]{none}{\externalfigure.... I am getting figure with caption "none" instead of figure without any caption. How to \placefigure without a caption in ...
6
votes
1answer
212 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 ...
6
votes
1answer
106 views

Preventing page break in register between reference and page number (ConTeXt)

Problem: The page number of an reference in the register is set to th next page - pake breaking between the reference and the page number. I do not know how to produce a smaller Example: ...
6
votes
1answer
1k views

Exporting graphics wth text labels from OpenOffice.org Draw to ConTeXt

I often create graphics in OpenOffice.org Draw, containing vector graphics, text labels, with photos occasionally mixed in. OpenOffice.org supplies a variety of export formats. Is there any way to ...
6
votes
1answer
219 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 ...
6
votes
1answer
201 views

No gridding for a single paragraph (ConTeXt)?

Is there a possibility to deactive grid=yes in the text for a single paragraph only? It should be something like \nogrid{ paragraph.... }. There is \placeongrid{} - but this does not allow ...
5
votes
2answers
174 views

Printing only the text that appears between two symbols

I have a macro which contains some text: \textmacro{This is some text.} Normally, when compiled, it should just print text, like this: This is some text. Sometimes, the text contains “①”and “②”, ...
5
votes
2answers
345 views

How to retrieve a value which is set later on in the document?

According to What is the recommended way to assign a value to a variable and retrieve it for later use?, in ConTeXt, one can use \setvalue{name}{value} to set a value and \getvalue{name}, to retrieve ...
5
votes
2answers
739 views

How to switch page numbers to/from Roman numerals

I am trying to have the page numbering of the front matter in lower case Roman and the rest in Arabic numbers. I also don't want the number on the title page (though it should be counted). According ...
5
votes
1answer
189 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
656 views

Fatal format file error; stymied. fmtutil: infinite recursion

I'm using texlive / ConTeXt / Xetex, but I don't know which of those might be relevant to the problem. The summary is that when I run TeX, I get a "Fatal format file error; I'm stymied" message. ...
5
votes
2answers
137 views

How to add whitespace after every item in a list in ConTeXt?

I have a document containing some questions. I need to leave readers space to write a few sentences as an answer. I am using this code: \startitemize[r] \item Where do most bears live? \item ...
5
votes
1answer
142 views

How to make part titles visible in ConTeXt?

ConTeXt has \part, \chapter, and \section titles, however, it seems that \part is disabled by default. If I used \part in my document, it is visible in the table of contents, but not in the document. ...
5
votes
1answer
156 views

How to replace specific words with an underscore equal in length to the original word replaced in ConTeXt?

My problem is identical to Phantom and line break, however, I am using ConTeXt. I am creating a cloze test, e.g.: Frogs have four ____ and two eyes. The original text in the source appears like ...
5
votes
2answers
556 views

How can oversets and undersets be allowed to appear over neighboring text?

I am using the \overset and \underset commands in ConTeXt, to place text over other text within a paragraph, e.g.: (animal) (animal) (animal) Bears like to eat fish and ...
5
votes
1answer
188 views

How to change the font formatting in the text and numbers of footnotes in ConTeXt?

I have a document with two different types of footnotes, \noteone and \notetwo, defined with this: \definenote[noteone][footnote] \definenote[notetwo][footnote] For these two footnotes, I need to ...
5
votes
1answer
323 views

Creating a grid which fills available text area on a page in ConTeXt?

I have some pages containing only a small paragraph at the top and a large empty area where readers can add notes or draw, e.g.: _______________ | | | This is some | | text in a pa- | ...
5
votes
2answers
548 views

Replacing matching text with a macro containing information from a CSV file

I have some data stored in a CSV file, in this manner: 000000001 @ name @ information @ more information @ some more information I also have a information.tex file containing the numbers from the ...
5
votes
1answer
611 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?
5
votes
1answer
176 views

Indented block in ConTeXt

I need to write pseudocode in ConTeXt. Since there is no documentation of the t-algorithmic module, and because I don't have so much to write, I decided to format the code myself. Here is what I ...
5
votes
1answer
219 views

Using ConTeXts cow font with pdfTeX

So I have really become intrigued with the Cow font of context, however I really wish I would be able to use this with latex. I found a place, where it listed the steps on what to do, but it was ...
5
votes
1answer
99 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 :-(