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
0answers
41 views

How to avoid transliteration of Russian text in ConTeXt?

Using TexShop on Mac OS I try to compile a code: \setupbodyfont[dejavu] \enableregime[utf] \mainlanguage[russian] \starttext Немного русского текста для пробы. \stoptext But it gives me a ...
1
vote
0answers
24 views

Special layout with multi-page table in ConTeXt

I have a special layout of page to make. It contains blocks of text, a graph and tables. I don't know in advance the length of the tables in the document. I have a dummy two tables example to show ...
2
votes
0answers
46 views

Nested itemize with large lines in ConTeXt

When I try to nest lists like this: \starttext \startitemize[n] \item bla \item \startitemize[a] \item bla $\displaystyle\int$ \item bla \stopitemize \stopitemize \stoptext I get this ...
1
vote
1answer
43 views

ConTeXt xtables never \def'ed

I am new of ConTeXt. I want to use xtables but I get an error: \startxtable was never \def'ed. Am I forgetting some very basic thing? \starttext \startxtable[width=4cm] \startxrow ...
1
vote
1answer
55 views

Text color in natural table heading in ConTeXt

I'm new to ConTeXt and having a problem with colors of header in a "natural table". I want to have the text in the header displayed as white, and not gray. Here is what I have right now ...
1
vote
0answers
117 views

ConTeXt: Bibliographies in current ConTeXt not working any more?

The "very basic example" of Bibliography mkiv fails to work using current version 2014.03.07 11:42. I put the code inside a tex file test.tex and the provided bibliography database inside sample.bib. ...
2
votes
1answer
59 views

ConTeXt: Custom register formatting

Background Looking to reproduce custom registers that resembles: Index entries are added using: \setregisterentry[index][entries={Kenji Fujimoto}][ title={Maguro}, author={Kenji ...
3
votes
0answers
58 views

ConTeXt: Double or Triple Hyphen are Interpreted inside Verbatim Blocks

For example: \definetyping [code] [numbering=line, bodyfont=small, before={\startframedtext[width=\textwidth]}, after={\stopframedtext}] \startcode <-- \stopcode will produce < ...
1
vote
0answers
51 views

Arabic chapter numbers in ToC, Words in chapter headings in ConTeXt

My first post on tex.sx, so bear with me... The Goal: Arabic chapter numbers in the Table of Contents, and Words in the chapter headings (i.e. Chapter One) Seems simple enough, but I'm having the ...
5
votes
2answers
64 views

ConTeXt TABLEs, how to automatically fit table size with text with \setupTABLE

When I type something like \bTABLE \bTR\bTD abc\eTD\bTD abcdefg\eTD\eTR \bTR\bTD 123456789\eTD\bTD 1234\eTD\eTR \eTABLE in ConTeXt, it automatically sets the column widths to fit the text contained ...
6
votes
1answer
104 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 ...
1
vote
1answer
40 views

ConTeXt: Retain ToC Hyperlinks using alternative command

Background A custom Table of Contents entry was suggested to move page numbers from the right-hand side to the left-hand side. Problem The custom command loses ToC hyperlinks. I have tried to ...
6
votes
3answers
77 views

How to get the current directory name in ConTeXt?

Assume the file, source.tex is placed in /home/user/Birds/ and the user types context source.tex to compile the file. Is there a way for ConTeXt to retrieve the name of the folder that the file is ...
2
votes
1answer
95 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
66 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
60 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
51 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
65 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 ; ...
4
votes
2answers
79 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
110 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
37 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 ...
6
votes
0answers
56 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. ...
2
votes
1answer
62 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
47 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
87 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
120 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 ...
7
votes
1answer
97 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 ...
1
vote
1answer
51 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 ...
1
vote
1answer
119 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
78 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
55 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
72 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
70 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 ...
1
vote
0answers
55 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
96 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
52 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?
11
votes
6answers
286 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
0answers
48 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
59 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
31 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
177 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 ...
2
votes
2answers
86 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
34 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
48 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
76 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
56 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
85 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
51 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
53 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
64 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 ...