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

11
votes
2answers
597 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
2answers
103 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 ...
280
votes
5answers
47k 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 ...
2
votes
1answer
36 views

Adjusting the counter of \startitemize environment

I tried to find this answer on tex.stackexchange.com, the ConTeXt Garden wiki and the ConTeXt reference manual, and I feel like I must be overlooking something simple. Basically, I have a list of ...
4
votes
3answers
120 views

ConTeXt system font search path

I read from the official manual (http://wiki.contextgarden.net/Fonts_in_LuaTex#How_LuaTeX_handles_system_fonts) that I need to export OSFONTDIR="/usr/local/share/fonts;$HOME/.fonts" to specify where ...
7
votes
2answers
327 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 ...
4
votes
1answer
56 views

ConTeXt only finds one font style in .ttc file

I've been trying to use a couple of my Mac system fonts in my document, and I'm finding that ConTeXt is only finding one style for a couple of the fonts I've been using. The ones I've tried are ...
9
votes
1answer
204 views

Can you use LaTeX packages in ConTeXt/emulate ConTeXt in LaTeX?

Is it possible to use LaTeX packages in ConTeXt? I want to know because I'd like to use ConTeXt's greater formatting facilities but I also want to use several LaTeX packages (crossword and xskak in ...
1
vote
0answers
28 views

context fails due to no return code

Running Fedora22 here, I have cloned https://github.com/mszep/pandoc_resume.git to give it a try and ran make. It fails with the context command: $ context resume.tex mtx-context | run 1: ...
5
votes
1answer
125 views

How do I create unequal column widths using columnsets?

I would like to create a columnset where the first column is wider than the others. I understand that column breaks become complicated in such an environment. The ConTeXt columns manual claims to ...
5
votes
2answers
87 views

Why does fontspec interfere with Ligatures? (In retrospect: How the dutch hyphenate)

The tufte sample text (provided by ConTeXt) contains a || sequence which normally gets turned into an emdash. For some reason the inclusion of fontspec disables this. I've tried to use various options ...
2
votes
2answers
34 views

ConTeXt: How to style interactive elements individually rather than globally

I want two have two links, one bold and one normal. As a MWE: \setupinteraction[state=start,style=normal] \starttext {\bf\goto{Link 1}[url(http://www.example.com)]} \goto{Link ...
51
votes
9answers
11k 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 ...
2
votes
0answers
67 views

Putting “continued…” at the bottom of the page and on the top of the next page in ConTeXt

I have a section of text that contains several paragraphs, enumerated lists and possibly small tables (3 or 4 rows maximum), and where this section of text crosses a page boundary I'd like to put ...
3
votes
2answers
46 views

Preformatted text using ConTeXt's \startlines

This is a follow-up question to ConTeXt equivalent to LaTeX's \linebreak with full justification Include original page images for side-by-side comparison + SyncTex I am using the ...
4
votes
2answers
69 views

ConTeXt equivalent to LaTeX's \linebreak with full justification

In Latex, the following MWE: \documentclass{article} \begin{document} Hello World\linebreak Hello World\linebreak Hello World\linebreak Hello World \end{document} leaves each line fully justified ...
4
votes
1answer
34 views

Calling start/stop letter environment inside luacode block

I'm creating a letter using the ConTeXt letter module, and I want to process an external file within Lua and change some of the letter setup and text based on the data in the external file. I'm ...
118
votes
4answers
14k 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 ...
1
vote
2answers
68 views

How to implement a specific head or top like this in conTeXt?

all I want to use conTeXt for writing my resume, I found the head like the red area very awesome, but I don't know how to implement it, or what elements I should use to do it? After reading ...
3
votes
2answers
125 views

Grid on aligned equations in ConTeXt

Grid typesetting works quite well in ConTeXt for single-line equations (see the first example below). However, replacing it by any number of aligned equations (including just a single "aligned" ...
5
votes
0answers
61 views

No italic correction in ConTeXt

Quoting ConTeXt garden, There is a font switch \em to emphasize text. This is somewhat special: it does automatic italic correction and changes the alternative depending on the current ...
5
votes
0answers
74 views

Use ConTeXt to turn EPUB into PDF

Because ConTeXt is good at manipulating XML, it would seem likely that it is also good at handling EPUB, since this is essentially a zipped collection of HTML and CSS files. I am wondering if there ...
1
vote
1answer
40 views

How to create a hanging bullet list in ConTeXt

The only way I have found seems somewhat hackish: \setupitemize[leftmargin=-18pt] \starttext \startitemize \item one \item two \stopitemize body text \stoptext
5
votes
1answer
119 views

In ConTeXt, what command resets the font size to “normal” after e.g. \tfa?

I tried the following snippet just now: \starttext \tf A quick brown fox \par \tfc A quick brown fox \par \tf A quick brown fox \par \tfb A quick brown fox \par \tf A quick brown fox \par \tfa A ...
14
votes
1answer
301 views

ConTeXt for non-technical person

A dear person to me has started her own small publishing company (psychology related books -- completely non-technical) and she uses Microsoft Word. It's a one woman operation and she often asks me ...
0
votes
0answers
34 views

conTeXt Mkiv: the number of parameters can not be more than 9?

For testing, I have a definition: \define[9]\DEFINETEST{#1,#2,#3,#4,#5,#6,#7,#8,#9} context test can work fine, when I modify the above into: \define[10]\DEFINETEST{#1,#2,#3,#4,#5,#6,#7,#8,#9,#10} ...
1
vote
0answers
37 views

conTeXt: What should I do for compile a tex file when I have two different types of modules?

For resolving my previous question , according to [AboAmmar's answer] (http://tex.stackexchange.com/a/253658/81323), I must create a separate file m-resume.tex and use command texexec cv.tex to ...
1
vote
1answer
85 views

why the year “2007” can not be displayed in my generated pdf after compiling “http://wiki.contextgarden.net/Curriculum_Vitae”?

I want to use the resume template m-resume.tex and cv-resume.tex, and downloaded it, combined the two files into one file called resume.tex, and then used conTeXt mkiv's command context to compile it ...
4
votes
1answer
78 views

what is meaning of “\hbox to \hsize” in ConTeXt?

In many tex, I saw \hbox to \hsize, such as: {\hbox to \hsize \bgroup \hfill \setupframed[height=5cm,offset=.5em,frame=off,backgroundcolor=red] \framed[width=12cm,align=left]{#1}% ...
5
votes
2answers
996 views

Fatal format file error; stymied. fmtutil: infinite recursion

I'm using texlive / ConTeXt / Xetex, but I don't know which of those might be relevant to the problem. The summary is that when I run TeX, I get a "Fatal format file error; I'm stymied" message. ...
4
votes
1answer
75 views

Cleveref-like command in ConTeXt

Following ConTeXt garden, I set up theorem environments like in the below MWE. I wonder if ConTeXt has a command similar to \cref from the LaTeX package cleveref which automatically adds "Corollary,", ...
3
votes
1answer
49 views

\usepackage{preview} equivalent for ConTeXt?

I would like to create a ConTeXt document cropped around a single \starttikzpicture \stoptikzpicture. How to achieve this by letting TeX infer the page size from the box dimensions?
5
votes
2answers
108 views

How to make a fancy rule under a line of text in ConTeXt

I've (mis)used LaTeX on and off for the past 10 years and am now trying out ConTeXt, mostly because it allows alignment to a baseline grid. I'd like to produce a rule (line) below some text such that ...
3
votes
3answers
125 views

ConTeXt: Using Unicode symbols for bullets

I'm having trouble figuring out how to use ▸ (AKA BLACK RIGHT-POINTING SMALL TRIANGLE) as the bullet in my itemized lists in ConTeXt. My first thought is that this should work: ...
16
votes
2answers
429 views

Getting started with LuaTeX and ConTeXt

I've been using LaTeX now for roughly about 20 years. Only within the past 3 years or so have I tried understanding the internal workings of TeX. There are not a few posts here for which the OP is ...
2
votes
0answers
37 views

ConTeXt using the tex-context package in pkgsrc

The cross-platform package manager pkgsrc includes a ConTeXt package, http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/print/tex-context/README.html Has anyone used this successfully? I have ...
5
votes
1answer
139 views

Table of Contents for poetry collection (ConTeXt)

I'm getting stumped about how to generate the ToC for this book. I'm about to give up and just do it by hand. The author wants to include a lot of structural information that isn't present in the ...
4
votes
1answer
68 views

How to print page number over page containing \externalfigure in ConTeXt?

I'm trying to merge a full size PDF page into my document and then to print the page number over the top in the normal position. I've read the page on the wiki about inserting PDF pages ...
14
votes
2answers
238 views

Kerning and ligatures in upright math font with unicode-math

How can I get the kerning and ligatures of text mode in an upright math font with the unicode-math package loaded? 1. Without unicode-math Code: \documentclass{article} \begin{document} ...
1
vote
0answers
34 views

Formulas in columnsets using ConTeXt

I tried out ConTeXt, where I found that columnsets worked just fine---until I put math into them. The below code produces an error. What am I doing wrong? \setuppapersize[A5] ...
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. ...
0
votes
0answers
28 views

Force leading spaces in \if result [duplicate]

\def\test#1{ \def\csv{#1} \ifx\csv\empty \else X\fi } \starttext This is a test x\test{1}x. \stoptext Should result in xXx, but shows x Xx. How do I avoid the leading space here? Edit: Ok, this ...
1
vote
0answers
45 views

Test whether CSV field is empty or not (ConteXt)

I am designing an address book using the CSV parser in How to create form letters from spreadsheet data in ConTeXt?. Some persons have an academic title, while others not. Some also have a job ...
2
votes
1answer
41 views

Conditional pagebreak depending on counter

After hours and hours I am still not able to produce a simple pagebreakif a counter is tested successfully being equal to a constant in ConTeXt. \definenumber[eintraege][way=bytext,prefix=no] ...
3
votes
1answer
120 views

How to set maxheight of a combination in ConTeXt?

I want to do a combination that fits in my page without taking care of figures dimensions itself. I tried this: \placefigure[][myfigure] {mycaption} {\startcombination[1*4, ...
4
votes
1answer
123 views

Best way of formatting a given paragraph (or set of paragraphs) in ConTeXt

Altough I have read the documentation, I have not find a definitive answer for this, so I hope somebody has a better understanding that I have. I want to make a paragraph (or set of) stand out from ...
8
votes
1answer
77 views

Invisible floor and ceil math delimiters

Why the floor and ceil math delimiters don't display? Code: \starttext \startformula \Bigl\lfloor \frac{x}{y}\Bigr\rfloor \stopformula \startformula \Bigl\lceil \frac{x}{y}\Bigr\rceil ...
14
votes
2answers
908 views

ConTeXt: Using system-installed TrueType/OpenType fonts

I'm trying to use Cambria for text and Calibri for headings in a ConTeXt document, but I don't understand what is happening at all, nothing seems to have any effect and in the end it falls back to ...
2
votes
2answers
133 views

Hint for title page layout in ConteXt

After reading a lot of the manuals, docs and wiki articles provided by the ConteXt developers, I still have no clue how to achieve this. I want to set up a newsletter title page. On the top it ...