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

learn more… | top users | synonyms

5
votes
1answer
195 views

How do I create unequal column widths using columnsets?

I would like to create a columnset where the first column is wider than the others. I understand that column breaks become complicated in such an environment. The ConTeXt columns manual claims to ...
2
votes
1answer
11 views

Setting background color to text in ConTeXt (Mark IV)

I need to highlight some text in ConTeXt to get something like this: Concerning background colors, all I've found in the manual is some example with \framed command, which is inappropriate to me ...
5
votes
1answer
31 views

Combining font switches in ConTeXt

I would like a set of macros to switch the font alternative in ConTeXt, to either italics, slanted, or bold, and I would like them to combine in an intuitive manner, similarly to LaTeX's \textit and ...
10
votes
1answer
250 views

Missing Arabic Ligature due to diacritical marks in ConTeXt MarkIV

I am having an issue with Arabic Font Ligatures showing discrepancy between ConTeXt and XeLateX, when using the same font namely Scheherazade. The issue is not present when using XeLateX but only ...
2
votes
2answers
42 views

Is it even possible to rotate the whole 'text' frame on a ConTeXt document?

This is 100% curiosity. Just came to mind if there's possible to rotate to some degree the whole text frame of a ConTeXt (Mark IV) document. I guess the \rotate command would do the trick, but I ...
7
votes
0answers
96 views

ConTeXt: uppercase ß, customizing glyph substitution

I've been trying to get a capital ß out of ConTeXt in contexts where automatic uppercasing is meant to happen, and get strange results. I am very new to ConTeXt. Also, I don't like the oldtsyle ...
6
votes
0answers
88 views

ConTeXt: Font weights

Is there a canonical way to access font weights other than regular and bold in ConTeXt? This does not work: \definefontfamily [myfamily] [serif][Calluna] \definefontfamily [myfamily] [sans] [Calluna ...
22
votes
2answers
622 views

Will I miss something if I start using ConTeXt instead of pdfLaTeX/XeLaTeX/LuaLaTeX+ TikZ?

I am fairly used to TikZ/pdfLaTeX. Only recently I have started using ConTeXt. I like context because of consistency of style in macros. TikZ support is also available in ConTeXt. I stand to gain from ...
2
votes
1answer
91 views

Putting a plus symbol in the index in ConTeXt

I tried searching the mailing list for this but maybe I'm searching for the wrong thing. Basically, I have something I want to put in the index, but it has a plus symbol in it. ConTeXt interprets the ...
9
votes
4answers
18k views

How to sort the order of pages so that they can be printed in a folded book?

I am using ConTeXt to print a book. Each page is A5, but the print store can only print on A4 paper, so they print 2 pages on each side of the A4 paper. I used this code to specify the layout: ...
2
votes
0answers
62 views

Using typewriter font and turning off hyphenation in ConTeXt

I want to set the font for my entire document as a courier / typewriter font, so that it resembles a typewritten manuscript. This includes turning off hyphenation for the entire document. So far, I ...
3
votes
1answer
50 views

Draft mode in ConTeXt

Is there the draft mode in ConTeXt (to highlight overfull/underfull boxes and stuff)? If not, how can I re-create its features? I've searched through ConTeXt wiki and all I found is --draft ...
2
votes
1answer
52 views

User UTF-8 string in ConTeXt

I need to use input from a JSON inside my text. Sometimes it contains UTF-8 code. For example: Belgi\u00e cre\u00ebren How can I use such string in ConTeXt LuaTeX, so the result is a correctly ...
1
vote
1answer
75 views

How to write Japanese with ConTeXt?

Would you mind explaining to me why the following ConTeXt code does not work and how I can fix it? \mainlanguage[ja] \definefontfamily[mainface][serif][Heisei Mincho ...
2
votes
1answer
57 views

Page Numbers are displayed in reverse such as 21 for page 12 in ConTeXt MarkIV

I am trying to typeset a book in arabic in ConTeXt. I have stumbled upon this issue Page Numbers change after 9 to 01 for page 10 21 for page 12 31 for page 13 41 for page 14 and so on The issue ...
5
votes
2answers
112 views

ConTeXt MarkIV : Arabic Letters are disjointed and reversed in headers and margin

I am trying to get Arabic Chapter Name in the header and some arabic text in the margins using ConTeXt MarkIV Here is the MWE: \mainlanguage[arabic] \setupdirections[bidi=global] \definefontfeature ...
1
vote
0answers
38 views

Is it necessary to use nonstopmode in ConTeXt? [closed]

Is it necessary to use --nonstopmode in ConTeXt or using --once is enough ?
2
votes
0answers
39 views

Changing the itemize marker location in Context

When manually defining the itemize marker with Metapost, the location of the marker appears to be quite low (see picture, the pink line added to highlight the problem). It looks rather ugly, and I'd ...
4
votes
0answers
80 views

Dealing with slightly overfull \hbox's

Generally, how do you deal with lines that are slightly overhung, when microtypography is already enabled, and there's no way of hyphenating the hanging word and no desire to put it on the next line, ...
3
votes
1answer
105 views

TikZ causes blank page in front of ConTeXt makeup with grid layout

Consider the following MWE: \usemodule[tikz] \setuplayout[grid=yes] \starttext \startstandardmakeup Not nothing. \stopstandardmakeup \stoptext The output contains two pages: an unexpected and ...
15
votes
2answers
1k 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 ...
5
votes
1answer
81 views

ConTeXt scaled headline with hanging/protrusion

I'm using \scale to scale up a headline to the width of the entire paragraph, like so: \def\scaleHead#1% {\scale[width=\textwidth]{#1}} \setuphead[subject] [textcommand=\scaleHead] \subject{Call me ...
3
votes
0answers
37 views

Switch to landscape for one or more pages in ConTeXt

I tried the following code. I cannot figure out why the page size remains the same. As such, the papersize remains A4 portrait instead of switching to landscape. \definepapersize[standing][A4] ...
1
vote
0answers
15 views

How to use \page[quadruple] while having a cover as last page in ConTeXt?

I am creating a personalised magazine in ConTeXt-LuaTeX. It has a cover (that what you can see before opening the magazine), existing of two .pdf files. It contains several chapters adaptive text, ...
2
votes
1answer
47 views

Blanks before redefined heads not working in ConTeXt

As you can see in the following code, I am trying to put some blank space before the heads I have redefined, yet as shown by grid, no blanks are being shown. \setuppapersize[A5] ...
1
vote
0answers
15 views

placefigure left to paragraph inside columnset in ConTeXt

I would like to have a dropcap which is an image and use it's actual size (rather small) instead of specifying a number of lines (as lettrine does). I came up with a somewhat working solution using ...
2
votes
1answer
52 views

Wrong subsection markings in header with ConTeXt MkIV

I am trying to have simple subsections titles like "Chapitre 1", "Chapitre 2" etc... with corresponding mark being the number only, but my example below seems to not give correct markings output in ...
2
votes
0answers
56 views

Advanced markings in ConTeXt Mk IV

Is there a way to somehow get all markings defined on one page (writing some lua code for example) ? The idea is to collect marks related to all titles (say sections and subsections for example) on ...
3
votes
1answer
68 views

Setting paragraphs inside \setlayer

I am trying to use layers to define a letterhead, but I am finding that text set using a \setlayers command often is set as a single paragraph, even when explicit paragraph layout commands are used, ...
3
votes
1answer
149 views

Copy-and-paste small-caps with ConTeXt and simplefonts

I am trying to typeset some text with small caps in ConTeXt (mkiv — version 2015.05.18 12:26), and have that text available for copy–and–paste. Here's a minimum problematic setup: % !TEX encoding = ...
2
votes
1answer
174 views

How do I fallback to a different font for missing glyphs in ConTeXt?

I have auto-generated input with mixed language data (don't ask) that I need to typeset. Thankfully there will be no more than two languages at a time and I will know what the two languages will be, ...
2
votes
1answer
99 views

Using Metapost for titles in Context

I'd like to use Metapost to format my titles like this (not exactly like this, so no need to complain about design issues :)): The problem is that when I try to use the following macro I get an ...
1
vote
1answer
65 views

Integrating lua-generated Metapost graphics in Context

Normally we can integrate Metapost graphics in Context with the use of \startuseMPgraphic{id} and \useMPgraphic{id}. The idea is to define the graphics somewhere and use them somewhere else. However, ...
3
votes
1answer
69 views

Adjusting the counter of \startitemize environment

I tried to find this answer on tex.stackexchange.com, the ConTeXt Garden wiki and the ConTeXt reference manual, and I feel like I must be overlooking something simple. Basically, I have a list of ...
5
votes
3answers
194 views

ConTeXt system font search path

I read from the official manual (http://wiki.contextgarden.net/Fonts_in_LuaTex#How_LuaTeX_handles_system_fonts) that I need to export OSFONTDIR="/usr/local/share/fonts;$HOME/.fonts" to specify where ...
0
votes
0answers
78 views

How do you set AUCTeX so that it displays the compilation buffer in a new frame?

I'm using AUCTeX with Aquamacs to work with ConTeXt. When I compile the document, it results in a split window with the compilation output displayed in the lower window. If I tell Aquamacs to show ...
4
votes
1answer
140 views

ConTeXt only finds one font style in .ttc file

I've been trying to use a couple of my Mac system fonts in my document, and I'm finding that ConTeXt is only finding one style for a couple of the fonts I've been using. The ones I've tried are ...
9
votes
1answer
270 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 facilities but I also want to use several LaTeX packages (crossword and xskak in ...
4
votes
1answer
55 views

Calling start/stop letter environment inside luacode block

I'm creating a letter using the ConTeXt letter module, and I want to process an external file within Lua and change some of the letter setup and text based on the data in the external file. I'm ...
1
vote
2answers
89 views

How to implement a specific head or top like this in conTeXt?

all I want to use conTeXt for writing my resume, I found the head like the red area very awesome, but I don't know how to implement it, or what elements I should use to do it? After reading ...
0
votes
0answers
51 views

conTeXt Mkiv: the number of parameters can not be more than 9?

For testing, I have a definition: \define[9]\DEFINETEST{#1,#2,#3,#4,#5,#6,#7,#8,#9} context test can work fine, when I modify the above into: \define[10]\DEFINETEST{#1,#2,#3,#4,#5,#6,#7,#8,#9,#10} ...
1
vote
0answers
42 views

conTeXt: What should I do for compile a tex file when I have two different types of modules?

For resolving my previous question , according to [AboAmmar's answer] (http://tex.stackexchange.com/a/253658/81323), I must create a separate file m-resume.tex and use command texexec cv.tex to ...
1
vote
1answer
100 views

why the year “2007” can not be displayed in my generated pdf after compiling “http://wiki.contextgarden.net/Curriculum_Vitae”?

I want to use the resume template m-resume.tex and cv-resume.tex, and downloaded it, combined the two files into one file called resume.tex, and then used conTeXt mkiv's command context to compile it ...
4
votes
1answer
275 views

what is meaning of “\hbox to \hsize” in ConTeXt?

In many tex, I saw \hbox to \hsize, such as: {\hbox to \hsize \bgroup \hfill \setupframed[height=5cm,offset=.5em,frame=off,backgroundcolor=red] \framed[width=12cm,align=left]{#1}% ...
4
votes
1answer
79 views

\usepackage{preview} equivalent for ConTeXt?

I would like to create a ConTeXt document cropped around a single \starttikzpicture \stoptikzpicture. How to achieve this by letting TeX infer the page size from the box dimensions?
2
votes
0answers
28 views

Why is there a left-shift in ConTeXt's \setuparranging

In this page arranging example, why don't the green lines align with the black lines?
4
votes
1answer
97 views

How to print page number over page containing \externalfigure in ConTeXt?

I'm trying to merge a full size PDF page into my document and then to print the page number over the top in the normal position. I've read the page on the wiki about inserting PDF pages ...
7
votes
1answer
156 views

Change font for math functions (sin, log, etc.) in ConTeXt MkIV?

When I’m using the Euler font for math, I notice that since Euler is upright, the font for math functions like sin, cos, and log is identical to variables. Is there a way to change the font for math ...
2
votes
2answers
125 views

ConTeXt table row vertical fill page

Is there a way to have a bTR for ConTeXt fill a page vertically? I want to have a full-page table, with both width and height filled. Given e.g. \bTABLE \bTR \bTD One \eTD \eTR \bTR \bTD ...
3
votes
2answers
229 views

Dagger symbol in math mode in ConTeXt with Euler font?

I followed this answer to use the Neo Euler font in math mode. I found that the dagger symbol (†) is missing in Euler. Is there a way to use the dagger symbol from the text mode font in math mode? ...