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
2answers
127 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
44 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
89 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
48 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
147 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
71 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
52 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
54 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
148 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
86 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
138 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
89 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
55 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
124 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
213 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
114 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
187 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
129 views

How do I position one picture over another?

I want to overlay one picture on another, like this: —————————————————————————— | | | img1 | | | | ———————— | | ...
2
votes
0answers
42 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
97 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
43 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
57 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
147 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
120 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
68 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
169 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
56 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
110 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
77 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
69 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
138 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
58 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
62 views
2
votes
2answers
50 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
114 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
201 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 ...
3
votes
2answers
94 views

Preformatted text using ConTeXt's \startlines

This is a follow-up question to ConTeXt equivalent to LaTeX's \linebreak with full justification Include original page images for side-by-side comparison + SyncTex I am using the ...
4
votes
2answers
117 views

ConTeXt equivalent to LaTeX's \linebreak with full justification

In Latex, the following MWE: \documentclass{article} \begin{document} Hello World\linebreak Hello World\linebreak Hello World\linebreak Hello World \end{document} leaves each line fully justified ...
4
votes
1answer
55 views

Calling start/stop letter environment inside luacode block

I'm creating a letter using the ConTeXt letter module, and I want to process an external file within Lua and change some of the letter setup and text based on the data in the external file. I'm ...
5
votes
0answers
95 views

No italic correction in ConTeXt

Quoting ConTeXt garden, There is a font switch \em to emphasize text. This is somewhat special: it does automatic italic correction and changes the alternative depending on the current ...
3
votes
2answers
218 views

Grid on aligned equations in ConTeXt

Grid typesetting works quite well in ConTeXt for single-line equations (see the first example below). However, replacing it by any number of aligned equations (including just a single "aligned" ...
6
votes
0answers
127 views

Use ConTeXt to turn EPUB into PDF

Because ConTeXt is good at manipulating XML, it would seem likely that it is also good at handling EPUB, since this is essentially a zipped collection of HTML and CSS files. I am wondering if there ...
1
vote
1answer
75 views

How to create a hanging bullet list in ConTeXt

The only way I have found seems somewhat hackish: \setupitemize[leftmargin=-18pt] \starttext \startitemize \item one \item two \stopitemize body text \stoptext
0
votes
0answers
51 views

conTeXt Mkiv: the number of parameters can not be more than 9?

For testing, I have a definition: \define[9]\DEFINETEST{#1,#2,#3,#4,#5,#6,#7,#8,#9} context test can work fine, when I modify the above into: \define[10]\DEFINETEST{#1,#2,#3,#4,#5,#6,#7,#8,#9,#10} ...