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

learn more… | top users | synonyms

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
2answers
284 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
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
2answers
327 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
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 ...
2
votes
0answers
218 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
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: ____________ ____________ | | ...
4
votes
1answer
143 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 ...
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 ...
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, ...
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 ...
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 ...
4
votes
1answer
136 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
188 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
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 ...
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} ...
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 ...
4
votes
1answer
313 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
218 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 ...
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 ....... | | | ....... ....... | ...
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 ...
3
votes
2answers
257 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
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 ...
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 ...
5
votes
1answer
312 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}, ...
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 ...
5
votes
1answer
102 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
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 ...
3
votes
1answer
158 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 ...
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 ...
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 | ........... | | | ........... | | ...
11
votes
1answer
354 views

(ConTeXt MkIV) Text in PiechartMP

So I need to include some pie charts in my document. As I'm using Metapost for all graphics I tried using the PiechartMP Metapost package. But for some strange reason no text shows up, just a very ...
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 ...
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 ...
11
votes
1answer
193 views

standardmakeup layer in ConTeXt

Need to place a PDF file as a watermark behind the title page and part break pages. These have been laid out using \standardmakeup. Have created the layer and can place it on a normal text page but ...
10
votes
2answers
316 views

How to let text flow around irregular-shaped graphics in ConTeXt?

I have some illustrations which I need to scan and place within a document. The illustrations come in various shapes, with no straight edges, and are bound by lots empty white space, e.g.: ...
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
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 ...