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

2
votes
0answers
121 views

ConTeXt: Set mixedcolumns maximum height for vertical rule

Background Looking to ensure that the height of a vertical rule for the first page of a section is the same as the subsequent sections. Code Minimum working example to illustrate the issue: ...
2
votes
1answer
233 views

ConTeXt: How to create nice-looking fractions

Background Looking to create vulgar fractions in the current font such those in Unicode. LaTeX has the nicefrac package that provides, as the name implies, fractions where the dividing line is a ...
2
votes
1answer
107 views

ConTeXt: Repeat second-level registers within index

Background In ConTeXt, a multi-level index can be created using: \index{level1+level2}text If the value for level2 matches the previous index value of level2, then the text for level2 is not ...
5
votes
1answer
115 views

ConTeXt: Randomly lighten or darken a colour within a threshold

Overview Looking to randomize the colours of squares of a checkerboard so that some are slightly lighter and some are slightly darker, relative to another colour. Problem The following sets a base ...
6
votes
1answer
216 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 ...
6
votes
1answer
254 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 ...
7
votes
1answer
200 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, ...
7
votes
1answer
189 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 ...
2
votes
1answer
89 views

How to vertically align makeup page in ConTeXt?

I have a minimal example \usemodule [simplefonts][size=12pt] \setmainfont[dejavusans] \definemakeup[titlepage] \starttext \startmakeup[titlepage] {\tfd Title at top} \stopmakeup[titlepage] ...
4
votes
2answers
399 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 ...
3
votes
1answer
156 views

Compile metafun book with ConText (getting a cover-like)

Anyone knowns how to create (please sample code) a cover page like this?: http://context.aanhet.net/general/manuals/metafun-p.pdf The sources are available from: ...
2
votes
1answer
78 views

ConTeXt: Ignore stem height

Background Looking to create a stylized chapter heading using the first character of the heading title. Problem The stem (descender) distance of text causes the containing frame's offset to alter ...
3
votes
1answer
215 views

ConTeXt: Scale font for text based on maximum width

Background Looking to devise a scaling factor for two fonts such that the text, when added to the final document, fits on one line. Example In the images below, the two fonts are the first ...
3
votes
1answer
131 views

Error when compile Simple Slide at ConTeXt ? (ConTEXt)

I have problem about compile Simple Slide at ConTeXt, and my MWE like this \usemodule[simpleslides][style=Boxed,color=red] \setupTitle [ title={Title of the presentation}, author={Name of ...
1
vote
0answers
101 views

How to use StyleSlide at Simpleslides ? (ConTeXt)

I am very interesting use Simpleslides and My MWE like this : \usemodule[visualcounter] \usemodule[simpleslides][style=Swoosh] \setupTitle [ title={Simple Slides?}, author={Hirwanto}, ...
4
votes
1answer
75 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 ...
11
votes
1answer
221 views

standardmakeup layer in ConTeXt

Need to place a PDF file as a watermark behind the title page and part break pages. These have been laid out using \standardmakeup. Have created the layer and can place it on a normal text page but ...
4
votes
1answer
98 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
226 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 ; ...
9
votes
1answer
522 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 ...
3
votes
1answer
463 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
1answer
116 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 ...
6
votes
1answer
330 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 ...
26
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 ...
3
votes
0answers
195 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=] ...
6
votes
1answer
211 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
113 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
1answer
177 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 ...
6
votes
1answer
222 views

No gridding for a single paragraph (ConTeXt)?

Is there a possibility to deactive grid=yes in the text for a single paragraph only? It should be something like \nogrid{ paragraph.... }. There is \placeongrid{} - but this does not allow ...
1
vote
0answers
107 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 ...
3
votes
1answer
234 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 ...
4
votes
1answer
324 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
207 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 ...
3
votes
1answer
128 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 ...
4
votes
1answer
150 views

Bad layout with both lettrine module and builtin initals in two column setup in ConTeXt

I am seeing broken positioning of letters produced by the lettrine module. Here is my MVE: \setuppapersize[A4][A4] \usemodule[lettrine] \definehead[recipe][section] \setuphead[recipe][ ...
2
votes
1answer
360 views

Unicode works in mkii but not in mkiv

I have been using texexec which, as I understand it, is mkii. I have several documents that have unicode in them and typeset perfectly using texexec. However, texexec seems to have trouble with ...
4
votes
0answers
99 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
170 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
160 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
204 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
98 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
76 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 ...
3
votes
0answers
127 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
132 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 ...
2
votes
1answer
213 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 ...
0
votes
1answer
198 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
0answers
313 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
85 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 ...
0
votes
2answers
234 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 ...
4
votes
1answer
192 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 ?”