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

248
votes
5answers
39k views

Differences between LuaTeX, ConTeXt and XeTeX

I’m interested in the differences and commonalities between the “new” (La)TeX processors: LuaTeX, XeTeX, and ConTeXt. Personally, I’ve only used XeTeX so far and without having the time to try out ...
38
votes
7answers
7k views

File extensions of LaTeX-related files

In addition to the .tex and .dvi or .pdf files, TeX/LaTeX/ConTeXt produces and uses lots of other files. What do they do? Which ones are used to create the document and which ones are automatically ...
90
votes
8answers
9k views

Simulating hand-drawn lines

I am working on a project that will have some vector graphics, perhaps using TikZ (or a similar package). All of the graphics consists of lines, in shades of gray. However, the lines from TikZ appear ...
16
votes
3answers
778 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] ...
102
votes
4answers
11k views

Why should I be interested in ConTeXt?

In the spirit of a free-form Friday on StackOverflow, I'd like to know if I should consider learning ConTeXt. What got me into LaTeX way back in 1994 was having structural markup that made longer ...
37
votes
2answers
1k views

Can one (more or less) automatically suppress ligatures for certain words?

One of the major attractions -- for me at least -- of typesetting my papers in (La)TeX is its automated and fully transparent use of typographic ligatures. However, as Knuth pointed out in the ...
23
votes
2answers
591 views

Porting the luatex/ConTeXt module “translate” to lualatex

In this question, which I posted a few weeks ago to TeX Stack Exchange, I asked how one should go about disabling specific ligatures (such as ff, fi, fl, and ffl) automatically for a list of ...
46
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 ...
16
votes
3answers
698 views

LaTeX equivalent of ConTeXt buffers

While creating a series of graphics (using TikZ) in ConTeXt, I frequently use ConTeXt's buffer to "copy-paste" code. Is there a LaTeX package that implements this feature? Since most LaTeX users may ...
5
votes
2answers
588 views

Replacing matching text with a macro containing information from a CSV file

I have some data stored in a CSV file, in this manner: 000000001 @ name @ information @ more information @ some more information I also have a information.tex file containing the numbers from the ...
19
votes
7answers
2k 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. ...
18
votes
1answer
1k views

Converting ConTeXt document to HTML

For LaTeX, I used to rely on htlatex, latex2html, or more rarely tth. I know that we can use XML with ConTeXt, although I have no experience with this, and that Pandoc let us use Markdown syntax and ...
6
votes
1answer
214 views

Compound/nested section numbers in ConTeXt: how to omit the top level? E.g. 1.2.1 --> 2.1

In the following MWE, titles have no displayed number, but sections (the second level) are still numbered 1.1, 1.2, etc, because the titles have an internal number. I would like the sections to ...
2
votes
1answer
506 views

Unable to run ConTeXt (pdfTeX) after upgrading to Mac OS X 10.9 Mavericks

I recently upgraded to Mac OS X 10.9 (Mavericks) and tried to run a old ConTeXt document using TeXWorks. I got the following error: ...
39
votes
8answers
6k views

Is anybody using TeX for business reporting?

Would TeX (LaTeX, ConTeXt, etc) be a good solution for PDF business reports that require dynamically generated graphs and tables? I need to create financial reports that must look top-notch in their ...
6
votes
1answer
874 views

Use .otf/.ttf in ConTeXt MKiV/LuaTeX

I would like to use an .otf Font for my document which I typeset in ConTeXt MKiV. Sadly I was not able to change the font. I set export OSFONTDIR="/usr/local/share/fonts;$HOME/.fonts and ran mtxrun ...
12
votes
3answers
419 views

Which symbols need to be escaped in ConTeXt?

When writing "$" or "%" in a document, one must used \$ and \% so that they will be interpreted as symbols which should be displayed along with the text. What other symbols need to be escaped in ...
8
votes
1answer
991 views

Code highlighting in ConTeXt

What is the best way to highlight code when using ConTeXt? I am aware of support for specific languages, as described on the ConTeXt wiki, but it seems rather limited at present. I know that we could ...
4
votes
1answer
327 views

ConTeXt: Wrapped text misbehaves at page breaks

On this site, a solution for text wrapping based on descriptions in Pandoc-generated ConTeXt documents was previously formulated. Although satisfactory for a one-page minimum working example, the then ...
45
votes
5answers
1k 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 ...
12
votes
3answers
391 views

Updated documentation of ConTeXt

I'm trying to decide which set of macros/typesetting system to learn. I tried Latex2e for a while, but I was very disappointed that it didn't work nicely with Unicode and that in my tryout I had many ...
25
votes
6answers
3k views

Persuade me to write my thesis in ConTeXt, or not

I'm going to write my master thesis in Computer Science, regarding Operation Research, (in Italian). I have about a month and a half to collect the results and write everything down. I have had a ...
12
votes
1answer
321 views

ConTeXt: How do you create your own commands?

There seems to be a Current and Standard way to define new (core) commands in ConTeXt. For example, an e-mail by Wolfgang states: Many of the \define... and \setup... commands are now auto ...
10
votes
1answer
501 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 ...
8
votes
1answer
356 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 ConTeXt. I've used ledpar in Latex but wasn't satisfied with the results (text is aligned on a ...
7
votes
4answers
426 views

Vertically aligned table in plainTeX / LaTeX / Context etc

My last answer about vertically aligned table inspired me to write my first question at this site. How to create the following table in various TeX approaches: plainTeX, LaTeX, Context, eplain, OPmac ...
6
votes
4answers
6k views

How to sort the order of pages so that they can be printed in a folded book?

I am using ConTeXt to print a book. Each page is A5, but the print store can only print on A4 paper, so they print 2 pages on each side of the A4 paper. I used this code to specify the layout: ...
4
votes
1answer
264 views

Avoid line break after macro

The following example produces a line break after the second text. \define[2]\smallfigure{\placefigure[margin][#1]{#2}{!}}% \starttext text text\smallfigure{fig1}{A}text text \stoptext The ...
4
votes
2answers
378 views

What is the ConTeXt or plain TeX equivalent of \nolinebreak?

The command \nolinebreak[4], if placed between two characters, should prevent a line break from appearing in that location. This command does not seem to be defined in ConTeXt. Is there an equivalent ...
1
vote
1answer
510 views

How to setup this layout

I am trying to replicate this page layout using context, but I am struggling. I have read the context manual and tried changing parameters to see what happens, but I was unable to sort out the logic. ...
9
votes
1answer
921 views

Getting started with Chinese in ConTeXt

I am trying to setup a basic document with ConTeXt, but I am having difficulty even getting started. First, I tried the documentation at ConTeXt wiki: Chinese. I tried the sample code on that page: ...
7
votes
2answers
259 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] ...
5
votes
1answer
341 views

What is the proper way to prevent text from splitting across columns and pages?

I have some description environments which I do not wish to have split across columns or pages. Is there some command which can be placed around an item to ensure that it will never be split across ...
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
1answer
313 views

What is the correct way to end a hanging indent section in Context?

In an earlier question I got help to get hanging indents working in my text. I now suspect that I've not been terminating the hanging indent in the right way. Have tried some different things, but ...
4
votes
1answer
193 views

Minipages in macros for ConTeXt

In LaTex I build the following macro "kum" for translating arabic to german. The result are two minipages, left one with german, right one with arabic (the other two minipages were for design-issues). ...
4
votes
2answers
498 views

Using macro variables with Lua in ConTeXt

I need to make some macros in ConTeXt. I have tried to use Lua code, but I do not understand how to mix ConTeXt source and Lua source together. Here is an example: \define[3]\textmacro{ \startlua ...
4
votes
1answer
651 views

How to fix error “ruby.exe seems not to be installed” in Windows 7 where both Miktex 2.9 and Ruby have been installed?

I have installed Miktex 2.9 with the latest update. I work with latex.exe successfully. I want to learn ConTeXt and I installed Ruby. To get better settings, I restart my computer. After restarting, ...
2
votes
1answer
221 views

How to set the width of the label of a description to the width of a string of text in ConTeXt?

I am using \startdesc{} to create a label and description environment, e.g.: \startdesc{(label)} This is some text in a sentence. \stopdesc \startdesc{(another label)} This is some more text ...
1
vote
0answers
100 views

ERROR After Updated Modules at ConTeXt?

I have problem after update modules at ConTeXt and I can’t use module at my document before I can. My MWE from this link : http://downloads.ziddu.com/download/23836664/Vektor.rar.html You can see my ...
21
votes
3answers
623 views

Managing hundreds of separate components in a large document

I am making a workbook containing hundreds activities. Each activity appears as its own section and generally contains instructions, spaces to write or draw, and sometimes illustrations or diagrams to ...
11
votes
2answers
478 views

Create a font table for all available characters for a particular font

Similar to the question: Lualatex: Font table with examples I have several ornamental fonts and I'd like to create key maps. That is, I want to know what symbol the letter a maps to by having a nice ...
22
votes
3answers
424 views

How to search for information about ConTeXt in search engines?

I have a kind of strange question but I think it is a real problem: How do I find information about context in search engines? You can find some, but I think it is by far not all the information you ...
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 ...
6
votes
3answers
448 views

Typesetting annuity and life-insurance symbols in ConTeXt

How do I typeset annuity and life-insurance symbols, actuarial notation in ConTeXt. I see there are packages available but not for ConTeXt. Thanks
6
votes
1answer
218 views

MetaPost: Randomly variably thick curves

Overview Looking to emulate the following sinusoidal wave having random variations in both its filled and outline thickness: The wave has two parts: a variably thick filling and a variably thick ...
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 ...
6
votes
2answers
245 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
343 views

Creating a grid which fills available text area on a page in ConTeXt?

I have some pages containing only a small paragraph at the top and a large empty area where readers can add notes or draw, e.g.: _______________ | | | This is some | | text in a pa- | ...
13
votes
1answer
195 views

Which primitives does ConTeXt rename/move?

TeX's primitives can be renamed by macro formats/packages: this allows new/altered features or behaviours. Usually this is done such that the originals are still available ('renamed'): certainly ...