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

learn more… | top users | synonyms

13
votes
1answer
141 views

Which primitives does ConTeXt rename/move?

TeX's primitives can be renamed by macro formats/packages: this allows new/altered features or behaviours. Usually this is done such that the originals are still available ('renamed'): certainly ...
1
vote
0answers
29 views

Special layout with multi-page table in ConTeXt

I have a special layout of page to make. It contains blocks of text, a graph and tables. I don't know in advance the length of the tables in the document. I have a dummy two tables example to show ...
1
vote
0answers
120 views

ConTeXt: Bibliographies in current ConTeXt not working any more?

The "very basic example" of Bibliography mkiv fails to work using current version 2014.03.07 11:42. I put the code inside a tex file test.tex and the provided bibliography database inside sample.bib. ...
2
votes
1answer
61 views

ConTeXt: Custom register formatting

Background Looking to reproduce custom registers that resembles: Index entries are added using: \setregisterentry[index][entries={Kenji Fujimoto}][ title={Maguro}, author={Kenji ...
3
votes
0answers
59 views

ConTeXt: Double or Triple Hyphen are Interpreted inside Verbatim Blocks

For example: \definetyping [code] [numbering=line, bodyfont=small, before={\startframedtext[width=\textwidth]}, after={\stopframedtext}] \startcode <-- \stopcode will produce < ...
1
vote
1answer
42 views

ConTeXt: Retain ToC Hyperlinks using alternative command

Background A custom Table of Contents entry was suggested to move page numbers from the right-hand side to the left-hand side. Problem The custom command loses ToC hyperlinks. I have tried to ...
0
votes
0answers
53 views

ConTeXt: Substitute em-dash for double-hyphens

Background I am trying to substitute an em-dash for double-hyphens (--) whenever they occur in user-generated text. The fonts that I am using (Chivo and Gentium Basic) result in double-hyphens added ...
6
votes
3answers
78 views

How to get the current directory name in ConTeXt?

Assume the file, source.tex is placed in /home/user/Birds/ and the user types context source.tex to compile the file. Is there a way for ConTeXt to retrieve the name of the folder that the file is ...
5
votes
1answer
84 views

ConTeXt: Font change shifts column content

Background I would like to place balanced itemized lists inside a two-column layout. Problem Changing the font affects the balanced layout; the fonts are: Chivo Gentium Basic Code The ...
4
votes
2answers
88 views

ConTeXt: Columnar section titles, floats, and images

Background Regarding floats in columns, the wiki states: By default, a title will be moved down to appear below a float, it will not be "wrapped" around a float like normal text. Problem The ...
0
votes
1answer
46 views

ConTeXt: Left-justify text to overlap hidden/disabled frame border

Background Looking to left- and right-align text in a footer. Problem The following image shows that the word "Betasec" is not left-aligned with the black horizontal line above it: I believe ...
2
votes
1answer
63 views

What is the correct way to create slanted text in ConTeXt?

I need to write some romanized foreign words within a passage of English text. Generally, such words should appear as slanted text. I created this simple document and noticed that while both \it and ...
3
votes
1answer
47 views

How to make footnote numbers invisible in ConTeXt?

I need to put some comments in the footnotes area in a document, but without any note numbers appearing. I've tried several things, including \footnote[numbercommand={}]{This is the footnote}, but ...
1
vote
1answer
87 views

ConTeXt: Change location of page numbers in table of contents

Background Looking to place the page number on the left of each section heading in the frontmatter's table of contents, similar to the following (where "Title Here" is a section title and the page ...
3
votes
2answers
123 views

ConTeXt: How to redefine the euro sign glyph?

Introduction I am writing a document using the TeX Gyre Pagella font. Unfortunately, the glyph for the euro sign (UTF-8 character U+20AC) in this font does not comply with the official euro sign ...
1
vote
1answer
53 views

How to place figure relatively to other figure in ConTeXt?

I have two figures. I need to place first figure with width=10cm and then place second figure with same width but it's center must be shifted to right by 9cm and down by 5cm relatively to center of ...
1
vote
1answer
125 views

ConTeXt: Keep title on same page with next paragraph

I have a document with many chapters and sections. All my chapters starts with new page, but sections does not. Sometimes section title appears at the bottom of page alone, next paragraph starts with ...
2
votes
1answer
80 views

How to vertically center content of page without makeup in ConTeXt?

I need to vertically center the content of page, content is forced to be on a separate page (delimeted with \page command). previous page content \page this content must be verticaly centered on ...
2
votes
0answers
55 views

Is there a documentation for \setupTABLE?

I need to know which parameters can be passed to \setupTABLE command. Is there any documentation or can it be extracted from source ?
1
vote
1answer
71 views

ConTeXt: Embed forward referenced figure

Background Looking to recreate the following fancy table of contents where a limited number of images in the ToC are selected at random from all the figures included in the document, without ...
1
vote
0answers
59 views

How to insert hyperlink to web site in ConTeXt?

I need the analogue of latex's \href in context. I need a link when clicking on which pdf viewer would open a browser with it's url.
3
votes
2answers
97 views

metapost, metaobj and labels

I found this trick posted by Aditya some time ago that allowed to use metaobj in context. Currently this code no longer works. Currently, are there any way to use metaobj in context? The main problem ...
1
vote
0answers
50 views

How to render ConTeXt source code example with rendered result in ConTeXt

I need to place source code example in ConTeXt with compiled result. code: ConTeXt code example result: compiled result I can do it like that: \mainlanguage[ru] \usemodule ...
2
votes
1answer
61 views

How to place footnote under TABLE in ConTeXt?

I need to place footnotes, declared inside \bTABLE \eTABLE, just under the table, delimited with a short rule. |----------| | table | |----------| _______ *footnote I also need to \placetable ...
1
vote
0answers
31 views

Scale figure to remaining page height in ConTeXt [duplicate]

I have a page with some content on it and some remaining space at the bottom of this page. |=========| | header | |---------| | | | page | | content | | | |---------| |remaining| ...
2
votes
1answer
179 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 ...
2
votes
2answers
91 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
48 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
43 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
86 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
149 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
152 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
0answers
129 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
62 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
134 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
2answers
198 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
115 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
121 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
124 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
260 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
208 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
116 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
1answer
318 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
172 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
368 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: ...
1
vote
1answer
310 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
66 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 ...
3
votes
1answer
274 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
106 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 ...