ConTeXt resembles LaTeX in being a system of TeX macro packages and helper scripts. ConTeXt has a fairly centralised development model, when compared to LaTeX's bazaar model, with much popular functionality provided by user-contributed packages. ConTeXt targets small publishers, aiming to provide ...
12
votes
1answer
167 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 ...
3
votes
1answer
86 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
37 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 ...
4
votes
0answers
121 views
Parallel text in Context
I need to type parallel text on facing pages (original text on right page and translation on left one) in Contex. I've used ledpar in Latex but wasn't satisfied with the results (text is aligned on a ...
7
votes
1answer
96 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
145 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
...
35
votes
4answers
810 views
Separation of content structure and style in LaTeX?
In HTML, over the last decade or so, there has been a strong push toward complete separation of content structure and style. Most websites are now built using HTML for structural mark-up, and CSS for ...
4
votes
1answer
84 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},
...
3
votes
0answers
42 views
Set layout for the first page of Chapters in ConTeXt
When designing some documents, I hope I can set a global layout and another layout for the first page of all chapters. I have defined two layouts as follows:
\setuppagenumbering
...
7
votes
2answers
814 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
31 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
92 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
48 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 ...
7
votes
1answer
296 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
79 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:
...
2
votes
0answers
38 views
Problems with multiple \starthanging \stophanging in ConTeXT
I'm trying to place multiple figures with additional side text using ConTeXT one after the other.
When there are two figures in a row they overlap. How should they be separated?
The following ...
4
votes
1answer
68 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 ...
1
vote
1answer
72 views
Draw a line under the headertext in ConTeXt
Sometimes, in order to seperate the headertext from the text area, I need draw a line just under the headertext.
\setuppagenumbering
[location=,
alternative=doublesided]
\definepagebreak
...
5
votes
2answers
122 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
0answers
80 views
How do I get italic texts figures in ConTeXt?
Inside an italic section I want to place text figures (which should be italic as well). How do I achieve this? (The document is in ConTeXt MKII.)
Both of the following examples produces non italic ...
2
votes
1answer
59 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 ...
38
votes
6answers
1k 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 ...
10
votes
1answer
212 views
ConTeXt (core) command definitions: what do \installcorenamespace, \?? and \installcommandhandler, do?
I have the very strong impression that there is a Current and Standard way to define new (core) commands in ConTeXt; see, for example, this quote from an e-mail by Wolfgang.
Many of the \define... ...
6
votes
2answers
207 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
54 views
Adjusting letterspacing in ConTeXt
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]
...
15
votes
7answers
1k views
ConTeXt editors
There is a very active question about LaTeX editors and IDEs. I personally use Vim with LaTeX-suite for any latex editing, and I am very happy with it. Lately I began to use ConTeXt more and more. ...
1
vote
1answer
58 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,
...
2
votes
1answer
75 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
43 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
58 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 ...
2
votes
1answer
44 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
49 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
48 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 :-(
2
votes
1answer
51 views
Page numbers (Roman number and Arabic numerals) in ConTeXt
My simple document is divided into only two parts (it's only some math notes).
\starttext
% frontmatter
\startstandardmakeup
... % the cover
\stopstandardmakeup
\completecontent
\startbodymatter
... ...
8
votes
1answer
191 views
How to fix this fancy heading in ConTeXT
I don't know if this is a duplicate or not but we can close it if it is.
I have been trying to learn ConTeXt. I specially love the heading and page number formattings that I see in the documentations ...
2
votes
1answer
49 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
0answers
64 views
ConTeXt under cygwin
Since I couldn't use the first-setup.bat script behind my authentication based, HTTP only, corporate proxy, I went for cygwin.
I installed the version 20120628-1 of a package named ...
5
votes
0answers
91 views
Placing text in the margin next to a figure using ConTeXt
What is a good way to place a short paragraph in the margin next to a figure in ConTeXt?
I've been trying the following code, but it places the \inmargin text at the base of the figure which only ...
2
votes
1answer
98 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 ...
1
vote
0answers
22 views
How to do source code listings in ConTeXt? [duplicate]
I am new to LaTeX and ConTeXt, so I hope I am not asking something obvious. I have been able to create a LaTeX document using \usepackage{listings}. Now I have discovered ConTeXt. Is it possible to ...
6
votes
1answer
111 views
Center in ConTeXt
What is the equivalent of \begin{center}...\end{center} in ConTeXt? I know \raggedcenter, but that not an environment. I could define one command, but surely there is anything like that predefined.
6
votes
1answer
149 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,
...
7
votes
1answer
265 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:
...
6
votes
2answers
291 views
ConTeXt style/environment files for setting TEI?
Is there a repository of styles for typesetting XML, specifically TEI XML markup, using ConTeXt?
I've been googling now for a week or so trying to dig up as much information as possible about ...
4
votes
1answer
64 views
How to disable the header at any page in ConTeXt?
I haven't written an article since I paid my attention to ConTeXt. Now it is a chance to do it. I have tried to set the header, but failed.
The structure of this article is like this:
... title ...
8
votes
2answers
295 views
Which TeX should one start out with? [closed]
Ever since learning Vim, I've felt slow going in anything else. Lately I've been writing my notes and other small documents in Markdown using Vim. I've decided to to take it a step further by ...
10
votes
2answers
189 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
106 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 ...
2
votes
1answer
109 views
ConTeXt - Make text embody figure and respect margins
I am trying rewrite an already formatted layout to ConTeXt, but I face two major problems. Please have a look at the goal I am aiming at and at the source code below.
I have tried many suggestions ...
6
votes
1answer
114 views
How can I effectively diff 2 versions of a book produced by ConTeXt?
I have just made significant revisions to my thesis which has been typeset with ConTeXt. The project file pulls from approximately 20-30 files spread over 8 directories producing a document of 414 ...


