Use the {context-mkiv} tag if ConTeXt Mark IV answers would be helpful.

learn more… | top users | synonyms

2
votes
1answer
330 views

ConTeXt: Change the default text colour for entire document

Background I am looking to change the text colour for a document from black to a different dark colour. Problem The documentation shows how to change individual colours for a text document, but ...
3
votes
2answers
177 views

How to place two (or multiple) figures in a row with same height in ConTeXt?

I need to place several figures with different aspect ratios in a row using ConTeXt. I also need their heights to be equal, but summary width of pictures to be \textwidth. Height of pictures must ...
2
votes
1answer
64 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
1answer
61 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 ...
1
vote
1answer
137 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
194 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 ...
5
votes
1answer
178 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 ...
1
vote
1answer
158 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. ...
3
votes
1answer
227 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 ...
5
votes
1answer
72 views

Why can't we use a \define'd value as a parameter to \switchtobodyfont[…]?

This is a followup to the question Are \def and \define the same in ConTeXt? This snippet of code in mkiv ConTeXt (TeX Live 2013 version): \define\smallfontsize{8.1pt} \starttext foo ...
0
votes
2answers
186 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
2answers
385 views

How can I list fonts available to LuaTeX in ConTeXt (TeX Live 2013)?

I've looked at How do I get a list of all available fonts for luaotfload?, but the answers don't work for me in TeX Live 2013, at least not without LaTeX. This is because there they rely on the file ...
2
votes
0answers
163 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
153 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
170 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
519 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 ...
6
votes
3answers
447 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
2
votes
1answer
150 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 ...
1
vote
0answers
438 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 ...
1
vote
1answer
201 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
501 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
49 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: ...
1
vote
1answer
449 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, ...
1
vote
1answer
72 views

How to teach ConTeXt to recognize and format custom syntax?

I have a document filled with editor's comments, appearing like this: \starttext This [is ]some text with comment[s] added to show corrections to erro[r]s. \stoptext I need to make ...
4
votes
1answer
327 views

ConTeXt: Wrapped text misbehaves at page breaks

On this site, a solution for text wrapping based on descriptions in Pandoc-generated ConTeXt documents was previously formulated. Although satisfactory for a one-page minimum working example, the then ...
3
votes
1answer
128 views

How to manually increment the chapter number in ConTeXt?

I need to manually adjust the chapter number in a book, so that three chapter numbers are missing. \starttext \chapter{Birds of Africa} \chapter{Birds of Australia} \stoptext "Birds of ...
3
votes
1answer
251 views

ConTeXt: How to increase line-spacing in title?

Pandoc generates ConTeXT document titles using a standard simple scheme that sets the title in \tfd. I already changed the default font and size of \tfd. However, when a title is so long that it ...
4
votes
1answer
170 views

ConTeXt: How can I prevent a block of text from being split over a page break?

At the end of below minimum working example there is a funny \startdelimitedtext[endtext] which should be printed at the bottom of the last page without being split over a page break. How do I render ...
1
vote
1answer
264 views

ConTeXt Standalone installation problem under Debian GNU/Linux

I am trying to install ConTexT Standalone under LMDE, a Debian GNU/Linux operating system. I followed the system-wide installation instructions step-by-step without any problem. Except for the final ...
2
votes
1answer
53 views

Is there a ConTeXt command to print the path of the file in which it is evoked?

I would like to put a URL-link in the output PDF of a ConTeXt file. It should point to the directory in which the ConTeXt file and its output PDF reside. Currently, I am using a shell script in my ...
4
votes
1answer
211 views

How hard is it to use typo-dir.lua in LaTeX?

I tried to use typo-dir.lua from ConTeXt distribution in LaTeX but I could not. I searched all context sources and I added all missing functions but still it did not work. Is it possible to use this ...
14
votes
2answers
344 views

Devanagari/Indic in LuaTeX

As I gather from the mailing lists, LuaTeX is currently unable to render devanagari properly because it doesn't understand the complex ligature rules involved. This is my experience with test ...
6
votes
1answer
112 views

How can I report a bug in ConText?

I searched on wiki.contextgarden.net and www.pragma-ade.com, but could not find anything.
5
votes
2answers
464 views

ConTeXt: Figure scaling to width and text wrapping for Pandoc-generated documents

Consider the following Pandoc-generated ConTeXt document: \setuppapersize [A4][A4] \setuplayout [width=middle, backspace=1.5in, cutspace=1.5in, height=middle, topspace=0.75in, ...
3
votes
1answer
425 views

ConTeXt: How to change the background color and border of a Pandoc-generated blockquote?

Consider the following minimum working example containing a blockquote as defined in a Pandoc-generated document: \setuppapersize [A4][A4] \setuplayout [width=middle, backspace=1.5in, ...
1
vote
0answers
79 views

How to prevent page breaks from appearing at the point where a sub-itemized list begin in ConTeXt?

I have a lengthy document containing lots of itemized lists, in two levels. It is like this, but often much longer: \startitemize[r] \item This is a statement. \startitemize[n] ...
3
votes
1answer
68 views

How to place an “Ex.” item at the beginning of an itemized list in ConTeXt?

I created a macro which displays an list of numbers, where readers can write in their answers to a question. \def\answers{ \startitemize[n] \docursive{3}{\item} \stopitemize } In ...
2
votes
1answer
242 views

How to invert direction of brackets (for a right to left text) in ConTeXt?

The Unicode Bidirectional algorithm mandates that the glyph for the character "left parenthesis" (and many others) be inverted when displaying text in RTL direction. However I am trying to typeset in ...
4
votes
1answer
128 views

ConTeXt: Wrong mathmatrix spacing between rows in startalign-environment

When using a mathmatrix (e.g. for vectors) in between \startalign and \stopalign, the spacing between rows becomes too large. I'm running Mark IV and the problem exists on live.contextgarden.net as ...
5
votes
1answer
79 views

Apply columns to sections without explicitly bracketing each section

Background Creating a document that can have zero-, two-, or three-column layouts, depending on user preferences. I would like to keep the content clean of \columnsets by redefining only the sections ...
6
votes
2answers
185 views

Eliminate topspace and bottomspace in ConTeXt

Background Looking to put the page number flush to the bottom of the page using ConTeXt. The key lines in the Minimum Working Example (MWE) below are: \setuplayout[ topspace=\zeropoint, ...
3
votes
1answer
97 views

Alignment issues with lists in a table in ConTeXt

This issue has been answered many times for LaTeX, but I couldn't find any explanation for ConTeXt. Here is a sample that shows the alignment problem : \starttable[|cB|p(4cm)|p(4cm)|] ...
3
votes
1answer
198 views

Sort bibliography entries in alphabetical order by the entries' “short” value

How can the bibliography list entries be sorted in alphabetical order using the s ("short") field of the publication entries in the example below? I don't want to use a BibTeX file, but the ...
5
votes
1answer
200 views

How to change the font formatting in the text and numbers of footnotes in ConTeXt?

I have a document with two different types of footnotes, \noteone and \notetwo, defined with this: \definenote[noteone][footnote] \definenote[notetwo][footnote] For these two footnotes, I need to ...
5
votes
1answer
199 views

Indented block in ConTeXt

I need to write pseudocode in ConTeXt. Since there is no documentation of the t-algorithmic module, and because I don't have so much to write, I decided to format the code myself. Here is what I ...
16
votes
3answers
776 views

Rounded box around placeholder text that supports line breaking

I want to draw a rounded box around a piece of text like that: The left and right borders should be half circles and line breaking should be supported. This my code so far: \setuppapersize[A7] ...
3
votes
1answer
121 views

How to set section numbers to use whole numbers, rather than decimals, in ConTeXt? [duplicate]

I have a document like this: \setuphead[part][placehead=yes] \definestructureresetset[default][1, 0, 1, 0][1] \setuphead[sectionresetset=default] \starttext \part{Animals} ...
3
votes
1answer
274 views

List all TypeScripts in ConTeXt

A TypeScript (as opposed to a font) contains font definitions for the individual font styles (regular, sans, math, etc. and bold, italic, bolditalic, etc.). I can list all the fonts with mtxrun ...
2
votes
1answer
112 views

ConTeXt: arbitrary Unicode code point

How to print a glyph by Unicode code point? i.e. what is the ConTeXt equivalent of the following LaTeX (displaying a capital Alpha): \symbol{"0391} % hex \symbol{913} % dec \symbol{'1621} % oct
5
votes
1answer
107 views

How to place section titles in the header, but not in the document?

I need to place some \part titles within my document, but make them invisible in the text, and only appear within the table of contents and headers. With this code, the \part titles are not found ...