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

3
votes
1answer
141 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
112 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
82 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
69 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 ...
5
votes
1answer
82 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
63 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
48 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
71 views

Add Colophon to a conTeXt document

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
138 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
45 views

Tabulate problem with \VL

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
96 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
50 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
150 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
74 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
53 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
55 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
156 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
87 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
47 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] ...
6
votes
1answer
142 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
92 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
52 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
56 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
134 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] ...
4
votes
2answers
229 views

Why does ConTeXt keep telling me “source file is not found”?

I can't seem to make ConTeXt work with system fonts. Let's take this simple example from another question on tex.SE : \usemodule[simplefonts][size=12pt] \setmainfont[liberationsans] \starttext Test ...
1
vote
1answer
115 views

Doubts sectioning a book

I have a book divided into chapters and I need to have some pages in the beginning, like a page with the title and so on. Book title and author (one page) Credits (after the title page) Dedicatory ...
6
votes
2answers
196 views

Obtaining features from EBGaramond font in ConTeXt

I want to use EBGaramond font "historic" features in ConTeXt the same way as I could use them from LaTeX but without success. I think I am missing something in my ConTeXt but I am not able to see what ...
3
votes
2answers
130 views

How do I position one picture over another?

I want to overlay one picture on another, like this: —————————————————————————— | | | img1 | | | | ———————— | | ...
2
votes
0answers
44 views

What are the differences between starttable and startTABLE?

Consider the following : \starttable[|c|c|] \NC a \NC b \NC\SR \stoptable It won't compile if I switch to \startTABLE. On the other hand, the following won't compile if I switch to starttable : ...
4
votes
2answers
99 views

Advanced image layout

I'm trying to display a set of images this way : ———————————————————— | img1 | | |—————————| img4 | |img2|img3| | ———————————————————— However I only get ——————————— | img1 | ...
2
votes
0answers
38 views

How do I achieve independant mixed column layout?

I'm trying to create my first ConTeXt document. How can I achieve such a layout with ConTeXt, each part being independant from the others ? —————————————— | | | | | | ...
3
votes
1answer
46 views

Changing content of variables in toc (in ConTeXt): nested \def s

I try to define a "variable" for a category. Using it for the first time, the value should be reset until it is set again. This is the desired output: Fruit: Apricot (also in category) Banana (also ...
3
votes
1answer
68 views

Setting paragraphs inside \setlayer

I am trying to use layers to define a letterhead, but I am finding that text set using a \setlayers command often is set as a single paragraph, even when explicit paragraph layout commands are used, ...
3
votes
1answer
60 views

ConTeXt \definedescription: How to get the description's label on a line of its own?

ConTeXt: How do I get multi-level descriptions? The contextgarden example does not work shows how to get nested descriptions, but each description begins on the same line as the label that it ...
3
votes
1answer
153 views

Copy-and-paste small-caps with ConTeXt and simplefonts

I am trying to typeset some text with small caps in ConTeXt (mkiv — version 2015.05.18 12:26), and have that text available for copy–and–paste. Here's a minimum problematic setup: % !TEX encoding = ...
3
votes
1answer
131 views

javascript interactive plot context

I am trying to embed an interactive plot into a ConText presentation. I'm not entirely sure if this is possible. I am using javascript code from amCharts. For this I need three java scripts, two of ...
4
votes
1answer
70 views

ConTeXt ignores value of leftmargin

I am trying to customize the page setup in ConTeXt. Following ConTeXt garden, I use the setting width=fit. Whereas adjusting the parameter rightmargin works just fine, changing leftmargin has no ...
2
votes
1answer
184 views

How do I fallback to a different font for missing glyphs in ConTeXt?

I have auto-generated input with mixed language data (don't ask) that I need to typeset. Thankfully there will be no more than two languages at a time and I will know what the two languages will be, ...
2
votes
0answers
60 views

Correct inconsistent image placement across direction boundaries in ConTeXt?

I have a serious of auto-generated documents in various languages that include a mix of LTR and RTL languages. I am trying to come up with common markup that works across both directions. I've run ...
4
votes
1answer
87 views

Is there a parser of classic LaTeX/ConTeXt syntax?

Every time a question about parsing tex syntaxes come up, the first answer is: it's not possible and here is an (convuluted) example why. So I'm trying to narrow the scope of the question to what I ...
4
votes
2answers
113 views

ConTeXt xtable split to multiple pages

How to make xtable or TABLE [split=repeat] option to work with comma-separated list? \usemodule[database] \defineseparatedlist [MyTable] [separator=comma, left=\bTD,right=\eTD, ...
5
votes
2answers
62 views

How to continue \startParagraphNumbers in ConteXt

I just started using ConteXt to typeset some legal documents. The paragraphs in these docs need to be numbered sequentially. And though I did find a code for this in here ConteXt Ref ...
1
vote
0answers
84 views

How should I avoid orphan and widow lines in Context

Typesetting a very simple document (no maths etc, just text, quotations and images), I am stuck with several orphan and widow lines. Is there a way to make Context avoid doing this? I can't find any ...
3
votes
1answer
71 views

Adjusting the counter of \startitemize environment

I tried to find this answer on tex.stackexchange.com, the ConTeXt Garden wiki and the ConTeXt reference manual, and I feel like I must be overlooking something simple. Basically, I have a list of ...
4
votes
1answer
145 views

ConTeXt only finds one font style in .ttc file

I've been trying to use a couple of my Mac system fonts in my document, and I'm finding that ConTeXt is only finding one style for a couple of the fonts I've been using. The ones I've tried are ...
1
vote
0answers
62 views

context fails due to no return code

Running Fedora22 here, I have cloned https://github.com/mszep/pandoc_resume.git to give it a try and ran make. It fails with the context command: $ context resume.tex mtx-context | run 1: ...
4
votes
1answer
67 views
2
votes
2answers
51 views

ConTeXt: How to style interactive elements individually rather than globally

I want two have two links, one bold and one normal. As a MWE: \setupinteraction[state=start,style=normal] \starttext {\bf\goto{Link 1}[url(http://www.example.com)]} \goto{Link ...
5
votes
2answers
115 views

Why does fontspec interfere with Ligatures? (In retrospect: How the dutch hyphenate)

The tufte sample text (provided by ConTeXt) contains a || sequence which normally gets turned into an emdash. For some reason the inclusion of fontspec disables this. I've tried to use various options ...
3
votes
0answers
218 views

Putting “continued…” at the bottom of the page and on the top of the next page in ConTeXt

I have a section of text that contains several paragraphs, enumerated lists and possibly small tables (3 or 4 rows maximum), and where this section of text crosses a page boundary I'd like to put ...