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

2
votes
1answer
201 views

How to vertically center content of page without makeup in ConTeXt?

I need to vertically center the content of page, content is forced to be on a separate page (delimeted with \page command). previous page content \page this content must be verticaly centered on ...
3
votes
2answers
154 views

metapost, metaobj and labels

I found this trick posted by Aditya some time ago that allowed to use metaobj in context. Currently this code no longer works. Currently, are there any way to use metaobj in context? The main problem ...
2
votes
0answers
86 views

Is there a documentation for \setupTABLE?

I need to know which parameters can be passed to \setupTABLE command. Is there any documentation or can it be extracted from source ?
3
votes
0answers
88 views

LaTex or ConTeXt for a new user? [duplicate]

I'm just starting out with LaTeX. Would I be better off learning ConTeXt instead? Which of the two is better for a beginner - assuming I do want to tweak the formatting occasionally?
2
votes
1answer
523 views

ConTeXt: Change the default text colour for entire document

Background I am looking to change the text colour for a document from black to a different dark colour. Problem The documentation shows how to change individual colours for a text document, but ...
12
votes
6answers
389 views

List of all modules in ConTeXt

Is there a comprehensive updated list of modules currently maintained? The ConTeXt wiki page for modules provides some but I am not sure if it is updated and which ones would be obsolete. It would be ...
1
vote
1answer
78 views

How do you test whether or not a ConTeXt module is installed?

How do you test whether or not a ConTeXt module is installed? I have run first-setup.bat --modules=all but how do I test if all the modules are installed?
3
votes
0answers
154 views

How to render ConTeXt source code example with rendered result in ConTeXt

I need to place source code example in ConTeXt with compiled result. code: ConTeXt code example result: compiled result I can do it like that: \mainlanguage[ru] \usemodule ...
3
votes
2answers
226 views

How to place two (or multiple) figures in a row with same height in ConTeXt?

I need to place several figures with different aspect ratios in a row using ConTeXt. I also need their heights to be equal, but summary width of pictures to be \textwidth. Height of pictures must ...
2
votes
1answer
112 views

How to place footnote under TABLE in ConTeXt?

I need to place footnotes, declared inside \bTABLE \eTABLE, just under the table, delimited with a short rule. |----------| | table | |----------| _______ *footnote I also need to \placetable ...
1
vote
0answers
33 views

Scale figure to remaining page height in ConTeXt [duplicate]

I have a page with some content on it and some remaining space at the bottom of this page. |=========| | header | |---------| | | | page | | content | | | |---------| |remaining| ...
0
votes
2answers
111 views

Error message when compiling ConTeXt document from Emacs [duplicate]

The command texexec --once --texutil --engine=xetex --interface=en --nonstop tmp.tex' gives the following error message when called from Emacs, but not when called from Terminal: ...
2
votes
1answer
77 views

ConTeXt: Hyphens for sequential page numbers in an index (register)

Background Page numbers in an index are often formatted using hyphens for references on consecutive pages, such as: 1, 4-7, 10 Code Consider the following example: ...
2
votes
0answers
123 views

ConTeXt: Set mixedcolumns maximum height for vertical rule

Background Looking to ensure that the height of a vertical rule for the first page of a section is the same as the subsequent sections. Code Minimum working example to illustrate the issue: ...
2
votes
1answer
242 views

ConTeXt: How to create nice-looking fractions

Background Looking to create vulgar fractions in the current font such those in Unicode. LaTeX has the nicefrac package that provides, as the name implies, fractions where the dividing line is a ...
2
votes
1answer
109 views

ConTeXt: Repeat second-level registers within index

Background In ConTeXt, a multi-level index can be created using: \index{level1+level2}text If the value for level2 matches the previous index value of level2, then the text for level2 is not ...
5
votes
1answer
117 views

ConTeXt: Randomly lighten or darken a colour within a threshold

Overview Looking to randomize the colours of squares of a checkerboard so that some are slightly lighter and some are slightly darker, relative to another colour. Problem The following sets a base ...
6
votes
1answer
221 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
262 views

MetaPost: Randomly variably thick curves

Overview Looking to emulate the following sinusoidal wave having random variations in both its filled and outline thickness: The wave has two parts: a variably thick filling and a variably thick ...
7
votes
1answer
204 views

MetaPost: Randomly generated number, distinct from previously generated number

Overview Looking to create random page background colours where the same background colour never appears more than once in succession (i.e., red, green, blue, green, blue, red, etc. -- never red, ...
7
votes
1answer
197 views

ConTeXt+MetaPost: Non-conflicting random background and foreground colours

Overview Looking to create a page that has a random (and non-consecutively repeating) background colour with titles that are also random. Problem The code has two problems. First, generating a ...
2
votes
1answer
91 views

How to vertically align makeup page in ConTeXt?

I have a minimal example \usemodule [simplefonts][size=12pt] \setmainfont[dejavusans] \definemakeup[titlepage] \starttext \startmakeup[titlepage] {\tfd Title at top} \stopmakeup[titlepage] ...
4
votes
2answers
405 views

XeTeX (I think) problem with Mac OS X.9 [duplicate]

Just upgraded to Mac OS X.9 Maverick and XeTeX (at least us used from TexWorks, which is all I've tried) now seems to be broken though it was working before. Error message when I try to typeset with ...
3
votes
1answer
160 views

Compile metafun book with ConText (getting a cover-like)

Anyone knowns how to create (please sample code) a cover page like this?: http://context.aanhet.net/general/manuals/metafun-p.pdf The sources are available from: ...
2
votes
1answer
80 views

ConTeXt: Ignore stem height

Background Looking to create a stylized chapter heading using the first character of the heading title. Problem The stem (descender) distance of text causes the containing frame's offset to alter ...
3
votes
1answer
229 views

ConTeXt: Scale font for text based on maximum width

Background Looking to devise a scaling factor for two fonts such that the text, when added to the final document, fits on one line. Example In the images below, the two fonts are the first ...
3
votes
1answer
137 views

Error when compile Simple Slide at ConTeXt ? (ConTEXt)

I have problem about compile Simple Slide at ConTeXt, and my MWE like this \usemodule[simpleslides][style=Boxed,color=red] \setupTitle [ title={Title of the presentation}, author={Name of ...
1
vote
0answers
105 views

How to use StyleSlide at Simpleslides ? (ConTeXt)

I am very interesting use Simpleslides and My MWE like this : \usemodule[visualcounter] \usemodule[simpleslides][style=Swoosh] \setupTitle [ title={Simple Slides?}, author={Hirwanto}, ...
4
votes
1answer
76 views

How to include ConteXt version in document?

My question is exactly the same as this one: Include LaTeX version in document I want to include in my document: compiled with ConteXt version YYYY.MM.DD. Is it possible to do it automatically or I ...
11
votes
1answer
227 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 ...
4
votes
1answer
107 views

make a glossary with ConTeXt

is there a simple way to make a glossary in ConTeXt? just like with the glossaries package in latex example : https://en.wikibooks.org/wiki/LaTeX/Glossary
4
votes
1answer
233 views

Electron distribution box diagram

Just for sharing. Improvements are welcome. \starttext Electron distribution box diagram \startMPcode picture finalpicture ; finalpicture := nullpicture ; numeric n ; n := 0 ; bboxmargin := 0pt ; ...
9
votes
1answer
551 views

MinionPro, including math, in ConTeXt

A rather simple question, which probably will have a complex answer. I'm trying to migrate to ConTeXt, since I want to have a layout not easily achieved with LaTeX (grid...). In LaTeX, MinionPro is ...
3
votes
1answer
471 views

Same mathematical fonts with LuaTeX and ConTeXt

I use LuaLaTeX to compile my documents with this in the preamble : \documentclass[12pt,a4paper]{article} \usepackage{etex} \usepackage[no-math]{fontspec} ...
3
votes
1answer
120 views

Floats in ConTeXt: changing caption name and making the \input command work

I have defined a new float for logic circuits called logigram: \definefloat [logigram] [logigrams] Taking advantage of the modes of ConTeXt (i.e. conditional processing), I am making in parallel a ...
6
votes
1answer
345 views

How to use Liberation fonts in ConTeXt?

I have the following snipped of code \usemodule [simplefonts][size=12pt] \setmainfont[DejaVu Sans] \starttext Test text Тестовый текст \stoptext And this works great. ConTeXt compiles it and ...
26
votes
6answers
3k views

Persuade me to write my thesis in ConTeXt, or not

I'm going to write my master thesis in Computer Science, regarding Operation Research, (in Italian). I have about a month and a half to collect the results and write everything down. I have had a ...
3
votes
0answers
197 views

Center an image horizontally and vertically in a table with ConTeXt

\setuppapersize[A4] \enableregime[utf-8] \usemodule [simplefonts][size=12pt] \setmainfont[EB Garamond 12][expansion=quality,protrusion=quality] \setuppagenumbering[location=] ...
6
votes
1answer
221 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 ...
2
votes
0answers
115 views

Error when using SciTE

I get the following error when trying to compile a file using SciTE for ConTeXt: mtxrun | kpse fallback with progname 'context' initialized in 0.381 seconds>Exit code: 1 I followed all ...
1
vote
1answer
182 views

How to define numbered theorem, definition at ConTeXt ?(ConTeXt)

I have problem about define numbered like theorem, definition, corrollary etc at ConTeXt ? You can see like this my screenshot and my code (sorry, i copy and paste from other document) : and my ...
6
votes
1answer
224 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 ...
1
vote
0answers
111 views

Install ConTeXt manually without using first-setup.bat

For some reason or the other, when I try to install ConTeXt on my machine (Windows 7 OS), it gives an error as shown below: So I have tried and tried and tried and tried. You get the point. I was ...
3
votes
1answer
236 views

Answer keys in ConTeXt

I'm currently working on a textbook. It contains numerous exercises and I'd like it to contain an answer key at the end of the book. The answer key should have the same structure as the book, that is ...
4
votes
1answer
337 views

More Math Fonts in ConTeXt

Yesterday Aditya very helpfully updated the Wiki: http://wiki.contextgarden.net/Math_fonts#Using_Math_fonts_in_MkIV. Modern, times, palatino, bonus, iwona (not iowna), antykwa-torunska, lucidanova, ...
1
vote
0answers
214 views

Math Fonts in ConTeXt

I have installed a standalone ConTeXt package: ConTeXt ver: 2013.11.10 12:23 MKIV beta fmt: 2013.11.11. This works well using Sublime Text 3 to edit and build ConTeXt. (I downloaded ConTeXt syntax ...
3
votes
1answer
130 views

Metapost and ConTeX

I am completely new to ConTeXt and have just started to experiment with writing metapost directly within ConTeXt. My problem is that some of my existing metapost files call other metapost files which ...
4
votes
1answer
152 views

Bad layout with both lettrine module and builtin initals in two column setup in ConTeXt

I am seeing broken positioning of letters produced by the lettrine module. Here is my MVE: \setuppapersize[A4][A4] \usemodule[lettrine] \definehead[recipe][section] \setuphead[recipe][ ...
2
votes
1answer
361 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 ...
4
votes
0answers
103 views

Polymer structure in PPCHTEX - how to make big brackets?

I'm trying to draw polymer structure using PPCHTEX under ConTeXt packages, my current code is \starttext \startformula \setupchemical[scale=small,width=fit] \startchemical ...