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
1answer
82 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
130 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
83 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
230 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
98 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 \...
5
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
62 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
87 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
57 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
92 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
1answer
79 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
54 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] {\externalfigure[http://ecx.images-amazon.com/images/I/81P31hUJh7L....
0
votes
0answers
42 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 ...
4
votes
2answers
132 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
67 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
125 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
128 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
43 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
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 ...
1
vote
1answer
84 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 Std][tf=file:HeiseiMinStd-W3.otf,...
6
votes
1answer
100 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
100 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
55 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
147 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
119 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
85 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
74 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 ...
6
votes
1answer
88 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
64 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
52 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
75 views

Add Colophon to a conTeXt document [closed]

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
152 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
59 views

Tabulate problem with \VL [closed]

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
119 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
51 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
155 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
77 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
59 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
56 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
170 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
90 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
51 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] \setupindenting[...
6
votes
1answer
152 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
94 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
54 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
58 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
155 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] \...