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

14
votes
0answers
72 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
46 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
74 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
49 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
33 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
144 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
75 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
77 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
140 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
53 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
27 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
83 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
54 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
81 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
70 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
63 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
100 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
49 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
85 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
54 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
47 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
72 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
106 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
71 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
110 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
96 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
73 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
115 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
77 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
59 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
105 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
79 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] ...
0
votes
0answers
49 views

context to run side by side with LaTeX in Windows 8 64bit

I have installed context in Windows 8 64 bit. Already I have been running MIKTEX 2.9 successfully. Now when I try to test context in CLI I get the following error message. ...
6
votes
1answer
140 views

Write unit tests for Lua in ConTeXt

I would like to write some unit tests for Lua code being used by ConTeXt, and would like to know if anyone else has done this and what may be require in setting up the framework. The Lua code in ...
2
votes
1answer
70 views

Subformula numbering problem in ConTeXt

The second formula has no number. Is it a bug? \starttext \startsubformulas[eq:equation] \placeformula[eq:first] \startformula c^2 = a^2 + b^2 \stopformula \placeformula[eq:second] ...
3
votes
1answer
75 views

ConTeXt: Superscript for Citation

Background I would like to cite bibliography references using superscript. Example The setup code so far: \setupbibtex[database=sources] \setuppublications[ refcommand=num, numbering=yes ] ...
9
votes
4answers
293 views

How to print random text in ConTeXt?

I often need to place random elements within a document in ConTeXt. For example, I added some random language variances to a form letter. In each instance, there is a choice of items to be displayed: ...
9
votes
1answer
118 views

List of all control sequences let to primitives in common formats

I would like to know a list of all control sequences which are let equal to primitives in common formats. For plain TeX for instance, we would get the list \endgraf % = \par \endline % = \cr \repeat ...
8
votes
2answers
545 views

Grid system for slides

I was wondering if anyone ever tried to typeset slides with a grid layout, ie. something like (see below the tikz grid showing it). Expected functionalities: ability to write text or place image ...
2
votes
1answer
92 views

Get or change ConTeXt path for components/projects/environment

How does one get items in subdirectories or change the path that ConTeXt uses to get components, environments, and project files? In other words, how might one set up a hypothetical directory ...
4
votes
2answers
84 views

ConTeXt: How to align a delimitedtext?

I'm using pandoc's default ConTeXt template, and it uses the following setup for blockquotes: \setupdelimitedtext [blockquote] [before={\blank[medium]}, after={\blank[medium]}, ...
2
votes
1answer
53 views

Ukrainian language support in ConTeXt [closed]

Are there any possibilities to write Ukrainian texts in the ConTeXt system? What do I need to do this?
9
votes
0answers
182 views

ConTeXt for non-technical person

A dear person to me has started her own small publishing company (psychology related books -- completely non-technical) and she uses Microsoft Word. It's a one woman operation and she often asks me ...
2
votes
1answer
74 views

Biblography in ConTeXt: Enumerated references like [1],[2] print errors.

In my context document I would like to set my Bibliography to be cited like this: »what can be said at all can be said clearly [1]« and a bibliography that than has that number:»[1] Wittgenstein, ...
8
votes
1answer
150 views

Stop Hyphenating Across Page Breaks

How to prevent hyphenation across page breaks? Here is my minexample: \starttext \dorecurse{200}{Aprikosengeschmacksrichtung } \stoptext What I mean is a feature, which many other typographic ...
2
votes
2answers
144 views

ConTeXt: Height fitting with row spanning in a table

How can I shrink the height of the foo cell to fit its content? \starttext \startTABLE \NC foo \NC[nr=2]\input knuth \NC \NR \NC bar \NC \NR \stopTABLE \stoptext ...
2
votes
1answer
85 views

How to set maxheight of a combination in ConTeXt?

I want to do a combination that fits in my page without taking care of figures dimensions itself. I tried this: \placefigure[][myfigure] {mycaption} {\startcombination[1*4, ...
5
votes
1answer
108 views

ConTeXt: How to prevent new paragraph after \hrule in section heading?

I'm using ConTeXt, and trying to setup my document's subsection headings to start with a colored rule. However, any way I've tried doing this results in a rule placed a line higher than the heading ...
7
votes
0answers
229 views

ConTeXt vs LaTeX compilation time

In the past I used ConTeXt only when some font was not available in LaTeX -- I may probably be wrong -- but my impression is that ConTeXt is compiling faster than LaTeX. For a document that compiles ...
2
votes
1answer
73 views

Kile fails to start ConTexT

Windows 7 64bit, Kile 2.9.60 with default settings and ConText mkiv. Trying to compile a test document: \starttext \startsection[title={Testing ConTeXt}] This is my first ConTeXt document. ...