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

4
votes
0answers
35 views

How do I create unequal column widths using columnsets?

I would like to create a columnset where the first column is wider than the others. I understand that column breaks become complicated in such an environment. The ConTeXt columns manual claims to ...
3
votes
1answer
76 views

vectors with marks for forces representation

In the first approach to teaching forces are presented to students diagrams with various forces and asked to them to group the forces according to their orientation, direction and magnitude. I often ...
3
votes
1answer
155 views

Build a real histogram in pgfplots

Always in my long learning TikZ, I would build a "real" histogram from the following set of data : xi ni 1000 5 1200 8 1500 24 2500 13 3000 2 The idea is to group the data into ...
0
votes
0answers
19 views

Converting DNG inline in a ConTeXt document?

I'm writing some code that automatically exports TeX for context to convert into a report. The content that this code manipulates includes images in .dng format. While I'm aware that I can add an ...
3
votes
1answer
30 views

ConTeXt: How do I get multi-level descriptions? The contextgarden example does not work

The following contextgarden example from http://wiki.contextgarden.net/Description to produce a two-level description using ConTeXt doesn't work for me. The resulting pdf is as if all four items form ...
4
votes
1answer
77 views

Box plot with pgfplots package

I did my first box with pgfplots package. I have several questions : How to write numbers without commas with a thousands separator ? How to have a larger distance between the box and the x axis ? ...
2
votes
0answers
61 views

How to make this typescript work in ConTeXt?

I'm trying to come to grips with typescripts in ConTeXt. Amongst all the examples and all the documentation, it just is not clear what is happening. I downloaded a new font for use with this example ...
2
votes
1answer
46 views

How to use \baselineskip with \blank[…]?

I want to add a space inbetween two sentences exactly one baselineskip apart. Apparently \blank[\baselineskip] doesn't work but if I first do \definemeasure[x][\baselineskip] and then do ...
4
votes
0answers
63 views

In ConTeXt, what command resets the font size to “normal” after e.g. \tfa?

I tried the following snippet just now: \starttext \tf A quick brown fox \par \tfc A quick brown fox \par \tf A quick brown fox \par \tfb A quick brown fox \par \tf A quick brown fox \par \tfa A ...
1
vote
0answers
32 views

Correct way to make \externalfigure[] to look in only current directory of ConTeXt file?

I'm trying a document directory structure like the following: proj/proj.tex proj/env.tex proj/product/product.tex proj/product/entries/comp1/entry.tex proj/product/entries/comp1/image.pdf ...
1
vote
1answer
33 views

How to add some extra spacing between two paragraphs in ConTeXt?

I've set up inter-paragraph spacing for a ConTeXt document but in-between two specific paragraphs, I'd like to have some extra spacing. About 1 inch. In LaTeX I'd use \vspace{1in}. What is the command ...
1
vote
1answer
35 views

How to get ConTeXt “title” section into table of contents?

I'm trying the following code: \setuphead[subject][incrementnumber=yes, number=no] \setuphead[title][incrementnumber=yes, number=no] \setupcombinedlist[content][list={title,subject}] \starttext ...
4
votes
1answer
80 views

Is there an “article class clone” for ConTeXt available anywhere?

I'm trying to get to grips with ConTeXt. It is an interesting system. Coming from LaTeX though, it is quite a significant change. Is there some sort of a ConTeXt template for e.g. a LaTeX article ...
22
votes
2answers
316 views

What is the mindset to take when using ConTeXt vs LaTeX?

Having recently gotten back into writing with LaTeX, I explored XeTeX and found advances in using modern fonts, explored LuaTeX and found a next-gen development underway, and explored ConTeXt and ...
0
votes
0answers
55 views

How include MetaPost from ConTeXt to LaTeX?

I found ConTeXt document and I get file with MetaPost like this : % language=uk % author : Hans Hagen, PRAGMA ADE, NL % license : Creative Commons, Attribution-NonCommercial-ShareAlike 3.0 ...
3
votes
1answer
94 views

Typesetting scenes in a novel

I am typesetting a novel in ConTeXt and I need a way to correctly typeset scenes. A scene in my novel is just a sequence of paragraphs separated from the previous one by two blank lines (though in the ...
0
votes
0answers
41 views

Chapters with and without numbering together in the same table of contents

I am typesetting a novel in ConTeXt and though I have read as much documentation as possible, I still have doubts about how to do things in a clean and correct way. I typeset my chapters by using a ...
3
votes
1answer
72 views

parametric overlay in context

I am trying to make something like excel databars in context TABLE enviroment. I have created overlay, that should draw the databar, but I can't figure out, how to pass data into that overlay. Is it ...
14
votes
0answers
116 views

What is “the” LUA root for context packages?

As package author, I want to write a LUA module which can be found by both lualatex and context. The lualatex prototype works reasonably and I am convinced that this will also be true if I release ...
3
votes
1answer
54 views

caption for \starttables

How can I put caption for a \starttables? I am using context to generate a pdf with captions on top of tables, which are to be auto-numbered. I have tried \placetable, but without any success. Also, ...
2
votes
2answers
82 views

Similar Structured Macros

I am currently using the macro, \def\<#1: #2: #3\>{\langle #1\;:\if#2\empty\else\;#2\;\fi:\;#3\rangle} Taken from: http://ctan.org/pkg/tex-ewd. And I would like to make another similar macro, ...
2
votes
1answer
58 views

Aligning header to the right in ConTeXt

I am typesetting a novel in ConTeXt and one of the things I was in need was a way of typesetting headers for scenes. A scene as I understand it, is simply a couple of lines which separate paragraphs, ...
1
vote
0answers
50 views

ConTeXt: Prevent page break between heading and image

Using ConteXt, how could one prevent a page break between a heading and an image or text + image? For example, given: \section{With a Chart} \placefigure[here] {}{\externalfigure[Chart.pdf]} % or ...
3
votes
1answer
165 views

TikZ calendar and ConTeXT

I'm trying to use the TikZ calendar package in ConTeXT, but I'm not having luck. The problem is that before the months and days names appears the keyword translation between square brackets. How i ...
2
votes
1answer
87 views

Why does ConTeXt fail to compile when using custom fonts and a bulleted list?

\starttypescript[serif] [titillium] \definefontsynonym[Serif] [file:Titillium-Regular] \definefontsynonym[SerifBold] [file:Titillium-Bold] ...
3
votes
0answers
84 views

How to embed fonts within a ConTeXt document?

I wrote a book using ConTeXt. I used a typescript to define the fonts. When compiled and viewed on my computer, the fonts appeared correctly. I sent my book to a printing place to have them print the ...
10
votes
1answer
144 views

Where to find a comprehensive overview of the features of the ConTeXt cite command?

I need to use the \cite command in ConTeXt very often for in-text citations in APA format, in a wide range of forms, e.g.: (Author, YYYY) Author (YYYY) (Author, YYYY, p. n) Author (YYYY, p. n) ...
3
votes
0answers
57 views

Embed ConTeXt into LaTeX

I have an XML document which I'm currently trying to converted into XeLaTeX code. I'd like to stick to XeLaTeX rather than move to ConTeXt. However, a problem relatex to the difference in the table ...
2
votes
0answers
30 views

Troublesome extra space in matrix with ConTeXt

I need to display a column vector in a table and, by doing it, an extra space occurs like an empty extra number. How can I fix this please ? \starttable[|r|l|] \NC $u=\startmatrix 1 \NR ...
1
vote
0answers
91 views

How to convert a ConTeXt document to PowerPoint presentation?

I created a very simple, ~100-page document in ConTeXt. It only uses \starttext, \chapter, \section, \startitemize, and \item, e.g.: \starttext \startitemize \chapter{First chapter} ...
4
votes
1answer
65 views

ConTeXt - Binding Offset

In LaTeX, the geometry package allowed me to specify a binding offset (an amount by which the content area of each page was shifted away from the binding) for book layout. I'm very new to ConTeXt and ...
3
votes
1answer
96 views

How to embed audio in a PDF created with ConTeXt?

How can I place an MP3 file in the page of a PDF, so that it can play the audio on a Windows machine with Adobe Acrobat Reader?
3
votes
1answer
74 views

ConTeXt: How to enforce spacing below a columnsetspan?

I'm using columnsets with floating columnsetspans, and I would like to enforce a small amount of vertical space below a columnsetspan and the following text, outside the frame. Here are some example ...
4
votes
0answers
66 views

ConTeXt's best approximation to amsart

ConTeXt's wiki and manuals explain very well how to configure all imaginable aspects of your document, but they don't seem to explain how not to do it. There ought to be a very simple way (an ...
4
votes
1answer
104 views

How to display in-text citations in the `Author (Year)` format in ConTeXt?

When writing in APA, one can write in-text in one of two ways: (Willows, Q. A. & White, P., 1995) Or, if the author's name is mentioned within the text, using this syntax: Willows, Q. A. & ...
3
votes
1answer
51 views

(ConTeXt) Is it possible to use different paper orientation in the same document?

For example, I have two pages. I want the first to be portrait and the second landscape. Can I do that? Or I have to make two pdf and combine them as one later?
2
votes
3answers
95 views

verbatim text with C code

I'm trying to typeset a lot of C code in the latest ConTeXt (MKIV). It tried: \startC printf("Hello, world\n"); \stopC only to find that \startC macro is undefined. It is defined in ...
4
votes
3answers
63 views

ConTeXt system font search path

I read from the official manual (http://wiki.contextgarden.net/Fonts_in_LuaTex#How_LuaTeX_handles_system_fonts) that I need to export OSFONTDIR="/usr/local/share/fonts;$HOME/.fonts" to specify where ...
2
votes
1answer
53 views

ConTeXt: Cross-references for Table of Contents hyperlinks

Background Looking to customize the table of contents. Problem In the example, the following problems exist: The last entry in the table of contents is not hyperlinked. All hyperlinks are off by ...
2
votes
1answer
82 views

How to randomize the text size of each word in ConTeXT?

Beginning with a passage of text like this: This is a sample passage. How can I set each word to randomly appear at a different size, from a list of 3-4 possible sizes? E.g., in the output, "This" ...
3
votes
1answer
110 views

ConTeXt: Flush right formula numbers in cases environment

I would like to have the formula numbers of the cases environment flush right like regular formulas (not at a fixed distant from the cases like it is by default with the default setting ...
4
votes
1answer
73 views

ConTeXt: Macro within macro for URLs

Background Would like to define a base URL that can be reused by other macros. Problem Using the \goto macro requires a fully expanded URL. Minimum Working Example Here's code that illustrates ...
4
votes
0answers
121 views

ConTeXt: Use url parameter to hyperlink bibliography title references

Background A technical design document includes a number of citations. It would be convenient to include hyperlinks to the cited documents in the bibliography. The bibtex entries include articles, ...
3
votes
0answers
112 views

Trying Context in SciTE on windows, but

I've decided to give ConTeXt a try and I've been using these instructions http://wiki.contextgarden.net/Windows_Installation:_ConTeXt_Suite_with_SciTe If I type context --version in powershell ...
2
votes
0answers
79 views

add text in the middle of the cover page

I found this code in the "cld-mkiv.pdf" manual writing by Hans Hagen. I would like to put some text in the middle of the cover page but i don't know how. I think that i need to define a overlay. ...
3
votes
1answer
129 views

Book style page numbering with ConTeXt

I would like to set the numbering like Cover page = show no page number TOC = roman page numbers Body= arabic page numbers Many people have previously asked similar question like Page numbers ...
5
votes
1answer
79 views

\setuppagenumbering[location=] causes problem in Context

I am new to tex world. I am converting a markdown to pdf, first using the pandoc to create the text and then ConText to generate the pdf. I hope to release the template to wider pandoc audience if I ...
2
votes
0answers
69 views

Running of ConTeXt along with MiKTeX 2.9 windows8 64bit

MikTeX 2.9 is running very well. However, I installed ConTeXt as instructed in the separate drive and specified path. When I tested in the command line I get the following error C:>context ...
5
votes
0answers
109 views

About the internals of ConTeXt

It appears that ConTeXt is more structured than LaTeX2e in terms of naming scheme, key-value naming, macros, etc. However I haven't seen any guide or so that explains how this structure works. Where ...
2
votes
0answers
82 views

ConTeXt: hyperlinks with special characters

I need to link to some online resources in my PDF file. Based on the official documentation, I have written: \useURL[dbdk] [http://dbpedia.org/page/The_Dark_Knight_(film)] [] [it's link to DBPedia] ...