[NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-25 Thread Joey McCollum via ntg-context
I wasn't aware of a general-purpose "doifstartswith" macro in ConTeXt (the \doifnextcharelse macro only works one character at a time, and the \doifinstring macros may capture substrings that are not prefixes), and I'd like to develop one for something I'm working on. I've been trying to do this

Re: [NTG-context] Neovim and ConTeXt

2021-11-25 Thread Clint Grady via ntg-context
> But, Vim and NeoVim have diverged enough that they should be considered > totally different (and incompatible) programs. The new version of the > ConTeXt plugin (which is not shipped yet) is written in Vim9 script, > which NeoVim does not implement. My time is limited, so I can't support > both

Re: [NTG-context] Neovim and ConTeXt

2021-11-25 Thread Aditya Mahajan via ntg-context
On Thu, 25 Nov 2021, Nicola via ntg-context wrote: > Again, take a look at the wiki. Noted! Time to update my decade old setup (but I have moved completed to the neovim camp). Aditya ___ If your question is of

Re: [NTG-context] Neovim and ConTeXt

2021-11-25 Thread Nicola via ntg-context
On 2021-11-24, Aditya Mahajan via ntg-context wrote: > I don't know what is the current state of context syntax highlighting > support in vim/neovim (I use a highly modifies syntax file). It will > be nice to have support of \startMP(code|page) and \startluacode to do > syntax highlighting for

Re: [NTG-context] Backmatter preventing section numbers from appearing

2021-11-25 Thread Hans Hagen via ntg-context
On 11/25/2021 10:50 AM, A A via ntg-context wrote: Dear All, I've noticed that the mere presence of backmatter prevents my sections from being numbered. Consider the following: /\starttext \startsection[   title={Create Serverless Applications}, ] blablabla \stopsection %\startbackmatter %

Re: [NTG-context] update lmtx

2021-11-25 Thread Hans Hagen via ntg-context
On 11/25/2021 12:22 PM, Alain Delmotte via ntg-context wrote: Hi, In the new upload for Windows 10/64 there is a new file "modules.bat". When I did launch it it went through all my harddisk and most of the time there was a line saying: "File has vanished..." those were about files outside

Re: [NTG-context] update lmtx

2021-11-25 Thread Alain Delmotte via ntg-context
Hi, In the new upload for Windows 10/64 there is a new file "modules.bat". When I did launch it it went through all my harddisk and most of the time there was a line saying: "File has vanished..." those were about files outside the context-lmtx

[NTG-context] Backmatter preventing section numbers from appearing

2021-11-25 Thread A A via ntg-context
Dear All, I've noticed that the mere presence of backmatter prevents my sections from being numbered. Consider the following: *\starttext\startsection[ title={Create Serverless Applications},]blablabla\stopsection%\startbackmatter % comment out%\stopbackmatter % comment out\stoptext*

Re: [NTG-context] Automatic counting groupsuffix for subfigures

2021-11-25 Thread Hans Hagen via ntg-context
On 11/24/2021 10:19 AM, Marco Patzer via ntg-context wrote: Hi! I'd like to use subfigure numbering for floats. This works: \useMPlibrary [dum] \starttext \startplacefigure [location=none] \startfloatcombination [nx=2] \startplacefigure [title=Left, reference=ref:left, group=one,

Re: [NTG-context] adjusting vertical space

2021-11-25 Thread jbf via ntg-context
That was the clue I needed - in particular the use of minus values, which I had entirely overlooked. And since \vskip works, so, therefore, does simple \blank with a minus value (and better style!), and for that matter also \hskip to make micro horizontal adjustments. In the end, so simple and

Re: [NTG-context] adjusting vertical space

2021-11-25 Thread Thomas A. Schmitz via ntg-context
On 11/25/21 00:06, jbf via ntg-context wrote: The following MWE You do know what MWE stands for, right? Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] adjusting vertical space

2021-11-25 Thread Henning Hraban Ramm via ntg-context
Am 25.11.21 um 00:06 schrieb jbf via ntg-context: The following MWE produces a passable result for a half-title page, but I need to reduce the vertical space between 'A JOURNEY' and 'from the' so that the 'h' of the 'the' is just touching the baseline of the 'R' in JOURNEY. At the moment there