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

0
votes
0answers
25 views

ConTeXt: How to (force) capitalization of the first letter of some string?

I want to do the following: \Word{\word{Massively Parallel Processing}} and I expect it to be rendered as "Massively parallel processing". However, it is rendered as "massively parallel ...
2
votes
2answers
40 views

Using a table as a header in Context

I want to define a table to use as a header in my Context document. This table shall contain different variables, like document title, document number, date, page x of yy, etc. I have defined the ...
1
vote
1answer
41 views

Vertical alignment of fonts of different size on same line in ConTeXt

Given a document like this \starttext \setupbodyfont[palatino,8pt] small \setupbodyfont[palatino,12pt] normal \setupbodyfont[palatino,16pt] big \stoptext how would I center those words vertically?
4
votes
2answers
92 views

ConTexT, disable node text indenting

I have a problem with TikZ picture under ConTexT. If I set it up for document wide indenting such as "setindenting[medium,yes]", then the problem is that tikz will always indent the text in a node as ...
4
votes
1answer
90 views

Footnote complete citation, plus ibid, op, cit., etc (in ConTeXt)

I need my citations to be in a footnote. I tried \footnote{\cite[alternative=data][bib_key]} but this can’t help me with ibid. or Author, op. cit. when required. Searching a little, I found something ...
3
votes
0answers
41 views

ConTeXt: Is there a way to show the \part heading?

I’m new to ConTeXt, and noticed that \part{Some title} (and neither \start part[title={Some title}]…\stoppart) will produce and output (besides an empty page with footer and header). Nevertheless, ...
2
votes
1answer
44 views

ConTeXt table row vertical fill page

Is there a way to have a bTR for ConTeXt fill a page vertically? I want to have a full-page table, with both width and height filled. Given e.g. \bTABLE \bTR \bTD One \eTD \eTR \bTR \bTD ...
1
vote
0answers
51 views

Pass parameters to ConTeXt \component, \product, etc

I would like to use, and it appears suited, the \component and related commands in ConTeXt. However, I would like to have multiple parameters to a given component e.g. \startcomponent X ...
1
vote
1answer
56 views

How to use ConTeXt in a unix pipeline?

I can process my tex file into a PDF by running "context something.tex". It produces an output file called something.pdf and a few other files (such as something.log). I want to run a command as part ...
7
votes
3answers
159 views

Typing of math sign charts

For typing of quantities of solving mathematical problems I would like to type signs charts (diagrams to visualize the values of expressions). Something like this: x-5 - | - | + x+4 ...
1
vote
1answer
46 views

Error running Context texexec on Mac OSX 10.10, Ruby 2.2.0 Stable

When I try to run texexec on my context file I get the following error: texexec va.ctx /Users/davidsmith/context/tex/texmf-context/scripts/context/ruby/base/ctx.rb:120:in `manipulate': invalid byte ...
4
votes
1answer
106 views

Metapost error related with ConTeXt

I try to reuse this code from fpast (Generating Random arrows in tikz) in context but I found a error message associated with the freelabel() function. If I try to add the labels with label() function ...
2
votes
0answers
64 views

Interaction with green chapter titles — right paren shows up black

I use \setupinteraction[state=start] and \setupcolors[state=start] for making the entries of the table of contents interactive, and all entries show up green. But in the backmatter a chapter title ...
1
vote
1answer
64 views

Framed text and pageboundary

I use in my environment file the following definition for framed text: \defineframed[achtergrond] [frame=off, background=color, backgroundcolor=gray, width=fit, height=fit, ...
2
votes
0answers
143 views

Missing page numbers, first chapter only - ConTeXt

I am typesetting books in ConTeXt, and for some reason the first chapter is missing page numbers! There are correct page numbers in the frontmatter, and correct page numbers in the second chapter and ...
4
votes
3answers
85 views

Aligning table headers to the bottom

I have a table with table headings (which are rotated 90 degrees clockwise because of their length) that needs to be aligned to the bottom. How to do that? Here is my code: \starttext ...
1
vote
1answer
58 views

How to use background on a single row or column in table?

When using simple tables in Context (\starttable command), can one place a background on specific rows and/or columns?
1
vote
2answers
110 views

How to draw this picture in Context?

I want to typeset a figure that expresses how some quantity consists of other quantities, and graphically depict that in a table like form. I have currently done this using a simple table format, and ...
3
votes
2answers
126 views

In ConTeXt, how do I typeset my name like a signature?

How could I typeset my name so that it appeared in a calligraphic font for use as a signature? I have tried reading the manuals and documentation regarding fonts, but it seems very complex.
6
votes
1answer
54 views

In ConTeXt, how do you restart paragraph enumeration?

I can create paragraph enumerations, such as below, but how can I restart the numbering? \setupparagraphnumbering[state=start,distance=0pt] First paragraph, which is numbered. Second paragraph, ...
5
votes
0answers
84 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
110 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
300 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
28 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
50 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
143 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 ? ...
3
votes
1answer
141 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
62 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 ...
5
votes
0answers
86 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
38 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
44 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
52 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
99 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
477 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
68 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
153 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
59 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 ...
4
votes
1answer
83 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 ...
15
votes
0answers
159 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
60 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
87 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
66 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
62 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
206 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
110 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
101 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 ...
11
votes
1answer
157 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
68 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
34 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
107 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} ...