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
30 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?
2
votes
1answer
47 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 \...
3
votes
1answer
56 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 ...
5
votes
1answer
46 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
28 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] [...
3
votes
1answer
67 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.
0
votes
0answers
72 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
179 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 \...
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] ...
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 ...
5
votes
1answer
75 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 ...
3
votes
2answers
97 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
58 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 ...
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/...
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 ...
3
votes
1answer
88 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 ...
6
votes
1answer
191 views
+150

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 ...
3
votes
2answers
42 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 ...
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 ...
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 ...
5
votes
2answers
104 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. ...
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 \...
7
votes
0answers
111 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 ...
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" ...
3
votes
0answers
53 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 ...
6
votes
2answers
103 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 ...
5
votes
1answer
107 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
98 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 ...
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 ...
2
votes
0answers
63 views

Is there “toffset” option for \setupbackgrounds in context

I'm trying to learn context, and I'm satisfied with their capacities. I read in contextgarden that options of \setupbackgrounds inherit from \setupframed, but if I setup toffset=5mm for \...
1
vote
1answer
80 views

Turning off hyphenation and redefining the typesetting of italics and bold

I want to emulate under ConTeXt the manuscript format provided by the sffms LaTeX package: http://www.mcdemarco.net/sffms/ It provides, roughly, these features: Double spaced manuscript 12-point ...
5
votes
1answer
125 views

Alternative to \large, \Large, \Huge, \small etc in ConTeXt

Are there simple alternative of these font sizes in ConTeXt? Or one needs to use some special module? I looked at this page here. It seems to be a lot of boilerplate of such a simple task.
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 ...
2
votes
1answer
189 views

ConText and bibliography

Trying to compile simple example of using bibliography in ConText (from contextgarden wiki). My file is: \mainlanguage[russian] \usemodule[simplefonts][size=12pt] \setmainfont[XITS] \setsansfont[...
2
votes
1answer
53 views

How to modify months names in context

I would like to change months names in context, in tex \month define the month number, names of months can be redefined with \ifcase Change month names in \today command How can I do the same in ...
1
vote
0answers
39 views

Can I supply multiple compilation flags to the ConTeXt binary?

I can only provide one (1) compilation flag to ConTeXt binary via a commented line at the top of a ConTeXt input file. input.tex % engine=luatex \starttext hello, world \stoptext compile input.tex ...
2
votes
1answer
88 views

How to use Latin Modern font for math with arabic font

I want to write arabic document which contain mathematics using context, I would like to use Latin Modern font for mathematics (which I use when writing my documents with xelatex). My question is how ...
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 \...
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?
4
votes
1answer
61 views

How do I create a subtle placeinitial effect in a setuphead?

I would like the first character of my \section head (I'm using a fancy germanic font) to be at (for example) \tfb while the rest is at \tfa. I've tried adding \placeinitial to the style, but that ...
3
votes
0answers
85 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 mtx-...
3
votes
1answer
56 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
85 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
60 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 ...