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
1answer
123 views

How to prevent chapter titles from appearing in the header on the first page of each chapter in ConTeXt?

To place the chapter title in the header of my document, I used: \setupheadertexts[{\getmarking[chapter]}][][][{\getmarking[chapter]}] My document is not double-sided. Whenever the chapter title ...
9
votes
1answer
149 views

How to renumber and redisplay additional references to a previous footnote if the previous appearance was several pages prior in ConTeXt?

I am using \setnotetext[footnote][0001]{This is a footnote.} to set a footnote's text and \note[footnote][0001] to create multiple references to it. When the footnote's first appearance, and later ...
7
votes
3answers
237 views

How to place a line break between every character in ConTeXt?

I have some text appearing in a macro, like this: \printascolumn{This is some text.} How can I place a line break between each letter or printed symbol, such that it appears like this? T h i s i ...
5
votes
1answer
205 views

How to make written text within math mode appear using the font of the surrounding text in ConTeXt?

In some parts of my document, I have text inside of math mode, to position text, e.g.: \math{ \overset{ \text{This text is above.} } { \text{This text is below.} } } ...
4
votes
2answers
215 views

Why are my tables running off the edge of the page in ConTeXt?

I need to make a table which fits to the \textwidth, or essentially, the width generally available to text on the page. I have created columns of 20%, 60%, and 20%, which should fit the width, ...
4
votes
1answer
129 views

How to fine-tune the vertical placement of characters in ConTeXt?

I need to insert a dot symbol, such as “•” or a METAPOST circle into my document, at different heights between the baseline and top of characters, like this example: _____ _____ ...
5
votes
1answer
154 views

\placeongrid and \moveongrid not working in ConTeXt

I am trying to use the grid features in ConTeXt, but some of the commands are somehow not recognized by the compiler. Whenever I try to use the commands \placeongrid or \moveongrid, the compiler ...
3
votes
1answer
275 views

Arabic numbers mirrored in Arabic environment (ConTeXt)

In my arabic environment the arabic numbers are mirrored. Minimal Example: \definefont[Sheh][name:Scheherazade*arabic at 18pt] \definestartstop[Arab][commands=\setups{Arabic}] \def\Arab{\doArab} ...
3
votes
2answers
209 views

Font setup in header (ConTeXt)

I use \setupheadertexts [][section][chapter][] to get the section- and chapter-title in the header of the odd- and even pages. How to change the font, like its size, or making it bold or italic? ...
4
votes
2answers
588 views

Italic in ConTeXt

What is the equivalent of the LaTeX-code \textit{} in ConTeX? It sets the text in the brackets italic. There is \it but I am searching for something like \startit...\stopit.
7
votes
1answer
256 views

Center in ConTeXt

What is the equivalent of \begin{center}...\end{center} in ConTeXt? I know \raggedcenter, but that not an environment. I could define one command, but surely there is anything like that predefined.
5
votes
1answer
147 views

Line spacing in Arabic in ConTeXt - how to deactivate gridsetting in an environment

I realize Arabic in ConTeXt with the following environment (to be able to switch between German and Arabic). \startenvironment arab-besser-sty \definefont[Sheh][name:Scheherazade*arabic at 15pt] % or ...
1
vote
0answers
157 views

ConTeXt: How to adjust the space before and after a section with respect to gridset [closed]

I use grid=yes in my setuplayout. With \showgrid I can see, that the space before and after a section is the same as before and after a subsection (3 lines before, and 2 lines after). But it would ...
2
votes
1answer
284 views

Indenting footnotes in ConTeXt

How to modify \footnote in ConTeXt, such that the complete footnote is indented?
1
vote
0answers
60 views

Editor for ConTeXt [duplicate]

Possible Duplicate: ConTeXt editors I am searching for a "good" ConTeXt Editor (with engine LuaTeX) for Win7. With LaTeX and pdfTeX I used TeXstudio, but there is no syntax highlightning ...
4
votes
1answer
140 views

Minipages in macros for ConTeXt

In LaTex I build the following macro "kum" for translating arabic to german. The result are two minipages, left one with german, right one with arabic (the other two minipages were for design-issues). ...
4
votes
1answer
209 views

Arabic and German in ConTeXt

I'm totally new to ConTeXt; how to use Arabic and German in one document? \mainlanguage[de] \definefont[ArabicFont][file:alq2.ttf*arabic at 18pt] \setuppapersize [A5] \starttext \setupalign[r2l] ...
5
votes
1answer
143 views

How to create multiple references to a single footnote in ConTeXt?

I have some footnotes in a ConTeXt document, which must be referenced too multiple times, i.e., the superscript mark 1 appears in several parts of the document, but the footnote is only displayed ...
4
votes
1answer
84 views

Altering page setups within postponed blocks

I'm using \startpostponing–\stoppostponing to add two pages that interrupt the flow of normal text. When I was splitting the text manually, the interrupting pages used \setupfooter and ...
1
vote
0answers
42 views

Suppressing pagebreaks within paragraphs [duplicate]

Possible Duplicate: How to avoid page-breaks inside paragraphs? The style spec for a document requires that pagebreaks come between paragraphs or list items, so paragraphs are never split ...
9
votes
1answer
194 views

Making a centrefold figure

I'm laying out a 16-page booklet that has a two-page MetaPost figure spanning the centrefold. The intention is that the centrefold is "outside" the flow of the text: the image is always on pages 8–9, ...
6
votes
1answer
161 views

ConTeXt: Styling pagenumbers in registers

I'm using some description paragraphs as definitions for some concepts. I want to add them to my register and typeset their pagenumbers in bold numbers (to recognize where is the definition). The ...
3
votes
1answer
160 views

ConTeXt mkiv: Footnote inside tabulation

I need to include a \footnote inside a tabulation environment. I adapted the example from ConTeXt wiki, but at compiling the content between \starttabulatehead and \stoptabulatehead doesn't show up ...
3
votes
1answer
175 views

How to create counters that display and increment dates in ConTeXt?

I need to create a document that has section titles named "October 1, 2012", "October 2, 2012", etc., like this: \section{October 1, 2012} This is text for the first day. \section{October 2, ...
5
votes
2answers
269 views

How to create tables of contents limited to parts of a document in ConTeXt?

I am working with a multi-volume document within a single PDF and with no reset page or section numbers. As ConTeXt does not seem to have any \volume title, as it has for \part and \chapter, I just ...
3
votes
2answers
197 views

How to define the beginning and ending of paragraphs in ConTeXt?

The manner of creating paragraphs in ConTeXt appears to differ from that in LaTeX. In LaTeX, one need only create an empty line between two paragraphs, and paragraphs are automatically created, e.g.: ...
6
votes
1answer
152 views

How to create in-paragraph enumerations in ConTeXt?

The ConTeXt wiki article on enumerations shows many solutions for creating an enumerated list, however, I see no examples for creating an in-paragraph enumeration, e.g.: Five animals lived in the ...
2
votes
1answer
342 views

How to add page numbers to APA citations in ConTeXt?

I have created a basic document with APA citations using the course code for creating bibliographies in MK IV in APA format, as found at the ConTeXt garden: ...
6
votes
2answers
514 views

How to create form letters from spreadsheet data in ConTeXt?

In LaTeX, one can use datatool to build simple form letters. As an example, the data is stored in a spreadsheet or CSV file, like this: Name,Amount,Date "Mr. White","$300","Dec. 2, 1911" "Mr. ...
8
votes
2answers
344 views

How to make a macro which displays different text the last time it appears within a paragraph in ConTeXt?

I have a simple macro which displays the letter “A” in the document: \define\displayletter{A} This is some text. \displayletter This is some more text. \displayletter This is other text. This is ...
4
votes
1answer
69 views

ConTeXt (mkiv): \seeindex word still appears in english

I need to put a \seeindex in my registry. Although I defined my document language to spanish, ConTeXt is still showing that word as "See" in the registry (in spanish it should be something like "Ver" ...
5
votes
1answer
253 views

Libertine's discretionary and historical ligatures with ConTeXt and XeTeX

I would like activate Libertine's discretionary and historical ligatures with ConTeXt and XeTeX compilation. Currently, I'm using this: \definetypeface[Libertine][rm][Xserif][Linux Libertine O] ...
1
vote
1answer
285 views

How to make gray-colored text in ConTeXt beta?

As I know, in ConTeXt stable, one can use \color[gray:3]{} to display the text inside the brackets with a very light gray color, e.g.: \setupcolor[rgb] \starttext \color[gray:3]{This is some ...
3
votes
1answer
342 views

How to set the page layout dimensions in ConTeXt?

Using the instructions found in the page design chapter of the ConTeXt user manual, I have attempted to set my own page dimensions, but have not been able to understand the instructions. For e.g., ...
6
votes
1answer
223 views

ConTeXt MarkIV: Pagenumber in layer not working

I want to put pagenumber and navigation into a layer, but the counter for pagenumber is not working. Here's a minimal example: \usemodule[graph] \usesymbols[nav] \setupsymbolset[navigation 1] ...
4
votes
1answer
108 views

Context: How can I have table of contents with only following sections

I want to have a document with some chapters of frontmatter followed by a table of contents showing all subsequent chapters and endmatter but not the frontmatter Best I have found is ...
6
votes
2answers
168 views

Errors Mpgraph in ConTeXt

I need to put some bar charts in a ConTeXt document. I'm using mkiv from TeX Live 2011, under Gentoo GNU/Linux. I tried using Gnuplot but I found mpgraph suits better my needs. I'm using this TeX ...
5
votes
1answer
92 views

How does one vertically center the heading for a 'part' in ConTeXt?

My best effort thus far has been to simply add a big blank as a before perameter: \setuphead[part][placehead=yes, alternative=middle,before={\blank[12*big,force]}, header=empty] Obviously, this ...
6
votes
1answer
188 views

How to set a image background and tile on page in ConTeXt?

That's it. I want to use a image pattern, let's say this image. But I can't figure how to do this on ConTeXt, 'cause neither \setupbackgrounds or \setupframed have an option to tile backgrounds. I ...
2
votes
1answer
123 views

Get the stem width (i, T) of a Font in ConTeXt Mk IV

In the TiKz-Manual it says: ... that LaTeX has two commands called \thinlines and \thicklines and that \thinlines gives the line width of “normal” lines, more precisely, of the thickness that, ...
42
votes
5answers
1k views

Separation of content structure and style in LaTeX?

In HTML, over the last decade or so, there has been a strong push toward complete separation of content structure and style. Most websites are now built using HTML for structural mark-up, and CSS for ...
2
votes
1answer
357 views

How to float/wrap figures in ConTeXt?

I have a simple two column document in ConTeXt. I tried to float/wrap the figures within text with `placefigure`, but it inserts the figures exactly where they are. This will leave a empty space in ...
7
votes
2answers
565 views

Macro for the average width of a character

How can i made a macro similar to \averagecharwidth of ConTeX in LaTeX, that calculates the average width of a character based on the frequency of that character into my document ? that macro is show ...
8
votes
1answer
570 views

What is the correct syntax for subfootnote?

After upgrading from ConTeXt stable to beta, any code containing subfootnote does not compile. E.g.: \definestructureconversionset [footnote] [numbers, Characters] [numbers] \setupenumerations ...
7
votes
2answers
301 views

How to set output directory in context command?

When using lualatex or pdflatex commands, there is an option to set the destination/processing folder as lualatex -output-directory=/destination/folder file.tex I was unable to find a similar ...
4
votes
1answer
170 views

How to compile a file in ConTeXt, but output the results to a text file?

I have some files which contains data with ConTeXt syntax, e.g. containing macros and instructions for special symbols, but no preamble, sections, or other features tying the data to any particular ...
5
votes
1answer
242 views

Text in outer margin of multiple columns

I want to put some text in the outer margin (by which I mean on the left side of the page of even pages and on the right side of odd pages) of the page. My naive approach of using \inoutermargin{Text} ...
0
votes
2answers
74 views

How do I add a static number to \recurselevel?

I currently have: \dorecurse{8}{ \startcombination[3*3] {\externalfigure[confcard.pdf][page=\recurselevel, width=98mm]}} {\externalfigure[confcard.pdf][page=\recurselevel+2, width=98mm]}{} ...
2
votes
1answer
130 views

How do I make text not overlap layers or otherwise define a first page with sidebar and image-based footer?

I'm producing a letterhead and having rather a lot of trouble dropping all 7 necessary logos into the first page. While I have quite successfully laid out the first page with setframedlayer and ...
1
vote
1answer
182 views

Where is TeXfont in TeX Live 2012?

All of the font installation instructions in the ConTeXt Wiki say to use TeXfont. To my great despair, I can't seem to access TeXfontin my TeX Live installation on Windows. Given that I've installed ...