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
2answers
79 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
48 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
56 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 ...
7
votes
0answers
77 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
72 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
75 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 ...
2
votes
0answers
67 views

Looking for ConTeXt template

I did very few LaTeX based on a template and it allowed me to produce document without spending too much time learning LaTeX synthax imputing most of its basics. LaTeX is a bit outdated in term of ...
2
votes
2answers
35 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
34 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
45 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
93 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
97 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
53 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] ...
0
votes
0answers
35 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
102 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
57 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 ...
1
vote
1answer
79 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
92 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 ...
4
votes
1answer
85 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
93 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
66 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
61 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 ...
4
votes
1answer
116 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
79 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
141 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] ...
2
votes
1answer
50 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
83 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
95 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 ...
2
votes
0answers
61 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
59 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
79 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
54 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
80 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
58 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
51 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] ...
0
votes
0answers
39 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
105 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
60 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
121 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
121 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
40 views

Is it necessary to use nonstopmode in ConTeXt? [closed]

Is it necessary to use --nonstopmode in ConTeXt or using --once is enough ?
2
votes
0answers
41 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
80 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
95 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
95 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
48 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 ...