Re: [NTG-context] LMTX install

2021-05-23 Thread jbf
To all who assisted me in thinking the problem through (permission errors): Bruce, Luigi, Benny, Hans, Werner. Thank you! Julian On 24/5/21 3:42 am, Bruce Horrocks wrote: I just setup a Mint virtual machine as a test and it all worked as expected so I'm not sure why you're having a problem.

Re: [NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-23 Thread Aditya Mahajan
On Sun, 23 May 2021, Hans Hagen wrote: > On 5/22/2021 6:15 PM, Aditya Mahajan wrote: > > On Sat, 22 May 2021, Hans Hagen wrote: > > > > > On 5/21/2021 9:37 PM, Nicola wrote: > > > > > > I have only a minor annoyance: I have just noticed that -- is typeset as > > > > an en-dash in LMTX (but not

Re: [NTG-context] Luatex format error

2021-05-23 Thread Hans Hagen
On 5/23/2021 9:28 PM, Hans Åberg wrote: Using TexLive 2021, I got the error below. How to fix it? What input file should one give? % context math_style.tex resolvers | formats | executing runner 'run luatex format': /usr/local/texlive/2021/bin/universal-darwin/luatex

Re: [NTG-context] Unwanted upright math in MkIV

2021-05-23 Thread Hans Hagen
On 5/23/2021 6:26 PM, Gavin wrote: Aditya, On Sun, 23 May 2021, Gavin wrote: Hello, I’m using ConTeXt with MacOS. The current version of MkIV produces upright math rather than italic. MWE: \starttext \m{f = \beta} \stoptext Works correctly here. What does context --version say? My

Re: [NTG-context] mathfun

2021-05-23 Thread Hans Hagen
On 5/23/2021 5:33 PM, Jairo A. del Rio wrote: Thank you a lot for the explanation! It makes more sense now and definitively is something very promising to play with. Wrt the module itself, is it possible to consider language-dependent labels? I noticed "\sin" is "sin" when it should be "sen"

[NTG-context] Luatex format error

2021-05-23 Thread Hans Åberg
Using TexLive 2021, I got the error below. How to fix it? What input file should one give? % context math_style.tex resolvers | formats | executing runner 'run luatex format': /usr/local/texlive/2021/bin/universal-darwin/luatex --jobname="math_style"

Re: [NTG-context] LMTX install

2021-05-23 Thread Bruce Horrocks
I just setup a Mint virtual machine as a test and it all worked as expected so I'm not sure why you're having a problem. However you wrote earlier that you are using "Mint 21" but I can only find "Mint 20.1 LTS" - I assume that's what you meant? If so then I suggest that you create a new Linux

Re: [NTG-context] Unwanted upright math in MkIV

2021-05-23 Thread Gavin
Aditya, > On Sun, 23 May 2021, Gavin wrote: > >> Hello, >> >> I’m using ConTeXt with MacOS. The current version of MkIV produces upright >> math rather than italic. MWE: >> >> \starttext >>\m{f = \beta} >> \stoptext > > Works correctly here. What does context --version say? My log file

Re: [NTG-context] mathfun

2021-05-23 Thread Jairo A. del Rio
Thank you a lot for the explanation! It makes more sense now and definitively is something very promising to play with. Wrt the module itself, is it possible to consider language-dependent labels? I noticed "\sin" is "sin" when it should be "sen" once the module is loaded. Jairo El dom, 23 de

Re: [NTG-context] mathfun

2021-05-23 Thread Hans Hagen
On 5/23/2021 3:45 PM, Jairo A. del Rio wrote: \permanent\protected\def\drawme{\thewithproperty\plussix} %better than 666 As you're in protection ... \immutable\integerdef\MyChickenDraw 1006 \permanent\protected\def\drawme{\thewithproperty\MyChickenDraw} and yes, \integerdef is also a

Re: [NTG-context] mathfun

2021-05-23 Thread Hans Hagen
On 5/23/2021 3:45 PM, Jairo A. del Rio wrote: El dom, 23 de may. de 2021 a la(s) 04:51, Hans Hagen (j.ha...@xs4all.nl ) escribió: On 5/22/2021 11:34 PM, Jairo A. del Rio wrote: > Hi. Is \thewithproperty documented elsewhere? Is this a new primitive?

Re: [NTG-context] Unwanted upright math in MkIV

2021-05-23 Thread Aditya Mahajan
On Sun, 23 May 2021, Gavin wrote: > Hello, > > I’m using ConTeXt with MacOS. The current version of MkIV produces upright > math rather than italic. MWE: > > \starttext > \m{f = \beta} > \stoptext Works correctly here. What does context --version say?

Re: [NTG-context] mathfun

2021-05-23 Thread Jairo A. del Rio
El dom, 23 de may. de 2021 a la(s) 04:51, Hans Hagen (j.ha...@xs4all.nl) escribió: > On 5/22/2021 11:34 PM, Jairo A. del Rio wrote: > > Hi. Is \thewithproperty documented elsewhere? Is this a new primitive? > > It looks interesting. > In the case of the \sin trick particular case

Re: [NTG-context] One chapter with different heading settings

2021-05-23 Thread Rik Kabel
On 5/23/2021 07:43, Jeroen wrote: In the preamble I have the following setup for the chapter header setup. There is one chapter I want to have a different heading setup with some less spacing, what would be the easiest way to achieve this? \setuphead [section] [style=bold, before={\vskip4mm},

[NTG-context] Unwanted upright math in MkIV

2021-05-23 Thread Gavin
Hello, I’m using ConTeXt with MacOS. The current version of MkIV produces upright math rather than italic. MWE: \starttext \m{f = \beta} \stoptext The above example produces italic math TeXLive 2021 ConTeXt and in the current, LMTX. Looks like a bug to me, but maybe I am doing something

Re: [NTG-context] LMTX install

2021-05-23 Thread Werner Hennrich
Julian, is the luametatex file in that directory executable? both context and mtxrun are links to it: lrwxrwxrwx 1 xxx xxx  10  context -> luametatex -rw-r--r-- 1 xxx xxx    1315  context.lua -rwxr-xr-x 1 xxx xxx 2957368  luametatex -rwxr-xr-x 1 xxx xxx 7150016  luatex lrwxrwxrwx 1 xxx xxx   

[NTG-context] One chapter with different heading settings

2021-05-23 Thread Jeroen
In the preamble I have the following setup for the chapter header setup. There is one chapter I want to have a different heading setup with some less spacing, what would be the easiest way to achieve this? \setuphead [section] [style=bold, before={\vskip 4mm}, after={\vskip 1.5mm}]

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-23 Thread Hans Hagen
On 5/23/2021 2:41 AM, Eduardo Bohoyo wrote: My question will be very simple: Is there a trick to make \placeinitial command work within makeup pages? One of my pages inside the /frontmater/ is a quote page within an special layout. Before using LMTX, when I could use the Lettrine module,

Re: [NTG-context] LMTX install

2021-05-23 Thread luigi scarso
Il Dom 23 Mag 2021, 12:14 jbf ha scritto: > Then something is not making sense (to me). > > .bashrc clearly shows: export > PATH=$PATH:/home/me/bin/context/tex/texmf-linux-64/bin, so does that not > mean that bin can be found via the path? So why does 'context > myfile.tex' not work? > > If I

Re: [NTG-context] LMTX install

2021-05-23 Thread jbf
Then something is not making sense (to me). .bashrc clearly shows: export PATH=$PATH:/home/me/bin/context/tex/texmf-linux-64/bin, so does that not mean that bin can be found via the path? So why does 'context myfile.tex' not work? If I run a full path (.

Re: [NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-23 Thread Hans Hagen
On 5/22/2021 6:15 PM, Aditya Mahajan wrote: On Sat, 22 May 2021, Hans Hagen wrote: On 5/21/2021 9:37 PM, Nicola wrote: I have only a minor annoyance: I have just noticed that -- is typeset as an en-dash in LMTX (but not in MKIV, as documented). Could you look into that? best is that the

Re: [NTG-context] Define new symbol by stitching two symbols together

2021-05-23 Thread Hans Hagen
On 5/22/2021 8:23 PM, Nicola wrote: I would like to define new symbols by stitching together existing glyphs. This is what I have come up so far: \define[1]\Transition{-\!\![#1]\!\!\rightarrow} \starttext \m{L\Transition{A}R} \stoptext This should render as -[ ]->, ideally

Re: [NTG-context] LMTX install

2021-05-23 Thread Hans Hagen
On 5/23/2021 9:52 AM, Benny Schurig wrote: Hi Julian, afaik with lmtx a setup is not necessary. With mk iv it established the tex tree. With lmtx the tree is somehow self-contained. I use lmtx and point the compile command of my editor of choice (Geany, Kile, Texmaker, Emacs whatever)

Re: [NTG-context] mathfun

2021-05-23 Thread Hans Hagen
On 5/22/2021 11:34 PM, Jairo A. del Rio wrote: Hi. Is \thewithproperty documented elsewhere? Is this a new primitive? It looks interesting. In the case of the \sin trick particular case \let\computer\the would also work; i added the \thewithproperty feature just because i expect that users can

Re: [NTG-context] LMTX install

2021-05-23 Thread jbf
Linux Mint 21 and yes, followed precisely the instructions on the wiki page. mtxrun is executable. Not sure why this has to be so difficult but it is not working. Julian On 23/5/21 5:53 pm, Bruce Horrocks wrote: On 23 May 2021, at 07:52, jbf wrote: Someone will quickly clarify what I am

Re: [NTG-context] LMTX install

2021-05-23 Thread Julian Fox
Not pedantic, just correct. I should have said Linux Mint 21! I'll check the status of mtxrun but I thought all that would be automatic On Sun, 23 May 2021, 5:54 pm Bruce Horrocks, wrote: > On 23 May 2021, at 07:52, jbf wrote: > > > > Someone will quickly clarify what I am doing wrong here.

[NTG-context] LMTX install

2021-05-23 Thread Benny Schurig
Hi Julian, afaik with lmtx a setup is not necessary. With mk iv it established the tex tree. With lmtx the tree is somehow self-contained. I use lmtx and point the compile command of my editor of choice (Geany, Kile, Texmaker, Emacs whatever) directly to

Re: [NTG-context] LMTX install

2021-05-23 Thread Bruce Horrocks
On 23 May 2021, at 07:52, jbf wrote: > > Someone will quickly clarify what I am doing wrong here. Have used mkiv until > now but decided to download and install LMTX in /home/me/bin/context. > > I then ran export PATH=/home/me/bin/context/tex/texmf-linux-64/bin:$PATH as > the install script

Re: [NTG-context] LMTX install

2021-05-23 Thread ‪‪Benny Schurig‬
Hi Julian, afaik with lmtx a setup is not necessary. With mk iv it established the tex tree. With lmtx the tree is somehow self-contained. I use lmtx and point the compile command of my editor of choice (Geany, Kile, Texmaker, Emacs whatever) directly to .../context/tex/texmf-linux-64/bin/mtxrun

[NTG-context] LMTX install

2021-05-23 Thread jbf
Someone will quickly clarify what I am doing wrong here. Have used mkiv until now but decided to download and install LMTX in /home/me/bin/context. I then ran  export PATH=/home/me/bin/context/tex/texmf-linux-64/bin:$PATH as the install script indicated at the end. When running mk iv, I