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
21 views

ConTeXt equivalent of pause command in beamer

I am trying to replicate the pause command used in beamer to ConTeXt. Looking through the documentation, I have figured out one has to use layers in the presentation to do so. But, I don't seem to ...
3
votes
1answer
97 views

Minimal ConTeXt and Husayni example

I would like to typeset a line of Arabic using ConTeXt and the Husayni font. I can see the lfg files located here: /usr/share/texmf/tex/context/fonts/husayni.lfg /usr/local/context/tex/texmf-context/...
3
votes
1answer
29 views

Context visual counter size

I want to reduce the text size and also the visual counter size for context presentation. I have the following options setup \usemodule[visualcounter] \definevisualcounter [userpage] [...
2
votes
1answer
63 views

ConTeXt: Project layout, capacity exceeded

I want to start using context to write my thesis but I can't even get a simple project layout to work: product.tex \environment env \startproduct product \component test \stopproduct env.tex \...
1
vote
0answers
36 views

ConTeXt no bottom titles

guys am learning all about ConTeXt and i've a question: What is the equivalent ConTeXt command to "\usepackage[nobottomtitles]{titlesec}" in LaTeX?
6
votes
1answer
206 views

Looking for ConTeXt examples

On the internet you find a lot of ready-to-typeset LaTeX examples (often called templates) on websites such as LaTeX Templates or Overleaf. These allow novices to produce documents really quickly and ...
5
votes
1answer
47 views

ConTeXt: How to setuphead with a definefont and font size relative to body font

I am trying to replicate a Word template that is made ... ahem "beautiful" ... by using a scattering of different fonts all over the place. The body font is different from the heading fonts. I have: ...
3
votes
1answer
59 views

Tabular envionment in ConTeXt

guys is there any way to setup a tabular environment in ConteXt. What i need is the equivalent of \AtBeginEnvironment{tabular} (latex command) but in ConTeXt. The goal is to use opentype features like ...
3
votes
1answer
69 views

Minion Math and ConTeXt

can anybody please share the correct way (or a link with some documentation about it) to use Minion Math font and ConTeXt.
3
votes
1answer
177 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 ...
134
votes
4answers
18k views

Why should I be interested in ConTeXt?

In the spirit of a free-form Friday on StackOverflow, I'd like to know if I should consider learning ConTeXt. What got me into LaTeX way back in 1994 was having structural markup that made longer ...
2
votes
1answer
47 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 ...
4
votes
2answers
125 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 \...
3
votes
2answers
308 views

Ugly-looking integral signs in ConTeXt MkIV

A few days ago, I decided to try out ConTeXt (just for fun), but ran into the following problem. Running the 'context' command on \setuppagenumbering[location=] \starttext \startformula \int_a^b f(...
13
votes
3answers
226 views

Accessing TeX token or exporting filtered plain text

(updated according to gained information) In the context of keyword extraction from arbitrary (La)TeX documents and simple manipulations with them (automated annotation), I would like to be able to ...
0
votes
0answers
73 views

ConTeXt and Sublime Text 3

where can i find information to set up ConTeXt on Sublime Text 3. I really like this editor and i have used it to create my documents in Latex/Latextools. But now, am learning about ConTeXt and i ...
10
votes
1answer
181 views

Why does ConTeXt use \NC..\NR instead of &..\cr?

When Knuth came up with the catcode table, he dedicated the character & to catcode 4, the alignment tab. It happens rarely that people change these default catcodes and I guess most users have ...
7
votes
1answer
78 views

ConTeXt xtables inside \ doifundefined won't compile

The following mini example won't compile: \starttext \doifundefined{undefined}{% \startxtable \startxtablebody \startxrow \startxcell cell \stopxcell \stopxrow \...
5
votes
2answers
196 views

In ConTeXt, what command resets the font size to “normal” after e.g. \tfa?

I tried the following snippet just now: \starttext \tf A quick brown fox \par \tfc A quick brown fox \par \tf A quick brown fox \par \tfb A quick brown fox \par \tf A quick brown fox \par \tfa A ...
60
votes
7answers
3k views

Where can I find good ConTeXt documentation

Where would be a good place to start learning ConTeXt if you haven't got a lot of experience under your belt yet? Any place online or in a bookstore is welcome, provided that the reading is well-...
2
votes
3answers
78 views

Redefining symbol for specific language in ConTeXt

I have somewhat a follow-up to this question. I figured that it would be better to have a regular em-dash (---) whose size and spacing rules adjust depending on current language. So when \language[ru] ...
5
votes
1answer
77 views

How to wrap each paragraph in a command using ConTeXt?

I’m typesetting a document partly translated from german into french. To do so, I created a \voc command, designed to: Put the word into a register. Display the word in bold. Display its translation ...
4
votes
1answer
75 views

How can I define a dotted underbar in ConTeXt?

I would like to create a dotted underbar in ConTeXt with the \defineunderbar mechanism. Is that possible?
5
votes
1answer
207 views

How do I create unequal column widths using columnsets?

I would like to create a columnset where the first column is wider than the others. I understand that column breaks become complicated in such an environment. The ConTeXt columns manual claims to ...
3
votes
2answers
98 views

ConTeXt: Cyrillic letters are not rendered

Okay, a really stupid question. How do I compile my Hello World document with Cyrillic letters? Compiling \starttext \startsection[title={Testing ConTeXt}] This is my {\em first} русский ConTeXt ...
2
votes
0answers
60 views

ConTeXt: what is ~/texmf folder and what is its relation with /usr/share/texmf

First of all, I am a complete noob in TeX/LaTeX/ConTeXt/WhaTeVeR, so please be gentle. OK so I installed ConTeXt (version 2013.84.svn30044-18.5) on my OpenSuSE 42.1 using the official repository, and ...
7
votes
0answers
94 views

Oriental TeX and Husayni

I have recently been typesetting a Quranic Mashaf using a combination of XeLaTeX, bidi, and polyglossia. I am generally pleased with the results so far, but after reviewing Idris Samawi Hamid's work ...
4
votes
1answer
78 views

How does CONTEXT's auto-generation of code documentation work?

Unlike LaTeX's core, CONTEXT core macros have quite readable code and, specially in the lack of up-to-date documentation for certain commands, one can learn a lot by just reading the code itself and ...
1
vote
2answers
82 views

Customize right to left list in context

How can I use margin and column options with right to left list (arabic language). I have defined new enumeration ..., أ , ب for my right to left list, but if I add mergin or any other option for ...
3
votes
1answer
90 views

In CONTEXT, how can I get the total number of chapters?

For total number of pages, one can use \lastcounter[userpage] to get the total number of pages in the document. Actually it gives the number on the last page (which is more interesting). Similar ...
1
vote
1answer
43 views

Why does kpsewhich fail to find this file?

I'm trying to compile a file with context, and I get an error: I couldn't open style file cont-no.bst ---line 2 of file dissertation.aux : \bibstyle{cont-no : } I thought I would ...
3
votes
2answers
43 views

How can I get a TABLE to respect the narrower environment in ConTeXt?

The narrower environment in ConTeXt is very useful, but TABLEs misbehave inside of it. I would expect a TABLE in a narrower environment to align with the new margin, but instead, the TABLE is aligned ...
5
votes
2answers
105 views

Hierarchical semantic network

I would like to reproduce a hierarquical semantic network like this (Memory and Learning, from brain to behavior", Mark A. Gluck) My main problem is to add the lateral information in each box. ...
1
vote
0answers
49 views

ConTeXt for the LaTeX user [duplicate]

I am willing to try out ConTeXt after reading about its typographical capabilities and differences from more classical engines. I was wondering if there was good and recent resources to learn the ...
7
votes
0answers
112 views

ConTeXt: uppercase ß, customizing glyph substitution

I've been trying to get a capital ß out of ConTeXt in contexts where automatic uppercasing is meant to happen, and get strange results. I am very new to ConTeXt. Also, I don't like the oldtsyle ...
6
votes
0answers
104 views

ConTeXt: Font weights

Is there a canonical way to access font weights other than regular and bold in ConTeXt? This does not work: \definefontfamily [myfamily] [serif][Calluna] \definefontfamily [myfamily] [sans] [Calluna ...
1
vote
0answers
60 views

Copying Arabic text from ConTeXt PDF

When copying and pasting an Arabic text from a PDF file generated by context, the characters are not correctly joint. Consider the following MWE: \definefontfamily [font] [serif] [Amiri] [features=...
0
votes
0answers
36 views

pagebreaking and `\vfil` in ConTeXt

I am trying to distribute elements vertically across a page: \setupbodyfont [TeX Gyre Pagella, 30pt] % Or something else \showframe \starttext A \vfil B \vfil C \vfil D \page E \vfil F \page G \...
3
votes
1answer
60 views

Styling different levels of itemize with repeating item numbers in ConTeXt

As ugly as this sounds, is it possible to produce a nested itemize list with different styles for each item number? E.g. with the below code: \setupbodyfont[sansserif] \starttext \setupitemize[1][n,...
1
vote
1answer
83 views

ConText under Windows

I'm very frustrated by the fact that almost all ConText documentations are outdated. For example, I followed the steps in ConText Garden Wiki's "Adapting TeXnicCenter for processing ConTeXt documents" ...
6
votes
2answers
105 views

Scale long line of text down

I'm using Context to generate a book. Most of my chapter titles are short and fit in the space allotted to them. However a few are slightly too long, I'd like to scale those down to fit. Trying ...
3
votes
0answers
54 views

Nested quotes with poetry

I'm using context and trying to get nested quotes right. Here is a document that illustrates my problems: \starttext {\bf Closing quotes on new line.} \startblockquote The start of a really long ...
20
votes
7answers
3k views

ConTeXt editors

There is a very active question about LaTeX editors and IDEs. I personally use Vim with LaTeX-suite for any LaTeX editing, and I am very happy with it. Lately I began to use ConTeXt more and more. ...
5
votes
1answer
108 views

Can I just install TeX Live to get ConTeXt?

I have a hankering to try ConTeXt again. I am normally a MikTeX user -- its on all my computers, except the linux ones (which generally use whatever is the the package manager). Last time I used ...
2
votes
1answer
99 views

Putting a plus symbol in the index in ConTeXt

I tried searching the mailing list for this but maybe I'm searching for the wrong thing. Basically, I have something I want to put in the index, but it has a plus symbol in it. ConTeXt interprets the ...
10
votes
4answers
19k views

How to sort the order of pages so that they can be printed in a folded book?

I am using ConTeXt to print a book. Each page is A5, but the print store can only print on A4 paper, so they print 2 pages on each side of the A4 paper. I used this code to specify the layout: \...
1
vote
0answers
52 views

How to keep page break points when publishing the same content with two different styles?

I would like to publish two or more versions of the same document. The content is the same, the style is different and the page breaks should be the same too, so that I can refer to the same page ...
2
votes
0answers
67 views

Using typewriter font and turning off hyphenation in ConTeXt

I want to set the font for my entire document as a courier / typewriter font, so that it resembles a typewritten manuscript. This includes turning off hyphenation for the entire document. So far, I ...
115
votes
11answers
12k views

Simulating hand-drawn lines

I am working on a project that will have some vector graphics, perhaps using TikZ (or a similar package). All of the graphics consists of lines, in shades of gray. However, the lines from TikZ appear ...
7
votes
2answers
96 views

\overstrike in ConTeXt, can it overstrike leaders?

I have the something similar to the following: \setuppapersize[A6][A6] \starttext \overstrike{Hello\hfill world!} % Works OK Hello\leaders\hbox{.}\hfill world! % Works OK, nothing special \...