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
56 views

How to include ConteXt version in document?

My question is exactly the same as this one: Include LaTeX version in document I want to include in my document: compiled with ConteXt version YYYY.MM.DD. Is it possible to do it automatically or I ...
4
votes
1answer
80 views

make a glossary with ConTeXt

is there a simple way to make a glossary in ConTeXt? just like with the glossaries package in latex example : https://en.wikibooks.org/wiki/LaTeX/Glossary
4
votes
1answer
189 views

Electron distribution box diagram

Just for sharing. Improvements are welcome. \starttext Electron distribution box diagram \startMPcode picture finalpicture ; finalpicture := nullpicture ; numeric n ; n := 0 ; bboxmargin := 0pt ; ...
3
votes
1answer
88 views

Floats in ConTeXt: changing caption name and making the \input command work

I have defined a new float for logic circuits called logigram: \definefloat [logigram] [logigrams] Taking advantage of the modes of ConTeXt (i.e. conditional processing), I am making in parallel a ...
3
votes
1answer
377 views

Same mathematical fonts with LuaTeX and ConTeXt

I use LuaLaTeX to compile my documents with this in the preamble : \documentclass[12pt,a4paper]{article} \usepackage{etex} \usepackage[no-math]{fontspec} ...
3
votes
0answers
145 views

Center an image horizontally and vertically in a table with ConTeXt

\setuppapersize[A4] \enableregime[utf-8] \usemodule [simplefonts][size=12pt] \setmainfont[EB Garamond 12][expansion=quality,protrusion=quality] \setuppagenumbering[location=] ...
4
votes
1answer
249 views

How to use Liberation fonts in ConTeXt?

I have the following snipped of code \usemodule [simplefonts][size=12pt] \setmainfont[DejaVu Sans] \starttext Test text Тестовый текст \stoptext And this works great. ConTeXt compiles it and ...
6
votes
1answer
125 views

How to place figure/table without caption in ConTeXt?

When I am trying to \placefigure[here]{none}{\externalfigure.... I am getting figure with caption "none" instead of figure without any caption. How to \placefigure without a caption in ...
2
votes
0answers
75 views

Error when using SciTE

I get the following error when trying to compile a file using SciTE for ConTeXt: mtxrun | kpse fallback with progname 'context' initialized in 0.381 seconds>Exit code: 1 I followed all ...
1
vote
0answers
90 views

Install ConTeXt manually without using first-setup.bat

For some reason or the other, when I try to install ConTeXt on my machine (Windows 7 OS), it gives an error as shown below: So I have tried and tried and tried and tried. You get the point. I was ...
8
votes
1answer
378 views

MinionPro, including math, in ConTeXt

A rather simple question, which probably will have a complex answer. I'm trying to migrate to ConTeXt, since I want to have a layout not easily achieved with LaTeX (grid...). In LaTeX, MinionPro is ...
1
vote
1answer
123 views

How to define numbered theorem, definition at ConTeXt ?(ConTeXt)

I have problem about define numbered like theorem, definition, corrollary etc at ConTeXt ? You can see like this my screenshot and my code (sorry, i copy and paste from other document) : and my ...
3
votes
1answer
181 views

Answer keys in ConTeXt

I'm currently working on a textbook. It contains numerous exercises and I'd like it to contain an answer key at the end of the book. The answer key should have the same structure as the book, that is ...
3
votes
1answer
228 views

More Math Fonts in ConTeXt

Yesterday Aditya very helpfully updated the Wiki: http://wiki.contextgarden.net/Math_fonts#Using_Math_fonts_in_MkIV. Modern, times, palatino, bonus, iwona (not iowna), antykwa-torunska, lucidanova, ...
1
vote
0answers
155 views

Math Fonts in ConTeXt

I have installed a standalone ConTeXt package: ConTeXt ver: 2013.11.10 12:23 MKIV beta fmt: 2013.11.11. This works well using Sublime Text 3 to edit and build ConTeXt. (I downloaded ConTeXt syntax ...
4
votes
0answers
76 views

Polymer structure in PPCHTEX - how to make big brackets?

I'm trying to draw polymer structure using PPCHTEX under ConTeXt packages, my current code is \starttext \startformula \setupchemical[scale=small,width=fit] \startchemical ...
2
votes
1answer
137 views

ConTeXt: Art book (persistent left margin et al)

I am trying to create a book displaying artworks using ConTeXt in (what I thought would be) a very simple layout: One image per page, sized according to orientation, with artwork title, year etc ...
1
vote
0answers
122 views

ConTeXt and Smultron

I have installed Smultron 6 and and configured ConTeXt MkIV in Applications/ConTeXtStandalone as per the Wiki http://wiki.contextgarden.net/ConTeXt_Standalone/Mac_Installation. I have also set up ...
5
votes
1answer
168 views

ConTeXt: How to achieve fine-grained font size control over the \type command?

In below minimum working example, I was able to configure the bodyfont in \setuptyping to 9.5pt. However, ConTeXt \setuptype documentation is not as detailed to explain me how I can achieve the same ...
0
votes
1answer
80 views

How to placement author name in centered title at Simple Slide(ConTeXt)?

I have problem about placement author name more than one at my simpleslide and my MWE \usemodule[simpleslides] [style=Rounded,color=red, font=Helvetica] \setupTitle [ title={TSP\\(Travelling Salesman ...
1
vote
0answers
62 views

ConTeXt customize styling similar to CSS

In html, one can <div class, id> and CSS styling with selection based on "class" or "id". Is it possible to do it similarly in ConTeXt? For example, using "define" then "setup", then ...
0
votes
0answers
58 views

electronics data sheet using ConTeXt: first page header=high

As it was asked here electronics data sheet latex template, I'd like to make Analog Device kind of data sheet using ConTeXt. The first page of the data sheet looks different (in terms of header, ...
3
votes
0answers
96 views

path for chinese font with ConTeXt

I already use ConTeXt for maths and am fully satisfied, but now I need to write a document with text in chinese. I've read the different PDFs (mchinese.pdf and Uptodate) available here and I visited ...
2
votes
1answer
107 views

How I do install context modules in the Windows distribution of ConTeXt?

I know this question almost equal How do I install context modules in the ubuntu distribution of ConTeXt, but I don't understand it and there are simple way install context modules in the Windows ...
1
vote
1answer
179 views

ConTeXt: How to display last page number (Page # of #) in header/footer?

In LaTeX, I could do something like: \fancyhead[R]{\HeaderFont{\thepage{}/\pageref{LastPage}}} and/or \fancyfoot[R]{\FooterFont{\thepage{}/\pageref{LastPage}}} How to achieve the same with ...
1
vote
1answer
142 views

ConTeXt: How to control vertical and horizontal line thickness in tables?

In LaTeX, I could do something like: \begin{longtabu} to \linewidth {X |[3pt] X} ... \tabucline[3pt]{-} ... \end{longtabu} which would produce vertical and horizontal lines of 3pt thickness. ...
0
votes
1answer
144 views

ConTeXt: How to maximize width of column depending on fixed sizes of other columns?

In LaTex, I could do something like: \newcolumntype{C}[1] {>{\centering\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} \newcolumntype{L}[1] ...
3
votes
1answer
208 views

Ugly-looking integral signs in ConTeXt MkIV

A few days ago, I decided to try out ConTeXt (just for fun), but ran into the following problem. Running the 'context' command on \setuppagenumbering[location=] \starttext \startformula \int_a^b ...
3
votes
0answers
222 views

Manual for Presentation typesetting in ConTeXt

Is there a manual similar to the Beamer manual but for presentation in ConTeXt? I found this: http://wiki.contextgarden.net/Presentations but I feel it lacks many information, for example on ...
3
votes
1answer
74 views

Is there a list of <float> in ConTeXt?

In LaTeX we have \listoftables, \listoffigures, and so on (at least thats the name as far as I remember). Is there something to achive similar in ConTeXt? My first thought was to define a register ...
4
votes
1answer
152 views

How to set ConTeXt in WinEdt 6.0?

I'm very interesting ConTeXt but I don't know setting ConTeXt at WinEdt 6.0. You can see the screenshot, there is ConTeXt and “ How to setting ConteXt at WinEdt 6.0 ?”
0
votes
2answers
168 views

ConTeXt: How to place a short caption under a wrapped figure?

This is a follow-up question to a previous ConTeXt solution. That solution dealt with wrapped figures in a ConTeXt document generated from Pandoc Markdown. Now, I would like to extend that solution ...
2
votes
0answers
44 views

Context mptopdf problem [closed]

I've a problem with the following file input graph u=0.5cm; beginfig(0); draw dashpattern(on 5bp); picture pa; pa=currentpicture; currentpicture:=nullpicture; draw dashpattern(on 5bp off ...
5
votes
0answers
164 views

How to use Multiple-Master-Font-instances for HZ/microtype instead of horizontal scaling? (ConTeXt) [closed]

Question I would like to use a Multiple Master font with a width axis for the HZ-program (=Herman Zapf Programm, equivalent to the microtype-package of LaTeX) In standard configuration, ConTeXt (and ...
8
votes
2answers
184 views

LuaLaTeX and MetaPost

Is there a LuaLaTeX equivalent of \startMPinclusions input mpfile; \stopMPincusions in ConTeXt? That is, if I have \documentclass{article} \usepackage{luamplib} \begin{document} ...
3
votes
1answer
111 views

Metapost and ConTeX

I am completely new to ConTeXt and have just started to experiment with writing metapost directly within ConTeXt. My problem is that some of my existing metapost files call other metapost files which ...
2
votes
1answer
466 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: ...
2
votes
0answers
151 views

Adding vedic accents in sanskrit in devanagari script in red color using Context - not working in all cases

Using the techniques described in Coloring combining characters without changing color of a base character I have been able to color red the vedic accents in sanskrit typesetting using ConTexT MIV. ...
5
votes
0answers
142 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 faciliies but I also want to use several LaTeX packages (crossword and xskak in ...
3
votes
1answer
40 views

Preventing caption stoppers from appearing in references in ConTeXt

I would like to prevent caption stoppers from appearing in references in ConTeXt. Here is a minimal example: \starttext \setupcaptions[numberstopper=.~---~, distance=0em] \placefigure[][cow]{A ...
3
votes
1answer
154 views

ConTeXt figure placement

For years I've used a LaTeX macro that allowed me to embed figures into my text with relatively little fuss. I could type something like: A typological comparison (see Figure \Fig[Caption ...
9
votes
1answer
448 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 ...
4
votes
2answers
355 views

XeTeX (I think) problem with Mac OS X.9 [duplicate]

Just upgraded to Mac OS X.9 Maverick and XeTeX (at least us used from TexWorks, which is all I've tried) now seems to be broken though it was working before. Error message when I try to typeset with ...
6
votes
3answers
351 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
3
votes
1answer
94 views

ConTeXt SciTE tries to open sumatrapdf by default

I just installed SciTE and ConTeXt on windows using the directions from this website http://wiki.contextgarden.net/Windows_Installation:_ConTeXt_Suite_with_SciTe And it appears everything works but ...
7
votes
1answer
161 views

ConTeXt+MetaPost: Non-conflicting random background and foreground colours

Overview Looking to create a page that has a random (and non-consecutively repeating) background colour with titles that are also random. Problem The code has two problems. First, generating a ...
7
votes
1answer
164 views

MetaPost: Randomly generated number, distinct from previously generated number

Overview Looking to create random page background colours where the same background colour never appears more than once in succession (i.e., red, green, blue, green, blue, red, etc. -- never red, ...
5
votes
1answer
201 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
176 views

MetaPost: Non-uniform periodic tessellations

Overview Looking to create backgrounds that have regular polygons aligned to a grid. Problem The space between the polygons varies, even though the radius for the polygons has been calculated in ...
8
votes
1answer
194 views

MetaPost: Adjust colour value (brightness/luminosity)

Background In MetaPost, colours can be lightened or darkened by calling the transparency function. However, this allows other colours to show through, which isn't necessarily desirable all the time. ...