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

2021-11-29 Thread Joey McCollum via ntg-context
After some debugging, the example code I offered above seems to work, with minor adjustments: \begingroup \let\loc\loctextloc \currentbtxloctext \btxcomma \endgroup Thanks again for all the help! Joey On Mon, Nov 29, 2021 at 12:11 PM Joey McCollum wrote: > Okay. So using this example as a

Re: [NTG-context] Math prime issues for some fonts

2021-11-29 Thread Jack Hill via ntg-context
On Fri, 26 Nov 2021 at 11:28, Hans Hagen wrote: > So to summarize: with primes we have to deal with (1) frozen tex math > expectations that won't change (although in context we're free to do > so), which (2) have found their way in unicode, and (3) also in fonts > due to the way traditional tex

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

2021-11-29 Thread Joey McCollum via ntg-context
Okay. So using this example as a template, I'd like to do the following: - define a general-purpose \loc macro that can be invoked in the main text (i.e., outside of citations) in the usual way; this one would correspond to \WhateverB above and would not remove punctuation preceding

Re: [NTG-context] ConTeXt support in LTEX

2021-11-29 Thread Saša Janiška via ntg-context
On Mon, Nov 29, 2021 at 10:02:34AM +0100, Saša Janiška via ntg-context wrote: > didn't have time to (properly) test, but you might be interested to hear > that since 15.2.0 release - hot from the owen - there is now support for > ConTeXt as well. I apologize for forgetting to include any link:

[NTG-context] Bad linebreak in figure caption

2021-11-29 Thread Marco Patzer via ntg-context
Hi! The caption "FOO" runs into the right figure's caption: \setuplayout [width=18.4cm] \setuptolerance [verytolerant, stretch] %% even with stretch \starttext \startplacefigure \startfloatcombination \startplacefigure [title=Unexpectedly unnecessary FOO-BAR whatever]

Re: [NTG-context] Blocks inside a conditional mode.

2021-11-29 Thread Fabrice L via ntg-context
Dear Hans, > Le 29 nov. 2021 à 03:54, Hans Hagen a écrit : > > On 11/29/2021 2:54 AM, Fabrice L via ntg-context wrote: > >> The only inconvenient of this solution if that I have to define 15 blocks >> (one for each week of the term): ComplementOne, ComplementTwo, > \defineblock[example] > >

Re: [NTG-context] Neovim and ConTeXt

2021-11-29 Thread Nicola via ntg-context
On 2021-11-26, Clint Grady via ntg-context wrote: > I'd be very happy to try the new version of the plugin. I'm also happy > to work on porting it to NeoVim. If my email is not visible through the mailing list (yours is not to me), you may find it in the source code of the ConTeXt plugin in Vim

Re: [NTG-context] Influence location of luametatex-cache

2021-11-29 Thread Marco Patzer via ntg-context
On Mon, 29 Nov 2021 12:07:51 +0100 Henning Hraban Ramm via ntg-context wrote: > > How to influence the location of the cache directory? > > Try to set TEXMFCACHE That's it. Thanks Peter and Henning. Marco ___ If

Re: [NTG-context] Influence location of luametatex-cache

2021-11-29 Thread Peter Münster via ntg-context
On Mon, Nov 29 2021, Marco Patzer via ntg-context wrote: > How to influence the location of the cache directory? Hi, I have the line "export TEXMFCACHE=~/.cache" in my ~/.profile and then context creates the directory ~/.cache/luametatex-cache. Cheers, -- Peter

Re: [NTG-context] Influence location of luametatex-cache

2021-11-29 Thread Henning Hraban Ramm via ntg-context
Am 29.11.21 um 11:16 schrieb Marco Patzer via ntg-context: Hi! when LMTX is installed in a read-only location (e.g. /opt) it creates a directory "luametatex-cache" in $HOME. How to influence the location of the cache directory? Try to set TEXMFCACHE see also: mtxrun --variables Hraban

[NTG-context] Influence location of luametatex-cache

2021-11-29 Thread Marco Patzer via ntg-context
Hi! when LMTX is installed in a read-only location (e.g. /opt) it creates a directory "luametatex-cache" in $HOME. How to influence the location of the cache directory? Marco ___ If your question is of interest to

[NTG-context] ConTeXt support in LTEX

2021-11-29 Thread Saša Janiška via ntg-context
Hello, didn't have time to (properly) test, but you might be interested to hear that since 15.2.0 release - hot from the owen - there is now support for ConTeXt as well. Sincerely, Gour -- Bewildered by the modes of material nature, the ignorant fully engage themselves in material activities

Re: [NTG-context] Blocks inside a conditional mode.

2021-11-29 Thread Hans Hagen via ntg-context
On 11/29/2021 2:54 AM, Fabrice L via ntg-context wrote: The only inconvenient of this solution if that I have to define 15 blocks (one for each week of the term): ComplementOne, ComplementTwo, \defineblock[example] \starttext \beginexample[Two] Last course, we have