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
1answer
23 views

Annoying space before/after the text on headers

Friends, why when \doiftextelse and \startsetups are used (to get the names of chapters, section, etc.) into an environment you get an annoying space before/after the text on headers. But when the ...
1
vote
0answers
17 views

Use \setupinterlinespace for smalls fonts in ConTeXt

What is the correct way to use \setupinterlinespace in ConTeXt?. As you can see, the command doesn't works for small fonts. Thanks in advance. \starttext {% \tf \setupinterlinespace This is the long ...
7
votes
1answer
56 views

Trees in context

Excuse me for my english, is not my language. I have a document in LaTeX, the relevant code is \documentclass[a4 paper, 12pt]{article} \usepackage{tikz-qtree} \usepackage{tikz} \usepackage{pgf} \...
2
votes
0answers
38 views

Context: colors not rendering correctly after \showcolor inside metapost code

I have this example \starttext \definecolor[myred] [r=.8] \showcolor \startuseMPgraphic{test} fill fullcircle scaled 10mm withcolor \MPcolor{myred}; \stopuseMPgraphic \midaligned{\useMPgraphic{...
5
votes
1answer
65 views

ConTeXt : underbar behavior with subscripts

With ConTeXt, one generally uses \underbar to underline. \underline also exists, but only for mathematics. I also played a bit with the ideas proposed on this wiki page. My tests can be seen on the ...
2
votes
1answer
30 views

ConTeXt : very strange behavior with placefigure

While trying to typeset a document with ConTeXt, I came across the problem you can see on the following MWE. \setuppapersize[A5][A5] \useexternalfigure[ctanlion][http://www.ctan.org/lion/...
1
vote
1answer
22 views

ConTeXt : Cross-referencing and setuphead

I tried some tweaking with the \setuphead command, in order to have the sections appear as I wanted. In particular, the subsection titles appear without the section number. However, when I use \in to ...
3
votes
2answers
83 views

ConTeXt : how to go after float?

When one uses \placefloat[right] with ConTeXt, it automatically wraps the text around the float, which is generally very useful. However, if I need to go at the first line after the float, I don't ...
7
votes
1answer
124 views

Align text to grid in ConTeXt

Guys am working on a page title and I need align some text to grid in \definemakeup MWE: \showframe \showgrid \definemakeup[custom][headerstate=none,footerstate=none] \setuplayout[custom][grid=yes,...
2
votes
1answer
44 views

ConTeXt : inline code highlighting with t-vim

I am trying to insert code in a ConTeXt document, so I tryed to use the vimtyping module. It works well for text blocks, but not for inline text, since it makes a new line. Here is my MWE: \...
1
vote
1answer
57 views

Question about style in ConTeXt

guys am working on a document and i really want to recreate the page number and the footer styles of this document Thanks in advance.
7
votes
1answer
80 views

Is there a “Comprehensive conTeXt Symbol List”

I'm used to use The Comprehensive LaTeX Symbol List for my LaTeX document to search for a specific symbol, many of them are defined with a package. My aim is to find documents which list symbols but ...
3
votes
1answer
27 views

ConTeXt : defining specific behavior with mode

I'm trying to define my own start/stop block, for a conditional compilation with some formatting. I tried to use modes and add a margin rule if the block is to be shown. However, it compiles ...
4
votes
1answer
60 views

ConTeXt : wrap figures with text and equations [closed]

EDIT In the comments, it is told that it works with the version 2016.05.17 19:20, so I precise that I use the standalone version 2016.07.08 17:19. It is more recent, so... I don't understand. I also ...
2
votes
1answer
55 views

ConTeXt : specific item behavior

I'm trying to have a different behavior for itemize inside a given environment, but I can't make it work. I tried to use the before option, as in the following MWE \defineframedtext[special] ...
4
votes
1answer
59 views

ConTeXt : show icon on frame corner

I am trying ConTeXt, and there is something I used to do in LaTeX that I am trying to reproduce : I used to define blocks with an icon superimposed on the top-left corner, such as in the following ...
2
votes
0answers
104 views

ConTeXt SlideWithSteps usage

I am trying to use SlideWithSteps using the following piece of code \usemodule[visualcounter] \usemodule[simpleslides] \usemodule[SlideWithSteps] \setupTitle [ title={Simple Slides?}, author={...
1
vote
0answers
48 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
78 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
72 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
59 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
37 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
81 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
89 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 ...
11
votes
1answer
191 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
80 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
82 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
233 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
82 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
100 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
65 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
117 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
99 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
81 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
92 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 ...
7
votes
1answer
225 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 ...
3
votes
2answers
45 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
64 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
50 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
110 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
112 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
69 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
37 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
118 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
85 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
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 ...
6
votes
2answers
108 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
121 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
104 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 ...