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

learn more… | top users | synonyms

3
votes
1answer
190 views

ConTeXt: How to increase line-spacing in title?

Pandoc generates ConTeXT document titles using a standard simple scheme that sets the title in \tfd. I already changed the default font and size of \tfd. However, when a title is so long that it ...
4
votes
1answer
131 views

ConTeXt: How can I prevent a block of text from being split over a page break?

At the end of below minimum working example there is a funny \startdelimitedtext[endtext] which should be printed at the bottom of the last page without being split over a page break. How do I render ...
1
vote
1answer
224 views

ConTeXt Standalone installation problem under Debian GNU/Linux

I am trying to install ConTexT Standalone under LMDE, a Debian GNU/Linux operating system. I followed the system-wide installation instructions step-by-step without any problem. Except for the final ...
2
votes
1answer
51 views

Is there a ConTeXt command to print the path of the file in which it is evoked?

I would like to put a URL-link in the output PDF of a ConTeXt file. It should point to the directory in which the ConTeXt file and its output PDF reside. Currently, I am using a shell script in my ...
4
votes
1answer
196 views

How hard is it to use typo-dir.lua in LaTeX?

I tried to use typo-dir.lua from ConTeXt distribution in LaTeX but I could not. I searched all context sources and I added all missing functions but still it did not work. Is it possible to use this ...
13
votes
1answer
261 views

Devanagari/Indic in LuaTeX

As I gather from the mailing lists, LuaTeX is currently unable to render devanagari properly because it doesn't understand the complex ligature rules involved. This is my experience with test ...
6
votes
1answer
107 views

How can I report a bug in ConText?

I searched on wiki.contextgarden.net and www.pragma-ade.com, but could not find anything.
4
votes
2answers
368 views

ConTeXt: Figure scaling to width and text wrapping for Pandoc-generated documents

Consider the following Pandoc-generated ConTeXt document: \setuppapersize [A4][A4] \setuplayout [width=middle, backspace=1.5in, cutspace=1.5in, height=middle, topspace=0.75in, ...
3
votes
1answer
266 views

ConTeXt: How to change the background color and border of a Pandoc-generated blockquote?

Consider the following minimum working example containing a blockquote as defined in a Pandoc-generated document: \setuppapersize [A4][A4] \setuplayout [width=middle, backspace=1.5in, ...
1
vote
0answers
69 views

How to prevent page breaks from appearing at the point where a sub-itemized list begin in ConTeXt?

I have a lengthy document containing lots of itemized lists, in two levels. It is like this, but often much longer: \startitemize[r] \item This is a statement. \startitemize[n] ...
3
votes
1answer
65 views

How to place an “Ex.” item at the beginning of an itemized list in ConTeXt?

I created a macro which displays an list of numbers, where readers can write in their answers to a question. \def\answers{ \startitemize[n] \docursive{3}{\item} \stopitemize } In ...
2
votes
1answer
161 views

How to invert direction of brackets (for a right to left text) in ConTeXt?

The Unicode Bidirectional algorithm mandates that the glyph for the character "left parenthesis" (and many others) be inverted when displaying text in RTL direction. However I am trying to typeset in ...
4
votes
1answer
111 views

ConTeXt: Wrong mathmatrix spacing between rows in startalign-environment

When using a mathmatrix (e.g. for vectors) in between \startalign and \stopalign, the spacing between rows becomes too large. I'm running Mark IV and the problem exists on live.contextgarden.net as ...
5
votes
1answer
74 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
146 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
82 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)|] ...
3
votes
1answer
166 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
152 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 ...
4
votes
1answer
158 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 ...
15
votes
3answers
593 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] ...
3
votes
1answer
95 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
185 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 ...
2
votes
1answer
91 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
96 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 ...
2
votes
1answer
97 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
2answers
202 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 ...
3
votes
1answer
114 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
2answers
266 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 ...
3
votes
1answer
100 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 ...
2
votes
0answers
161 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 ...
4
votes
1answer
133 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: ____________ ____________ | | ...
4
votes
1answer
126 views

How to place text on the second page of the frontmatter in ConTeXt?

I need to put the copyright text on the second page of my ConTeXt document, on the verso page. I am using \startfrontmatter and \startstandardmakeup to create the title and authorship pages in the ...
3
votes
2answers
179 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 ...
2
votes
1answer
115 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, ...
1
vote
1answer
78 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 ...
3
votes
1answer
168 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 ...
4
votes
1answer
124 views

Bad layout with both lettrine module and builtin initals in two column setup in ConTeXt

I am seeing broken positioning of letters produced by the lettrine module. Here is my MVE: \setuppapersize[A4][A4] \usemodule[lettrine] \definehead[recipe][section] \setuphead[recipe][ ...
9
votes
1answer
156 views

ConTeXt problems

I am trying to typeset some recipes. I have already tried LaTeX and now I am trying the same/similar with ConTeXt. I am having huge problems with it. I have already been on this for two days and I ...
1
vote
1answer
89 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 ...
2
votes
1answer
141 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} ...
4
votes
1answer
126 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 ...
4
votes
1answer
230 views

How to create outline text with a solid interior in ConTeXt?

Following the instructions for \definespotcolor at the ConTeXt Garden, I created some outlined text: \defineeffect[outline][alternative=outer,rulethickness=.25pt] \starttext \starteffect[outline] ...
6
votes
1answer
193 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 ...
13
votes
1answer
211 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 ....... | | | ....... ....... | ...
6
votes
1answer
110 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
96 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
247 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 ...
3
votes
2answers
207 views

How to setup MacVim for ConTeXt (MkIV) and Skim?

This is a very basic question but I can't figure out how to configure MacVim (v7.3) properly to work with ConTeXt (MkIV) and Skim on Snow Leopard. Is there somebody who would kindly explain the steps ...
4
votes
1answer
109 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
175 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 ...