Skip to main content

Questions tagged [context-lmtx]

The newest version of ConTeXt, based off of the new LuaMetaTeX engine. Intended as a replacement for the older MkIV version, LMTX is still in development. ConTeXt LMTX is not available in TeX Live or MiKTeX, and must be manually installed. Questions with this tag should also use the [context] tag.

Filter by
Sorted by
Tagged with
2 votes
1 answer
52 views

ConTeXt: Drop caps with quotation mark

Background When typesetting drop-caps, if the opening sentence starts with a quotation mark, apostrophe, or single quotation mark, the leading character is typically rendered in a smaller font. For ...
Dave Jarvis's user avatar
0 votes
1 answer
27 views

ConTeXt - how to make a cloze test compatible with \starttyping...\stoptyping

I have written an environment for cloze test worksheets as follow : \def\AnswerLines#1#2{ \startmode[solution] \blank\hrule\blank\color[darkblue]{#1} \stopmode \startnotmode[solution] ...
Jean-Marc BERROU's user avatar
2 votes
1 answer
47 views

How can I align things in a multiline equation (ConTeXt)

I am converting my docs to the new (to me) ConTeXt LMTX. A code such as \starttext \startformula \startalign[n=6,align={right, middle, middle, middle, middle, left}] \NC 1 \...
Jean-Marc BERROU's user avatar
2 votes
1 answer
84 views

How to properly input mp files in MetaFun?

In my ConTeXt project I have a long .mp file that I want to divide into several sub-files and make it library-like. For that purpose I load the initial file with \startMPinclusions input path/to/...
q6tDCWto's user avatar
1 vote
1 answer
27 views

ConTeXt: Center-aligned page number in footer at the start of Chapter or Title and right-aligned them in header elsewhere

I hope the question is self-explanatory. I typeset the page number using: \setupindenting[yes, 1em] \setuppagenumbering[location=header,alternative=singlesided,style=mediaeval] \setupheadertexts[\...
Muhammad Rizqi Siregar's user avatar
2 votes
1 answer
168 views

ConTeXt unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'

Updates & Inclusion of info asked in comments: (in reverse chronological order) 4. (self) Run logs after cp texlivecnf.lua texmfcnf.lua On looking at selfautoparent:/texmf-context/web2c/ (as the ...
user8395964's user avatar
2 votes
1 answer
60 views

ConTeXt: use chapter headings in a column set

I recently started to use the column sets \startcolumnset[TwoColumns] in a document. But in combination with chapter headings. I failed to restrict the start of the column lines below to the second ...
Marco Mayer's user avatar
1 vote
1 answer
76 views

ConTeXt: Placing images with consistent height on grid

While creating a layout for a brochure, I started to think about placing images on a page with a consistent height. I've got a bunch of 15x10cm images ready as PDF files. In a DTP application I would ...
Marco Mayer's user avatar
0 votes
1 answer
45 views

ConTeXt: Remove whitespace between Chapters in Table of Context

I need to remove whitespace between Chapters in Table of Content, but keep the space between frontmatter and bodymatter. Can anyone enlighten me how to do this, please? I am writing book that only ...
Muhammad Rizqi Siregar's user avatar
0 votes
1 answer
81 views

how can I use the Metapost language in LuaLatex to set watermark for page?

I am completely new to ConTeXt and have just started to experiment with writing metapost directly within ConTeXt. In ConTeXt , I use the following Metapost code to set watermark for one page and my ...
青山漫步's user avatar
1 vote
1 answer
206 views

ConTeXt: Adding a page border with two lines

Recently I've tried to add a simple double page border to a document in ConTeXt (with mtx-context version: 2023.09.26 18:19). E.g. more formal cover pages or documents might use something like that. ...
Marco Mayer's user avatar
3 votes
2 answers
142 views

Getting ConTeXt' \documentvariable into LuaTex

I've been trying my luck getting into LuaTeX with ConTeXt. I have a document that has some custom variables in its \startdocument variables (the ones you get with \documentvariable). Say something ...
acidrums4's user avatar
  • 416
2 votes
2 answers
100 views

How do I create a linked reference to a page that is an arbitrary number of pages after a specific label?

I am typesetting a ConTeXt document that contains an addendum of included PDFs (using \copypages). I've added labels to the first page of each included PDF in the addendum using \reference. I would ...
J. King's user avatar
  • 369
2 votes
1 answer
113 views

ConTeXt: Pass text value into text background graphic

Background Looking to draw dynamically-derived text as a "legend" for a paragraph that spans multiple pages. Version: 2023.07.18 22:07 Problem The text doesn't appear where desired. Code ...
Dave Jarvis's user avatar
0 votes
1 answer
221 views

ConTeXt: Round corner for fieldset with title

Background I'm looking to stylize an HTML fieldset-like environment to would allow consecutive "concurrent" sections to appear in the document. Using version 2023.07.18 22:07. Output Example ...
Dave Jarvis's user avatar
1 vote
1 answer
30 views

ConTeXt: Increment user page number for TEX page

Background A few different start/stop environments insert a TEX page. ConTeXt Version: 2023.07.18 22:07 Problem The TEX page doesn't increment the user page number. Code For example: \definestartstop[...
Dave Jarvis's user avatar
5 votes
1 answer
312 views

How to use Helvetica with Euler Math in ConTeXt?

I want to typeset my ConTeXt document in Helvetica 11pt with Euler Math for mathematics. The following seems to work \setupbodyfont[heros,11pt] but I am not sure how to deal with Euler fonts.
user avatar
5 votes
3 answers
287 views

How to get image-based lettering

How can we get this effect in LaTex/ConTeXt?
青山漫步's user avatar
2 votes
1 answer
91 views

ConTeXt: Protect the lettrine (initials/drop caps)

Background Using KeenWrite Themes (specifically, the Boschet theme) to typeset a chapter, with the first letter being a lettrine. This is invoked using \placeinitial without any context (i.e., it is ...
Dave Jarvis's user avatar
2 votes
1 answer
141 views

In ConTeXt, how do I vertically align frames on the bottom line of text in each frame?

Using ConTeXt, I am trying to align the text in two \framed boxes vertically. I am hoping that the bottom text line of the first \framed aligns perfectly with the bottom text line of the second \...
J. King's user avatar
  • 369
0 votes
0 answers
79 views

how can I achieve a similar effect in ConTeXt

I am completely new to ConTeXt and have just started to experiment with writing metapost directly within ConTeXt. In Latex , I can use the tcolorbox macro package to achieve the effect of output on ...
青山漫步's user avatar
4 votes
1 answer
172 views

How to achieve the effect of tcolorbox macro package in ConTeXt?

I am completely new to ConTeXt and have just started to experiment with writing metapost directly within ConTeXt. In Latex , we use the tcolorbox macro package to achieve the effect of code on the ...
青山漫步's user avatar
1 vote
1 answer
101 views

Coloring caption label in ConTeXt

I am trying to color the caption label and their numbering (e.g., Figure 2 and Table 1, etc.). As a side note, I also use other names for such labels (Gambar 2 instead of Figure 2, for example). I ...
Muhammad Rizqi Siregar's user avatar
1 vote
1 answer
216 views

Hyphenation of Bahasa Indonesia language in ConTeXt

I am trying to make ConTeXt do the hyphenations native to the Bahasa Indonesia language. I do not have any MWE, but I am relying on default English hyphenation and overriding incorrect hyphenation ...
Muhammad Rizqi Siregar's user avatar
2 votes
1 answer
81 views

ConTeXt: horizontal alignment with `t-vim` module

Is it possible to horizontally align t-vim module code blocks? I tried with \{start|stop}alignement like so \usemodule[vim] \definevimtyping[python][syntax=python] \starttext \startalignment[...
user avatar
0 votes
0 answers
90 views

What is the best way to display arithmetic operations in ConTeXt?

I know the best way would be to use xlop however, even if the result above was optained using it, there is some issues with ConTeXt. Some examples: \opadd[voperator=bottom]{123}{456.2} returns Yes......
user avatar
2 votes
1 answer
108 views

Study materials for automatic impagination with Context?

Here is the thing, I am working with a lot of catalogs but we are doing it, in my opinion, the wrong way! It is a mix of ancient catalogs made in Photoshop and newer ones made wrongly in InDesign. In ...
freezr's user avatar
  • 103
1 vote
1 answer
103 views

How to add support for another language (German) to the Words conversion in ConTeXt?

I would like to implement support for another language (German) for the conversion methods words and Words for converting numbers to words in ConTeXt. Having read the answers to this question I ...
Marcus C.'s user avatar
  • 755
2 votes
1 answer
93 views

ConTeXt LMTX causes compilation error when using \lineheight

Following up on another question, I recently installed the new LMTX version of ConTeXt (having worked with MkIV up to now) and found that this solved a few problems. However, the new version seems to ...
Marcus C.'s user avatar
  • 755
1 vote
1 answer
145 views

Using a narrow font in ConTeXt

I read up a bit on fonts: https://wiki.contextgarden.net/ConTeXt_distribution%27s_Fonts https://wiki.contextgarden.net/Font_Switching https://wiki.contextgarden.net/Command/setupbodyfont According to ...
xeruf's user avatar
  • 175
0 votes
1 answer
161 views

ConTeXt: Limit number of words

Background Every chapter title contains multiple words, but only the first two words are to be used elsewhere (e.g., page header). Problem I'm looking for a general word splitting solution that can ...
Dave Jarvis's user avatar
5 votes
2 answers
473 views

ConTeXt LMTX: Offset on page titles with MetaPost

I want to do some silly Metapost stuff with chapter titles, so set a command to begin with: \setuphead[chapter][command=\ChapterTitle] And on that custom command I threw the following to pass both ...
acidrums4's user avatar
  • 416