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

0
votes
0answers
46 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
88 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
101 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
159 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
129 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
120 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] ...
1
vote
0answers
139 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
196 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
70 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
143 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
153 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
43 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
155 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
178 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
105 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
451 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
133 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
133 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
39 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
146 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 ...
8
votes
1answer
367 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
325 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
283 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
89 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
151 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
156 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
182 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
168 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
175 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. ...
5
votes
1answer
96 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 ...
5
votes
1answer
300 views

Conditional column break in ConTeXt

Background Trying to determine whether a column break must be inserted on a two-column page. There are multiple sections on the page. Before the last section on the page, I want to insert a column ...
2
votes
1answer
146 views

Make ConTeXt ignore system-fonts?

How can I make ConTeXt ignore my system-fonts? Currently, ConTeXt scans and uses all system fonts (all the files in the font folder of windows 7) first and the fonts in the ConTeXt folder second. I ...
2
votes
1answer
127 views

Currency/number formatting in ConTeXt

I am stuck trying to format numbers particularly currency. I assume I need to define something so that I can say \mynum{$234234} and this is then typeset as $ 234 234.00 for instance. From what I ...
3
votes
1answer
133 views

How to wrap text around framed floats in ConTeXt?

The goal is to embed an image into a coloured box with text. I tried with \placefigure and \starthangaround. They work fine outside a frame, but once put inside a frame the text collides with the ...
1
vote
1answer
368 views

Any advanced example of layout designing with ConTeXt?

I'm looking for an advanced example of layout designing with ConTeXt? I've checked reference manual and few another docs from contextgarden, but they show only simple, elementary things. I'm ...
9
votes
1answer
264 views

PDF Colour Space and ConTeXt

Background Trying to create a PDF that includes a vectorized cover page having transparent colours. I would like the PDF to have the same appearance in Acrobat Reader, Firefox PDF Viewer, Foxit ...
1
vote
1answer
183 views

LaTeX - ConTeXt converter or there and back again:)

I'm looking for some converter LaTeX -> ConTeXt and perhaps LaTeX <- ConTeXt (just in case). I can write simple script and implement translation of basic syntax, but perhaps someone did it?
2
votes
1answer
426 views

LaTeX + Memoir or ConTeXt MkIV?

Is it worth to migrate from LaTeX (with Memoir) to ConTeXt? I think about it, but I have few doubts: LaTeX + Memoir is a well documented team, while ConTeXt not, LaTeX + Memoir is a team that works ...
3
votes
0answers
48 views

Width-per-column not working in ConTeXt columnset [duplicate]

I'm trying to put some information and a table (\starttabulate...\stoptabulate) aside to a image, the image in the left column and the title and the table in the right column. So what I did is this: ...
2
votes
1answer
91 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 ...
2
votes
1answer
159 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
0answers
103 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
117 views

Macro to get character width in ConTeXt

Background Looking to adjust the location of the first letter in a word based on its width. Problem The calculation resembles: \define[1]\StyleChapterChar{% \cldcontext{string.sub("#1",1,1)}% } ...
3
votes
1answer
406 views

Expand background image to fill page in ConTeXt

Background Looking to make a background image scale to fill an entire page. Code I tried changing the dimensions of the page to fill the entire area and then drop in an external image: ...
3
votes
1answer
156 views

ConTeXt: Part, chapter, section, and subsection names

Background Looking to include the section within an index. Problem In LaTeX the nameref package allows coding a contextual macro called \currentname. This allows users to refer to the current ...
4
votes
1answer
99 views

Insert section title within index in ConTeXt

Background Each recipe in a recipe book has ingredients, and those ingredients can be common for different recipes throughout the book. For example: Code I've added the comma and colours as ...
3
votes
1answer
79 views

Use deeptextcommand and custom register in ConTeXt

Background Looking to emphasize the first letter of the index chapter title. Code The following code does not work as expected: \defineframed[StyleChapterFramed][ frame=off, ] ...
2
votes
1answer
139 views

Include custom index chapter title in table of contents in ConTeXt

Problem The following code is used to prevent pagination from being applied to the index: \setuphead[chapter,section][ number=no, page=yes, continue=no, ] \definehead[StyleIndex][chapter] ...
1
vote
1answer
348 views

How to fix in ConTeXt problems after pages and warning 'no GlyphToUnicode entry has been inserted yet!'

Is the warning no GlyphToUnicode entry has been inserted yet! exclusive of pdftex or is it caused by patches loaded by mkii or by using 'cont-sys.rme' instead of cont-sys.tex? The funny thing is, ...
3
votes
1answer
184 views

bug? unwanted gap in 2nd columnset

(Disclosure: I posted this question on the NTG ConTeXt mailing list before the weekend. I have not received any replies yet, so now I'm asking here.) We have a document where a gap occurs in a ...