Use the {context-mkiv} tag if ConTeXt Mark IV answers would be helpful.

learn more… | top users | synonyms

7
votes
3answers
369 views

ConTeXt: Too much hyphenation

I am trying to control the amount of automatic hyphenation in my document. But all the options I specify don't seem to have any effect. The following MWE shows two paragraphs with six hyphenated ...
5
votes
1answer
353 views

Bibliography in ConTeXt

I have two problems with bibliography using ConTeXt ver: 2013.01.10 01:04 MKIV. I would like to get \citet like behaviour Author name [1]. However, presently the MWE produces only the numbers. ...
4
votes
1answer
175 views

Caption label formatting in Context

I am trying to introduce a linebreak after the caption label so that the caption starts below the caption label in context. However, the suffix key for the \captionsetup only accepts text like : or ...
4
votes
1answer
126 views

Bold math in Context

I am not able to get bold math symbols using context. Details: I am using Tex-live 2012 distribution. Compiled using context main.tex which means I am using context mkiv. Log file shows the version ...
3
votes
0answers
263 views

Why do fonts no longer work after upgrading ConTeXt? [closed]

After a recent upgrade of ConTeXt, ConTeXt can not longer find the OTF and TTF fonts in my ~/.fonts directory. Prior to this upgrade, when I ran these three script, it was sufficient to get the fonts ...
5
votes
1answer
341 views

What is the proper way to prevent text from splitting across columns and pages?

I have some description environments which I do not wish to have split across columns or pages. Is there some command which can be placed around an item to ensure that it will never be split across ...
2
votes
1answer
186 views

How to show additional contact information in t-letter head

I am working on a letter using the t-letter module and have found that only my name and address show in the head layer. Any ideas as to how I can show additional contact information as well? Here is ...
4
votes
1answer
147 views

autopunctuation not working properly

What am I doing wrong? According to my understanding, these two formulae should look different (the second one should have a thin space): \setupmathematics[autopunctuation=yes] \starttext $(2,5)$ ...
7
votes
2answers
170 views

Number kerning in ConTeXt math mode is different and worse than normal

Compare these two: \starttext \unit{0.01 kilogram} $ \unit{0.01 kilogram} $ \stoptext I would naively expect these to produce very similar results, but the latter case—the one in math mode—we get ...
6
votes
2answers
306 views

Abstracting an author list

I am writing an academic paper and have no problem manually formatting an author list like \startnarrower[middle] \startalignment[middle] Author One\thanks{email_one@gmail.com}, Author ...
7
votes
1answer
269 views

Floats that span the text width and the margin

What is the correct way of placing floats that span the text width and the margin? If the width of the float content is increased, ConTeXt does not reserve space in the margin which leads to ...
3
votes
1answer
180 views

Adjust table of content depth in ConTeXt

How to create a table of contents in ConTeXt MkIV with dots? In the wiki there is \title{Inhalt} \placelist[section] But the old way to make dots \setupcombinedlist[content][level=4, ...
4
votes
1answer
144 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 ...
7
votes
3answers
269 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
228 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.} } } ...
1
vote
1answer
325 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 ...
4
votes
2answers
287 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
150 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: _____ _____ ...
6
votes
1answer
434 views

How to switch fonts when the language switches in ConTeXt?

I have a mostly English-language document, with fonts defined like this: \usemodule[simplefonts] \setmainfont[MinionPro-Regular] \setsansfont[MyriadPro-Bold] Occassionally, I need to have some ...
8
votes
1answer
621 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 ...
5
votes
1answer
158 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 ...
3
votes
1answer
176 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
224 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, ...
8
votes
2answers
414 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 ...
7
votes
2answers
630 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. ...
5
votes
2answers
287 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 ...
4
votes
0answers
121 views

Problem with ConTeXt (MkIV), Hebrew and ligatures

Since I last played with the latest ConTeXt MkIV, there has been introduced this new feature. It now seems to combine Hebrew characters automatically when possible to ligatures. So for example. If I ...
2
votes
1answer
482 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: ...
3
votes
2answers
236 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
166 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 ...
4
votes
1answer
439 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., ...
7
votes
1answer
247 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] ...
5
votes
1answer
257 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} ...
8
votes
2answers
436 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
210 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 ...
4
votes
1answer
312 views

semantic proof trees in ConTeXt

I want to draw logic proof trees in ConTeXt. Specifically, I want to be able to draw trees like this: I am aware that there are nice ways of doing this in LaTeX, and that the question What is the ...
7
votes
1answer
245 views

How to prevent tables from being wider than the text width in ConTeXt?

I have some tables like this: \starttabulate[|l|l|] \HL \NC Title 1 \NC Title 2 \NC\NR \HL \NC This is a sentence. \NC This is another sentence. \NC\NR \HL \stoptabulate ...
3
votes
1answer
374 views

How to show the \title headings in ToC?

My document is organized as following: \title[Some title] \section[Section 1] \section[Section 2] etc. When I use \completecontents command to print a ToC, I only get the section titles (which are ...
6
votes
1answer
214 views

Compound/nested section numbers in ConTeXt: how to omit the top level? E.g. 1.2.1 --> 2.1

In the following MWE, titles have no displayed number, but sections (the second level) are still numbered 1.1, 1.2, etc, because the titles have an internal number. I would like the sections to ...
4
votes
1answer
147 views

Does ConTeXt have a language code for Korean?

ConTeXt has various language codes, listed in this article at the ConTeXt wiki. I do not see Korean listed. I have tried \language[ko], and the document compiles, but I have no way to verify if it is ...
6
votes
4answers
6k views

How to sort the order of pages so that they can be printed in a folded book?

I am using ConTeXt to print a book. Each page is A5, but the print store can only print on A4 paper, so they print 2 pages on each side of the A4 paper. I used this code to specify the layout: ...
5
votes
2answers
147 views

How to add whitespace after every item in a list in ConTeXt?

I have a document containing some questions. I need to leave readers space to write a few sentences as an answer. I am using this code: \startitemize[r] \item Where do most bears live? \item ...
3
votes
1answer
475 views

How to create custom section titles with a “<title> <number>” format in ConTeXt?

I am making a book, with chapters titled "Week 1", "Week 2", "Week 3", etc., and sections titled "Activity 1", "Activity 2", "Activity 3", etc., and other sections titled "Presentation 1", ...
4
votes
1answer
108 views

How to check if it is the first time or last time a macro has been used in ConTeXt?

I have some text in my document which appears repeatedly many times throughout the document, so I have defined a custom macro, e.g.: \define\mymacro{ \section{A} There is some text. ...
8
votes
1answer
566 views

How to add illustrations before chapter titles in ConTeXt?

I would like to add some TIFF format illustrations to my document. These have three features, though, which I do not know how to implement: These fill the entire page, ignoring margins. They appear ...
2
votes
1answer
205 views

How to place text between two columns and which breaks the rule dividing them in ConTeXt?

I have two paragraphs of instructions and I need to indicate to readers that they have a choice of one or another. I am using this code, to put the data into different columns, with a line between: ...
5
votes
1answer
168 views

How to replace specific words with an underscore equal in length to the original word replaced in ConTeXt?

My problem is identical to Phantom and line break, however, I am using ConTeXt. I am creating a cloze test, e.g.: Frogs have four ____ and two eyes. The original text in the source appears like ...
2
votes
1answer
100 views

How to install ConTeXt from CD-ROM?

I would like to prepare a current version of ConTeXt on a CD-ROM, so that it can be installed on Debian, in some emergency situation, i.e. when Internet access is unavailable. The typical installation ...
6
votes
2answers
371 views

Is it possible to have thin lines or crop marks to help cut the pages with \setuparranging?

I have something like this: \setuppagenumbering[state=stop] \setuppapersize[A5,landscape][A4] \setuplayout[topspace=1cm,backspace=1cm, header=0mm,footer=0mm, width=middle,height=middle] ...
6
votes
1answer
874 views

Use .otf/.ttf in ConTeXt MKiV/LuaTeX

I would like to use an .otf Font for my document which I typeset in ConTeXt MKiV. Sadly I was not able to change the font. I set export OSFONTDIR="/usr/local/share/fonts;$HOME/.fonts and ran mtxrun ...