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

4
votes
1answer
28 views
2
votes
2answers
29 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 ...
5
votes
2answers
80 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
0answers
58 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
38 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
68 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
32 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 ...
5
votes
0answers
57 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 ...
3
votes
2answers
116 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
66 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
36 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
0
votes
0answers
32 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
34 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
82 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
62 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}% ...
1
vote
2answers
64 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 ...
4
votes
1answer
73 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
47 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
95 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 ...
16
votes
2answers
407 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
36 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 ...
3
votes
3answers
116 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: ...
4
votes
1answer
66 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 ...
5
votes
1answer
136 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 ...
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] ...
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
40 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] ...
14
votes
2answers
220 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} ...
4
votes
1answer
118 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 ...
4
votes
0answers
186 views

Limitations of ConTeXt?

So far, from what I hear about ConTeXt, it sounds like the solution to many of the major problems in LaTeX (perhaps all of those that can be solved at all). It supports grid typesetting (which is ...
7
votes
1answer
108 views

Change font for math functions (sin, log, etc.) in ConTeXt MkIV?

When I’m using the Euler font for math, I notice that since Euler is upright, the font for math functions like sin, cos, and log is identical to variables. Is there a way to change the font for math ...
2
votes
1answer
48 views

Table caption above, figure caption below in ConTeXt

My definition looks like this: \setupcaptions[location=top] \setupcaptions[way=bysection,prefixsegments=section,headstyle=\bf] And placement of tables ...
3
votes
2answers
103 views

Dagger symbol in math mode in ConTeXt with Euler font?

I followed this answer to use the Neo Euler font in math mode. I found that the dagger symbol (†) is missing in Euler. Is there a way to use the dagger symbol from the text mode font in math mode? ...
3
votes
1answer
56 views

Listing with source code included from file in ConTeXt (with label and caption)

I would like to include listings with source code in ConTeXt MKIV and have a mechanism for labeling and referencing the listing and even being able to attach the code with useattachment. In LaTeX, I ...
2
votes
0answers
40 views

ConTeXt: Table header as section in TOC (while parsing xml to pdf with xmlflush)

I would like to use the header of a table as a section for the TOC (while parsing an XML to pdf) \startxmlsetups xml:table \page[yes] \dorecurse{3}{ \bTABLE[frame=on,split=no] ...
8
votes
1answer
73 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 ...
5
votes
1answer
68 views

Compilation error with \ifnum in ConTeXt

Why the following code gives me the following error? Code: \begingroup \catcode`\"=12 \gdef\newmcodes@{\mathcode`\'39\mathcode`\*42\mathcode`\."613A% \ifnum\mathcode`\-=45 \else ...
2
votes
2answers
123 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 ...
0
votes
0answers
58 views

ConTeXt: How to (force) capitalization of the first letter of some string?

I want to do the following: \Word{\word{Massively Parallel Processing}} and I expect it to be rendered as "Massively parallel processing". However, it is rendered as "massively parallel ...
2
votes
2answers
66 views

Using a table as a header in Context

I want to define a table to use as a header in my Context document. This table shall contain different variables, like document title, document number, date, page x of yy, etc. I have defined the ...
1
vote
1answer
57 views

Vertical alignment of fonts of different size on same line in ConTeXt

Given a document like this \starttext \setupbodyfont[palatino,8pt] small \setupbodyfont[palatino,12pt] normal \setupbodyfont[palatino,16pt] big \stoptext how would I center those words vertically?
4
votes
2answers
103 views

ConTexT, disable node text indenting

I have a problem with TikZ picture under ConTexT. If I set it up for document wide indenting such as "setindenting[medium,yes]", then the problem is that tikz will always indent the text in a node as ...
4
votes
1answer
213 views

Footnote complete citation, plus ibid, op, cit., etc (in ConTeXt)

I need my citations to be in a footnote. I tried \footnote{\cite[alternative=data][bib_key]} but this can’t help me with ibid. or Author, op. cit. when required. Searching a little, I found something ...
3
votes
0answers
61 views

ConTeXt: Is there a way to show the \part heading?

I’m new to ConTeXt, and noticed that \part{Some title} (and neither \start part[title={Some title}]…\stoppart) will produce and output (besides an empty page with footer and header). Nevertheless, ...
2
votes
2answers
78 views

ConTeXt table row vertical fill page

Is there a way to have a bTR for ConTeXt fill a page vertically? I want to have a full-page table, with both width and height filled. Given e.g. \bTABLE \bTR \bTD One \eTD \eTR \bTR \bTD ...
1
vote
0answers
67 views

Pass parameters to ConTeXt \component, \product, etc

I would like to use, and it appears suited, the \component and related commands in ConTeXt. However, I would like to have multiple parameters to a given component e.g. \startcomponent X ...
1
vote
1answer
67 views

How to use ConTeXt in a unix pipeline?

I can process my tex file into a PDF by running "context something.tex". It produces an output file called something.pdf and a few other files (such as something.log). I want to run a command as part ...
7
votes
3answers
177 views

Typing of math sign charts

For typing of quantities of solving mathematical problems I would like to type signs charts (diagrams to visualize the values of expressions). Something like this: x-5 - | - | + x+4 ...
1
vote
1answer
64 views

Error running Context texexec on Mac OSX 10.10, Ruby 2.2.0 Stable

When I try to run texexec on my context file I get the following error: texexec va.ctx /Users/davidsmith/context/tex/texmf-context/scripts/context/ruby/base/ctx.rb:120:in `manipulate': invalid byte ...