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

1
vote
0answers
36 views

Is there any way to suggest to ConTeXt to take advantage of multiple cores?

I have access to a relatively slow, but hugely (12) multi-cored machine. My 200+ page document has compile times in the 400 second range. Are there any flags or hints that I can give to the ...
3
votes
1answer
28 views

Alignment of section titles in multi-column paragraphs in ConTeXt

I want to create two-column paragraphs. The alignment of left and right columns should be flush right and flush left, respectively. The following example displays the main texts in the correct ...
4
votes
1answer
52 views

If figures are placed left, left-aligned captions are unwantedly centered (ConTeXt)

What I try to do: I want to place figures left so that text wraps around them if they have less width than \textwidth. The figure captions should be aligned left (flushleft). What happens: The ...
0
votes
0answers
45 views

How to limit the width of \halign?

The glues inside my \halign rows don't get reduced when they should. The contents of \halign behave as if they had infinite horizontal space. This is the source code for the first table (it's very ...
1
vote
1answer
33 views

\startcombination spanning multiple pages? (ConTeXt)

I make extensive use of \startcombination for my grid of images and am very happy with what it produces. \startcombination[4*3] ...
1
vote
0answers
23 views

Error After Updated Context ?

I have a problem again with Context after updated third modules, like this : Command Line: C:\context\tex\texmf-win64\bin\context.exe --synctex=-1 "vektor.tex" Startup Folder: D:\Master ...
2
votes
1answer
79 views

circuitikz and ConTeXT

I would like to use circuitikz with ConTeXT but I have an error message, ! Undefined control sequence. My code is: \usemodule[tikz] \usemodule[circuitikz][european] \starttext \startcircuitikz ...
2
votes
1answer
36 views

Page Numbers are displayed in reverse such as 21 for page 12 in ConTeXt MarkIV

I am trying to typeset a book in arabic in ConTeXt. I have stumbled upon this issue Page Numbers change after 9 to 01 for page 10 21 for page 12 31 for page 13 41 for page 14 and so on The issue ...
3
votes
3answers
104 views

How to do simple arithmetic with arguments in ConTeXt?

This seems like a simple requirement but after reading the wiki and googling for answers, I can't figure how to express it for ConTeXt. What I want to do is define a macro with two arguments (or one ...
5
votes
2answers
64 views

ConTeXt MarkIV : Arabic Letters are disjointed and reversed in headers and margin

I am trying to get Arabic Chapter Name in the header and some arabic text in the margins using ConTeXt MarkIV Here is the MWE: \mainlanguage[arabic] \setupdirections[bidi=global] \definefontfeature ...
1
vote
0answers
35 views

Is it necessary to use nonstopmode in ConTeXt? [on hold]

Is it necessary to use --nonstopmode in ConTeXt or using --once is enough ?
2
votes
0answers
29 views

Changing the itemize marker location in Context

When manually defining the itemize marker with Metapost, the location of the marker appears to be quite low (see picture, the pink line added to highlight the problem). It looks rather ugly, and I'd ...
1
vote
1answer
64 views

How to write Japanese with ConTeXt?

Would you mind explaining to me why the following ConTeXt code does not work and how I can fix it? \mainlanguage[ja] \definefontfamily[mainface][serif][Heisei Mincho ...
6
votes
1answer
81 views

ConTeXt \quote command resets font shape. Is this a bug?

Whenever I use \quote command, it resets font shape to upright (while \quotation command works as expected). I suppose it's a bug. Here's the minimal example: \starttext {\bf Font shape \quote{does} ...
3
votes
1answer
64 views

How do I determine current font style in ConTeXt?

I want to define a macro that behaves differently within different font families. How do I determine the current font family used in ConTeXt? Is there something like \f@family variable?
1
vote
1answer
30 views

How to modify enumerate label format for right to left list in context

I would like to use context to write right to left list, \textdir TRT and \pardir TRT managed to write right to left text. In case of list, if we use \startitemize[n] labels looks like this The ...
3
votes
1answer
124 views

Using Babel-like shorthands in ConTeXt

I'm new to ConTeXt, and I feel very excited about its capabilities. But as soon as I've tried to make a handsome document in Russian, I've learned that ConTeXt doesn't seem to provide Babel-shorthands ...
3
votes
1answer
95 views

TikZ causes blank page in front of ConTeXt makeup with grid layout

Consider the following MWE: \usemodule[tikz] \setuplayout[grid=yes] \starttext \startstandardmakeup Not nothing. \stopstandardmakeup \stoptext The output contains two pages: an unexpected and ...
3
votes
0answers
66 views

Using setupbackend and pdfpageattr together via ConTeXt

Is it possible to use setupbackend and pdfpageattr together via ConTeXt? I was able to use setupbackend alone via ConTeXt (LuaTeX). Got the result as expected. I was able to use pdfpageattr ...
2
votes
2answers
56 views

How to create a missing bold font in ConTeXt using overlays?

I’m using ConTeXt and a font called “CMU Concrete”. I’d like to create a better bold font than the one provided (it’s not bold enough). Instead of using FontForge or fake bold, I tried to do it ...
5
votes
1answer
70 views

ConTeXt scaled headline with hanging/protrusion

I'm using \scale to scale up a headline to the width of the entire paragraph, like so: \def\scaleHead#1% {\scale[width=\textwidth]{#1}} \setuphead[subject] [textcommand=\scaleHead] \subject{Call me ...
1
vote
0answers
57 views

Problem with \inouter and text justification

I am trying to add margin notes in ConTeXt (lastest beta) and for some reason I do not understand when having them in the main text, the main text which normally would be fully justified (without ...
1
vote
1answer
40 views

Using ConTeXt \bTABLEbody and \eTABLEbody within macros

I seem to have a problem with using \bTABLEbody and \eTABLEbody within macros. For example, I wanted to wrap these commands inside another command: \def\BeginChemicalTable{% % ... other stuff goes ...
0
votes
0answers
52 views

Add Colophon to a conTeXt document

I have spent quite some time attempting to add a doublesided page before the title page in a conTeXt document with no success. I am using \input statements in a rather large document, and I am ...
3
votes
2answers
111 views

ConTeXt: Change emphasis font when used within blockquote environment

Background Looking to change the font for emphasized text within a specific type of macro block (environment). Only emphasized text should change; any text within the environment that is not ...
2
votes
0answers
41 views

Tabulate problem with \VL

All, I have an ancient Context document that I've been using for years. It starts with: \startcomponent PizzaProblems-03 \project PizzaProblems \product fall15 \assignment[ ...
0
votes
1answer
52 views

ConTeXt: Avoid text overflow into right-hand margin

Minimum Working Example (MWE) \starttypescript [serif] [storybody] \definefontsynonym [Serif] [name:couriernew] \stoptypescript \definetypeface[story] [rm] [serif] [storybody] [default] ...
1
vote
2answers
47 views

ConTeXt: Suppress figures from inclusion

Background Using pandoc to convert markdown source text into a .tex file. The .tex file is fed to ConTeXt. There are two different styles. One for a polished version and one for a manuscript ...
2
votes
1answer
140 views

Running Two Versions of TeX - Is It Possible?

I currently am using Tecniccenter with Miktex, and creating conventional LaTeX files. I would like to learn Context. I have read on the contextgarden.net site that it is not advisable to to use Miktex ...
1
vote
1answer
67 views

Can I typeset a certain proof tree in ConTeXt?

Now, I know that the below picture can be done in LaTeX. Can it be done in ConTeXt? Because I have yet to learn any TeX system, I'm not asking how to do it in ConTeXt, but I am primarily interested in ...
1
vote
1answer
48 views

How do I insert a \in cross reference across components?

I am using ConTeXts project format, with each chapter using its own .tex file. In chapter 6, I want to refer to [fig05] in chapter 9. Looking at the wiki for \in there's no discussion of this. But ...
0
votes
0answers
51 views

Size of spaces left before and after title chapters in ConTeXt

How much space is left before and after title chapters, considering that the parameters before and after have been set as [before=,after=,]? Are these spaces related to the font size of the title ...
2
votes
1answer
114 views

ConTeXt: change distance between inmargin bullets and text in bulleted list

Can some kind soul show me how to specify the amount of horizontal space between list symbols (bullets, numbers, etc.) and item text in ConTeXt? Specifically, I'm trying to create a bulleted list in ...
2
votes
0answers
72 views

Blank line after defined paragraph

As you can see in the following code, I have a chapter definition which is always followed by one or several scenes. The heading of the scenes does not show any title, but instead two blank lines (the ...
2
votes
1answer
39 views

Blanks before redefined heads not working in ConTeXt

As you can see in the following code, I am trying to put some blank space before the heads I have redefined, yet as shown by grid, no blanks are being shown. \setuppapersize[A5] ...
6
votes
1answer
115 views

How to use ConTEXt to typeset Arabic, and color diactrical marks?

I need to typeset Arabic and color different group of letters/diactrical marks in different color. For this purpose, I explored capabilities of XeLaTeX/ArabXeTeX environment, but could not obtain good ...
3
votes
1answer
81 views

The diagram in ConTeXt remains invisible

I found nice examples of Metapost, http://tex.loria.fr/prod-graph/zoonekynd/metapost/metapost.html. When I use the example number 270, the pdf only contains a page number. Question: what I am doing ...
2
votes
1answer
43 views

Wrong subsection markings in header with ConTeXt MkIV

I am trying to have simple subsections titles like "Chapitre 1", "Chapitre 2" etc... with corresponding mark being the number only, but my example below seems to not give correct markings output in ...
2
votes
0answers
49 views

Advanced markings in ConTeXt Mk IV

Is there a way to somehow get all markings defined on one page (writing some lua code for example) ? The idea is to collect marks related to all titles (say sections and subsections for example) on ...
3
votes
1answer
104 views

Vertical (rotated) titles in margins

I want to write the chapter title or section subject in the margin of each page. I eventually managed to get some working code : \setuplayout[edge=3cm,margin=3cm,backspace=7cm,height=27cm] ...
4
votes
2answers
155 views

Why does ConTeXt keep telling me “source file is not found”?

I can't seem to make ConTeXt work with system fonts. Let's take this simple example from another question on tex.SE : \usemodule[simplefonts][size=12pt] \setmainfont[liberationsans] \starttext Test ...
1
vote
1answer
97 views

Doubts sectioning a book

I have a book divided into chapters and I need to have some pages in the beginning, like a page with the title and so on. Book title and author (one page) Credits (after the title page) Dedicatory ...
6
votes
2answers
161 views

Obtaining features from EBGaramond font in ConTeXt

I want to use EBGaramond font "historic" features in ConTeXt the same way as I could use them from LaTeX but without success. I think I am missing something in my ConTeXt but I am not able to see what ...
3
votes
2answers
109 views

How do I position one picture over another?

I want to overlay one picture on another, like this: —————————————————————————— | | | img1 | | | | ———————— | | ...
2
votes
0answers
37 views

What are the differences between starttable and startTABLE?

Consider the following : \starttable[|c|c|] \NC a \NC b \NC\SR \stoptable It won't compile if I switch to \startTABLE. On the other hand, the following won't compile if I switch to starttable : ...
4
votes
2answers
94 views

Advanced image layout

I'm trying to display a set of images this way : ———————————————————— | img1 | | |—————————| img4 | |img2|img3| | ———————————————————— However I only get ——————————— | img1 | ...
2
votes
0answers
37 views

How do I achieve independant mixed column layout?

I'm trying to create my first ConTeXt document. How can I achieve such a layout with ConTeXt, each part being independant from the others ? —————————————— | | | | | | ...
3
votes
1answer
39 views

Changing content of variables in toc (in ConTeXt): nested \def s

I try to define a "variable" for a category. Using it for the first time, the value should be reset until it is set again. This is the desired output: Fruit: Apricot (also in category) Banana (also ...
3
votes
1answer
64 views

Setting paragraphs inside \setlayer

I am trying to use layers to define a letterhead, but I am finding that text set using a \setlayers command often is set as a single paragraph, even when explicit paragraph layout commands are used, ...
3
votes
1answer
46 views

ConTeXt \definedescription: How to get the description's label on a line of its own?

ConTeXt: How do I get multi-level descriptions? The contextgarden example does not work shows how to get nested descriptions, but each description begins on the same line as the label that it ...