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

learn more… | top users | synonyms

5
votes
1answer
79 views

Apply columns to sections without explicitly bracketing each section

Background Creating a document that can have zero-, two-, or three-column layouts, depending on user preferences. I would like to keep the content clean of \columnsets by redefining only the sections ...
6
votes
2answers
185 views

Eliminate topspace and bottomspace in ConTeXt

Background Looking to put the page number flush to the bottom of the page using ConTeXt. The key lines in the Minimum Working Example (MWE) below are: \setuplayout[ topspace=\zeropoint, ...
3
votes
1answer
198 views

\lettrine causes strange line breaks

Since I updated to ConTeXt 2012 and mkIV, each time I want to write a dropped capital I got a strange result (I mean, that extra line break) with the first line of the paragraph the dropped capital is ...
2
votes
1answer
116 views

How to let Lua see the contents of a variable rather than just the variable name in ConTeXt?

I have some Lua code which searches for "①" and "②" within some text and prints only the text displayed between: \startluacode userdata = userdata or {} function userdata.printbetween(str, ...
3
votes
1answer
97 views

Alignment issues with lists in a table in ConTeXt

This issue has been answered many times for LaTeX, but I couldn't find any explanation for ConTeXt. Here is a sample that shows the alignment problem : \starttable[|cB|p(4cm)|p(4cm)|] ...
9
votes
1answer
155 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 ...
3
votes
1answer
198 views

Sort bibliography entries in alphabetical order by the entries' “short” value

How can the bibliography list entries be sorted in alphabetical order using the s ("short") field of the publication entries in the example below? I don't want to use a BibTeX file, but the ...
5
votes
1answer
199 views

Indented block in ConTeXt

I need to write pseudocode in ConTeXt. Since there is no documentation of the t-algorithmic module, and because I don't have so much to write, I decided to format the code myself. Here is what I ...
8
votes
1answer
351 views

What is the equivalent of Biblatex in Context?

How do I do bibliography in Context, that is more than just bibtex? In the manual there is no explanation of this. Source code doesn't tell me much either... Are there any "packages" that provide ...
16
votes
3answers
776 views

Rounded box around placeholder text that supports line breaking

I want to draw a rounded box around a piece of text like that: The left and right borders should be half circles and line breaking should be supported. This my code so far: \setuppapersize[A7] ...
5
votes
1answer
200 views

How to change the font formatting in the text and numbers of footnotes in ConTeXt?

I have a document with two different types of footnotes, \noteone and \notetwo, defined with this: \definenote[noteone][footnote] \definenote[notetwo][footnote] For these two footnotes, I need to ...
3
votes
1answer
121 views

How to set section numbers to use whole numbers, rather than decimals, in ConTeXt? [duplicate]

I have a document like this: \setuphead[part][placehead=yes] \definestructureresetset[default][1, 0, 1, 0][1] \setuphead[sectionresetset=default] \starttext \part{Animals} ...
3
votes
1answer
274 views

List all TypeScripts in ConTeXt

A TypeScript (as opposed to a font) contains font definitions for the individual font styles (regular, sans, math, etc. and bold, italic, bolditalic, etc.). I can list all the fonts with mtxrun ...
3
votes
2answers
283 views

ConTeXt unicode fallback font

In case a font doesn't have some symbols, is there an easy way to just fall back to whatever font LuaTeX can find that supports that glyph, just for that symbol? Or is there a reasonably complete ...
2
votes
1answer
112 views

ConTeXt: arbitrary Unicode code point

How to print a glyph by Unicode code point? i.e. what is the ConTeXt equivalent of the following LaTeX (displaying a capital Alpha): \symbol{"0391} % hex \symbol{913} % dec \symbol{'1621} % oct
5
votes
1answer
107 views

How to place section titles in the header, but not in the document?

I need to place some \part titles within my document, but make them invisible in the text, and only appear within the table of contents and headers. With this code, the \part titles are not found ...
3
votes
1answer
126 views

How to display the page range of marked locations in a passage in ConTeXt?

I have a macro placed throughout my document marking key places within a long passage. These have no relation to the chapter or section titles. _____________ _____________ | | ...
3
votes
1answer
134 views

How to allow footnotes in frontmatter content in ConTeXt?

I have a document structured like this: \starttext \startfrontmatter \startstandardmakeup This is a title.\footnote{This is a footnote.} \stopstandardmakeup ...
3
votes
2answers
326 views

TikZ frame paragraph span across pages in ConTeXt

I tried to reproduce the following example in ConTeXt: http://www.texample.net/tikz/examples/framed-tikz/ How can I substitute the LaTeX framed package, that is make the frame span across multiple ...
2
votes
0answers
217 views

Body text is overwriting a floating image [closed]

I'm learning to use ConTeXt by formatting a document. I've run into a problem with wrapped graphics. The body text overlaps the image when I use the {\bf text} function on this line (inside the red ...
2
votes
1answer
206 views

How to vertically center text on the centerline of short lower-case letters in ConTeXt?

I have a title in my document like this: Birds of South America “Birds”, “of”, and “South America” are each in different fonts and sizes, like this: {\ssc Birds} {\cga of} {\ssd South America} ...
3
votes
1answer
144 views

How to place multiple lines of text in the headers in ConTeXt?

I am using this to place headers within my document: \setupheadertexts[{Birds of South America \getmarking[chapter]}][][][] I tried to place the title on a different line, using \\, \crlf, \vskip, ...
4
votes
2answers
209 views

How to display the chapter number in the headers in ConTeXt?

I am using serupheadertexts to define the headers in my document: \setuphead[chapter] [number=yes] \setupheadertexts[{\getmarking[chapter]}][][][] I want to access the chapter ...
4
votes
1answer
147 views

How to keep section titles together with the content in ConTeXt?

I found many places in my document where the subsection titles are places alone at the bottom of the page with the content on the next page, like this: ____________ ____________ | | ...
6
votes
1answer
217 views

How to span the background graphic across verso and recto pages in ConTeXt?

I want to place background images behind all of my part titles, with the image spanning across two pages, e.g.: ___________ ___________ | | | | Part 1 | | | Birds of ...
1
vote
1answer
96 views

How to place chapter titles in the header only on the first page of each chapter in ConTeXt?

How can I place the chapter titles in the header, but only on the first page of that chapter? This is the opposite of the question, How to prevent chapter titles from appearing in the header on the ...
1
vote
1answer
110 views

How to set the line width of vector graphics in ConTeXt?

I have several vector graphics in PDF format that I want to place in my ConTeXt document. I added them with \externalfigure[graphic.pdf], some scaled to different sizes. All of the lines in these ...
14
votes
1answer
260 views

How to leave a blank space at the top of each page only for chapter and section titles in ConTeXt?

I have a document that looks like this: __________________ __________________ | | | | Chapter Title | Section ....... | | | ....... ....... | ...
4
votes
1answer
177 views

How to use a custom symbol for enumerations in ConTeXt?

I need to make an itemized checklist in ConTeXt. I tried all of the available built-in symbols, which gives a dot, line, star, triangle, small circle, medium circle, and large circle, but I need a ...
5
votes
1answer
310 views

How to add an APA-style citation with no author in ConTeXt?

I need to cite some articles which were created by some professional organizations, so no authors or editors are listed: @Article{noname2012, author = {}, title = {This is the title}, ...
6
votes
1answer
122 views

Why is this CSV form letter code incompatible with the table of contents in ConTeXt?

Using the code in the answer to How to create form letters from spreadsheet data in ConTeXt?, I am building a document from data in a CSV file. I found that some part of the code is incompatible with ...
5
votes
1answer
102 views

Link to start of current section, automatically, in ConTeXt?

I want page headers to link to the start of the current \subject, and – because I am automatically processing an XML document – I want to do this without manually entering the subject label. (This may ...
7
votes
1answer
300 views

Ligatures in (Graphite) TrueType fonts

When using ConTeXt MkIV (i.e. with the LuaTeX engine), I’ve noticed that ligatures don’t work properly for some TrueType fonts, even though they do work in LuaLaTeX or even LibreOffice. As far as I ...
4
votes
1answer
127 views

How to lock a static text in the margin in ConTeXt?

Even though I have a some manuals at hand I can't seem to find a solution for my problem. Within an invoice I created with ConTeXt (MkIV) I have placed a short paragraph in the right margin. This ...
6
votes
2answers
196 views

ConTeXt: Cannot typeset four consecutive hyphens

I'm having trouble typsetting four consecutive hyphens in a custom font. Here's a minimal example: \definesimplefont[myfonthere][myfontname] \starttext {\myfonthere ----} \stoptext This always ...
4
votes
1answer
182 views

Understanding conditional page background in ConTeXt

How does the following code work? Source: discussion on the mailing list \setuplayout [header=0cm, topspace=1.625cm, footer=0cm, width=fit, height=fit] \startMPinclusions numeric ...
2
votes
1answer
76 views

How to get the head number (only a digital) in ConTeXt MKIV?

In my country, we usually don't use number 1, 2 ... as the head number (the section number, the chapter number and so on) but our own characters, for instance, the 一 stands for number 1, the 二 stands ...
2
votes
1answer
323 views

The ConTeXt standalone problem [closed]

Today I installed the ConTeXt standalone by following the Windows Installation: ConTeXt Suite with SciTe. After that, I wrote a test file: \starttext hello, world! \stoptext But failed, the output ...
6
votes
1answer
164 views

Problem with old ConTeXt separated list example

I have been trying to get the following small example from ConTeXt garden to work without success. \starttext \usemodule[database] \def\SendMe#1#2#3#4{\framed [align={flushleft,lohi}, width=4cm, ...
8
votes
1answer
287 views

ConTeXt mkIV and XML: how do you define a self-closing tag with no content to pass?

I am using TEI Lite, and trying to typeset with ConTeXt. TEI Lite defines <divGen type='toc' /> to signal the Table of Contents, which in ConTeXt is \completecontents Now I am trying this: ...
10
votes
2answers
288 views

How to put signature number in footer (derived from page number)?

To make my book easier to bind I'd like to automatically put the signature number with small type in the footer of the first page of each octavo signature (except the first one which is given since it ...
6
votes
1answer
171 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 ...
10
votes
1answer
335 views

Accessing font ornaments from ConTeXt

I'm having difficulty accessing font ornaments from ConTeXt. I'm using mkiv. I have a font and I know it has fancy ornaments in it because I see them in the spec sheet. I don't understand what to do ...
7
votes
1answer
355 views

How to span the content across two pages in ConTeXt?

Most of the pages in my document look like this, a layout common in books: ___________________________ | | | | Title | ........... | | | ........... | | ...
2
votes
1answer
280 views

ConTeXt: How to set up interaction mode to emulate hyperref?

I have prepared a self explanatory MWE to check interaction mode for various objects in ConTeXt ver: 2013.01.10 01:04 MKIV. Evince document viewer is used for testing. Questions: How to set up ...
3
votes
1answer
131 views

How to independently set the font properties of each component in section titles in ConTeXt?

I want to make two-line chapter titles such as this: Chapter 1 Animals I found instructions in this article about titles at the ConTeXt wiki. I want to adjust the font properties of each line ...
5
votes
1answer
101 views

Why does ConTeXt sometimes ignore surrounding font properties?

I am working on a document which contains a wide range of font styles and sizes. I am using commands such as \ss to change to sans serif, \tfa to set the font size to size "a", and \bf to make text ...
3
votes
1answer
157 views

How to set font size “e” in ConTeXt?

According to the ConTeXt manuals, there is a font size "e", the largest available font size. Whenever I try to use this, however, the command fails. What is the proper way to enable this font size?
4
votes
1answer
119 views

Why are unplaced part titles creating empty pages in ConTeXt?

I made a book which is divided into parts, with \part{}. I want these parts to appear in the table of contents, but do not need them to appear within the document itself. I added \placehead=no to the ...
4
votes
1answer
111 views

How to place all chapter titles on verso pages in ConTeXt?

I need to set all of the chapters within a document to begin on the verso, or left-hand pages. How can I get ConTeXt to add a blank page before each chapter title if the chapter title does not appear ...