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

5
votes
1answer
151 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 ...
10
votes
2answers
190 views

ConTeXt equivalent of \renewcommand

I can use \define to define a new command, but how do I overwrite an existing one? My use case is rewriting all {\externalfigure[cow]} to \placefigure[right]{My Caption}{\externalfigure[cow]} to ...
3
votes
1answer
93 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
182 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
197 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
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 ...
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
1answer
99 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
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 ...
17
votes
2answers
302 views

Is there a “smoking gun” to distinguish between ConTeXt and plain TeX

I'm writing a tool to streamline some typesetting jobs, and I am having trouble distinguishing between plain Tex and ConTeXt. LaTeX is straightforward to recognise by the \documentclass command (or ...
2
votes
1answer
140 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} ...
2
votes
1answer
113 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, ...
3
votes
2answers
176 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
131 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
2answers
205 views

How to embed videos in pdf with ConTeXt?

I have heard that it is possible to embed videos with ConTeXt in tex-files and in the resulting pdf-file. Hans Hagen wrote very briefly about videos in his manual, but there is no Minexample. I could ...
6
votes
1answer
190 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
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 ...
1
vote
1answer
87 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 ...
13
votes
1answer
209 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
122 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 ...
2
votes
2answers
250 views

Hebrew words causes strange errors with ConTeXt IV / LuaTeX

I am experiencing strange problems with ConTeXt IV / LuaTeX. I have some hebrew words which continues to throw following errors: error: /usr/share/texmf/tex/context/base/font-otn.lua:1809: attempt to ...
4
votes
0answers
215 views

Is fine-grained grid control possible? [closed]

I want to make a variety of checklists which are essentially based on a grid layout. I care about having fine-grained control over the exact placement of labels and boxes. I do not care about ...
4
votes
1answer
241 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
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 ...
6
votes
1answer
104 views

Preventing page break in register between reference and page number (ConTeXt)

Problem: The page number of an reference in the register is set to th next page - pake breaking between the reference and the page number. I do not know how to produce a smaller Example: ...
51
votes
2answers
1k views

If LaTeX is only a macro package, why does it have its own executable?

From other answers on this site and the FAQ of the TeX User Group my understanding is that: TeX is the original typesetting program, written by Knuth Omega, eTeX, pdfTeX, XeTeX, LuaTeX are engines. ...
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 ...
5
votes
1answer
195 views

Using ConTeXts cow font with pdfTeX

So I have really become intrigued with the Cow font of context, however I really wish I would be able to use this with latex. I found a place, where it listed the steps on what to do, but it was ...
1
vote
0answers
86 views

Disable grid typesetting in ConTeXt [closed]

Is there any way to disable grid typesetting in ConTeXt. \setuplayout[grid=yes] gives the default behaviour of grid snapping, but so does \setuplayout[grid=no]. is there any way to turn off grid ...
7
votes
1answer
245 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 ...
7
votes
2answers
181 views

Formulas in ConTeXt are different from those in plain TeX

I often typeset formulas using TeX and friends. I noticed they are different between ConTeXt and plain TeX recently. \starttext \startformula \int\nolimits_a^bf(x)dx=F(b)-F(a) \stopformula \stoptext ...
7
votes
2answers
981 views

Libertine fonts not working in ConTeXt

In a previous question about vertical rhythm, I was pointed at ConTeXt, which I am now trying to use. I first took the step from LaTeX to luaLaTeX in order to get simplified font selection and the ...
1
vote
1answer
64 views

How to set \framed to make the baseline of the whole \framed as same as the first line in this \framed in ConTeXt?

An simple example: \starttext \setupframed[align=right,frame=off,offset=none] \framed{A\hskip3em\framed{B\\ C}} \stoptext How can I set the framed which contains B\\ C so that the baseline of ...
4
votes
1answer
234 views

any books on ConText?

I am not able to find any books on Context on amazon. While I see many books on Latex. But I read elsewhere that Context is a good system, so I wanted to learn it by reading a book about it. How ...
4
votes
1answer
107 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 ...
10
votes
1answer
450 views

Availability of LaTeX packages' functionality in ConTeXt, XeTeX, and LuaTeX

I am considering trying out ConTeXt, XeTeX, and LuaTeX, but one concern of mine is the fact that I am using a large number of LaTeX packages. There are a number of questions comparing these TeX ...
4
votes
1answer
137 views

How to add the preface to Contents in ConTeXt?

I am writing an aritcle on English grammar which has a preface in the front matter. Now I found that the preface wasn't added to contents. I try to redefine the combinedlist, but it still has no ...
6
votes
2answers
171 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 ...
3
votes
1answer
89 views

Arbitrary Paper Size in ConTeXt?

I would like to typeset a document into a single-page PDF that may be a meter long. Clearly this is not a A4, A5, A6 page size. Is it possible to specify arbitrary page sizes, like with the geometry ...
44
votes
6answers
2k views

Where can I find good ConTeXt documentation

Where would be a good place to start learning ConTeXt if you haven't got a lot of experience under your belt yet? Any place online or in a bookstore is welcome, provided that the reading is ...
7
votes
2answers
242 views

What does \s! do?

1st example: \starttypescript [\s!serif] [paratype] \definefontsynonym [ParatypeSerif-Regular] [\s!name:PTSerif-Regular] [\s!features=\s!default] \definefontsynonym [ParatypeSerif-Italic] ...
2
votes
0answers
96 views

Adjusting letterspacing in ConTeXt [closed]

I need to adjust the letterspacing of the font I'm using. I'm currently using the font like this: \usemodule[simplefonts] \definefontfeature[default][default][protrusion=quality,expansion=quality] ...
3
votes
1answer
203 views

Get the empty page before a new chapter in ConTeXt?

When starting new chapters on right-hand side, it would better make the previous page empty (no footer and header). This can be done by defining a new pagebreak and setup head, ...
3
votes
1answer
143 views

How to typeset the titlepage and its verso in ConTeXt?

I typeset the titlepage and its verso, but it always generate an empty page on the right if facing. My codes are as follows: \setupinteraction [state=stop, title=Life in These Days, ...
2
votes
1answer
78 views

How to enable the page number counter but don't display it in the titlepage in ConTeXt?

I have observed some books and find that these books start the page number counter in the titlepage (some even do this from the cover) but don't display the page number in the titlepage, also the ...
5
votes
1answer
125 views

Set the width of every columns of a table in ConTeXt

Sometimes, I need such a table whose column widths should be equal with each other. Here is an example: Name Email John john1989@gmail.com Bill bill1990@outlook.com Tim ...
3
votes
1answer
117 views

how to change the footnote text color in ConTeXt?

The default color of footnote texts is black, if I want to change it into red, how can I achieve this? I have used the \setupfootnotes [textcolor=red] or \setupfootnotes ...
3
votes
1answer
82 views

Is there an environment in ConTeXt to center a poem?

I want to center the poem written by William Blake. Is there an environment in ConTeXt to achieve this? My only method is the midaligned \midaligned{To see a world in a grain of sand} ...
5
votes
1answer
94 views

How to start a new chapter at right hand side in ConTeXt?

I have read the manual and try the \setuphead [chapter] [page=right] but it has no effect :-(