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

learn more… | top users | synonyms

2
votes
0answers
28 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
36 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
66 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
35 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
29 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 ...
1
vote
1answer
65 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 ...
4
votes
0answers
68 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, ...
10
votes
1answer
186 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 ...
3
votes
1answer
95 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 ...
5
votes
1answer
71 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
27 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
12 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
40 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
11 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
44 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
50 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
65 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
116 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
124 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
78 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
58 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
60 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 ...
0
votes
0answers
58 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
126 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 ...
4
votes
1answer
45 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 ...
0
votes
0answers
48 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
40 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
95 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
185 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}% ...
1
vote
2answers
86 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 ...
3
votes
1answer
67 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
25 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
88 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
142 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 ...
3
votes
2answers
181 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? ...
3
votes
1answer
102 views

Listing with source code included from file in ConTeXt (with label and caption)

I would like to include listings with source code in ConTeXt MKIV and have a mechanism for labeling and referencing the listing and even being able to attach the code with useattachment. In LaTeX, I ...
4
votes
1answer
272 views

Footnote complete citation, plus ibid, op, cit., etc (in ConTeXt)

I need my citations to be in a footnote. I tried \footnote{\cite[alternative=data][bib_key]} but this can’t help me with ibid. or Author, op. cit. when required. Searching a little, I found something ...
3
votes
0answers
78 views

ConTeXt: Is there a way to show the \part heading? [duplicate]

I’m new to ConTeXt, and noticed that \part{Some title} (and neither \start part[title={Some title}]…\stoppart) will produce and output (besides an empty page with footer and header). Nevertheless, ...
2
votes
2answers
116 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 ...
1
vote
0answers
79 views

Pass parameters to ConTeXt \component, \product, etc

I would like to use, and it appears suited, the \component and related commands in ConTeXt. However, I would like to have multiple parameters to a given component e.g. \startcomponent X ...
1
vote
1answer
85 views

TikZ is colored despite having \setupcolors[state=stop]

In the following MWE I get a red square, but I want it to be gray, as in the also provided LaTeX-document: % ConTeXt MWE \setupcolors[state=stop] \usemodule[tikz] \starttext ...
1
vote
1answer
88 views

Error running Context texexec on Mac OSX 10.10, Ruby 2.2.0 Stable

When I try to run texexec on my context file I get the following error: texexec va.ctx /Users/davidsmith/context/tex/texmf-context/scripts/context/ruby/base/ctx.rb:120:in `manipulate': invalid byte ...
2
votes
1answer
41 views

Distance between the header and the title in ConTeXt's enumerations

I have defined in ConTeXt an enumeration for definitions: \defineenumeration[definition][theorem][ text={Definition}, prefix=chapter, way=bychapter, right=., titleleft=(, ...
4
votes
1answer
128 views

Metapost error related with ConTeXt

I try to reuse this code from fpast (Generating Random arrows in tikz) in context but I found a error message associated with the freelabel() function. If I try to add the labels with label() function ...
2
votes
0answers
299 views

Missing page numbers, first chapter only - ConTeXt

I am typesetting books in ConTeXt, and for some reason the first chapter is missing page numbers! There are correct page numbers in the frontmatter, and correct page numbers in the second chapter and ...
5
votes
1answer
174 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 ...
1
vote
0answers
119 views

ConTeXt: Prevent page break between heading and image

Using ConteXt, how could one prevent a page break between a heading and an image or text + image? For example, given: \section{With a Chart} \placefigure[here] {}{\externalfigure[Chart.pdf]} % or ...
2
votes
1answer
155 views

Why does ConTeXt fail to compile when using custom fonts and a bulleted list?

\starttypescript[serif] [titillium] \definefontsynonym[Serif] [file:Titillium-Regular] \definefontsynonym[SerifBold] [file:Titillium-Bold] ...
3
votes
0answers
145 views

How to embed fonts within a ConTeXt document?

I wrote a book using ConTeXt. I used a typescript to define the fonts. When compiled and viewed on my computer, the fonts appeared correctly. I sent my book to a printing place to have them print the ...
11
votes
1answer
187 views

Where to find a comprehensive overview of the features of the ConTeXt cite command?

I need to use the \cite command in ConTeXt very often for in-text citations in APA format, in a wide range of forms, e.g.: (Author, YYYY) Author (YYYY) (Author, YYYY, p. n) Author (YYYY, p. n) ...