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

4
votes
1answer
329 views

Using \frak with context

I am trying context out and cannot get \frak to work. Should the following work? \starttext {\frak The quick brown fox jumps over the lazy dog. 1234567890} \stoptext I did a cut and paste of the ...
1
vote
0answers
92 views

Dependency graphs in ConTeXt

Have anyone tried using tikz-dependency with ConTeXt? http://danielepighin.net/cms/software/tikz-dependency Can anyone recommend other ways to create dependency graphs in ConTeXt?
4
votes
1answer
91 views

Is there a default arara rule for ConTeXt?

I'm trying to make a simple Hello, World example for ConTeXt. The file itself works, but I can't manage to instruct arara to compile it with texexec. % arara: context \starttext Hello, World! ...
3
votes
1answer
65 views

adjust uniformdeviate values

I need to insert in the rectangle all my 10 molecules in random way (angle and x,y position). I don't know what is wrong with my code. \startMPinclusions vardef spring (expr a, b, w, h, n) = pair ...
4
votes
1answer
75 views

lost linear_shade output

What is wrong with my code? The second call of SoundEnergy lost the black/white gradient. \startMPinclusions def SoundEnergy = path pr ; pr := unitsquare xscaled .3cm yscaled 2cm ; ...
5
votes
2answers
224 views

ConTeXt: Columnar section titles, floats, and images

Background Regarding floats in columns, the wiki states: By default, a title will be moved down to appear below a float, it will not be "wrapped" around a float like normal text. Problem The ...
4
votes
1answer
137 views

Error-handling in next-generation TeX tools

For many beginners (and many with more experience), the biggest obstacle to using LaTeX is the difficulty of figuring out what is causing an error. A message about something not being \defed, for ...
0
votes
1answer
107 views

ConTeXt: Left-justify text to overlap hidden/disabled frame border

Background Looking to left- and right-align text in a footer. Problem The following image shows that the word "Betasec" is not left-aligned with the black horizontal line above it: I believe ...
7
votes
1answer
128 views

Unicode, right to left characters in command names

What is the status, in terms of category codes, of all the Unicode letters above ASCII in XeTeX (using XeLaTex+fontspec) and LuaTeX (using ConTeXt)? Can I define a macro using Unicode characters (ex. ...
3
votes
1answer
118 views

What is the correct way to create slanted text in ConTeXt?

I need to write some romanized foreign words within a passage of English text. Generally, such words should appear as slanted text. I created this simple document and noticed that while both \it and ...
3
votes
1answer
98 views

How to make footnote numbers invisible in ConTeXt?

I need to put some comments in the footnotes area in a document, but without any note numbers appearing. I've tried several things, including \footnote[numbercommand={}]{This is the footnote}, but ...
1
vote
1answer
164 views

ConTeXt: Change location of page numbers in table of contents

Background Looking to place the page number on the left of each section heading in the frontmatter's table of contents, similar to the following (where "Title Here" is a section title and the page ...
3
votes
2answers
269 views

ConTeXt: How to redefine the euro sign glyph?

Introduction I am writing a document using the TeX Gyre Pagella font. Unfortunately, the glyph for the euro sign (UTF-8 character U+20AC) in this font does not comply with the official euro sign ...
9
votes
1answer
219 views

Applying van de Graaf's Canon (ninths-division) in ConTeXt

I'm sure this is an obvious question but after much tinkering all I've managed to do is confuse myself. I'm typesetting a book. The paper size is 5.5×8.5". I want to apply the canons of page ...
2
votes
1answer
162 views

How to place figure relatively to other figure in ConTeXt?

I have two figures. I need to place first figure with width=10cm and then place second figure with same width but it's center must be shifted to right by 9cm and down by 5cm relatively to center of ...
2
votes
1answer
334 views

ConTeXt: Keep title on same page with next paragraph

I have a document with many chapters and sections. All my chapters starts with new page, but sections does not. Sometimes section title appears at the bottom of page alone, next paragraph starts with ...
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 ...
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?
1
vote
1answer
128 views

ConTeXt: Embed forward referenced figure

Background Looking to recreate the following fancy table of contents where a limited number of images in the ToC are selected at random from all the figures included in the document, without ...
2
votes
1answer
191 views

How to insert hyperlink to web site in ConTeXt?

I need the analogue of latex's \href in context. I need a link when clicking on which pdf viewer would open a browser with it's url.
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 ...
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?
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 ...
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 ...
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| ...
2
votes
1answer
521 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 ...
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
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
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] ...
3
votes
1answer
159 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
79 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 ...
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}, ...
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: ...
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 ...
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 ...
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 ; ...
3
votes
1answer
119 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 ...
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
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
344 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 ...
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
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 ...
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 ...
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 ...
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 ...