Re: [NTG-context] underscore hyphenation not working

2021-05-09 Thread Pablo Rodriguez
On 5/9/21 7:46 PM, Hans Hagen wrote: > [...] > you can also retest the advance It works fine now. A minor issue happens with SumatraPDF-3.1.2 (aside from font advance): \setuppapersize[A6] \definefontfamily[mainface][rm] [TeX Gyre Pagella] \setupbodyfont[mainface] \starttext \i

[NTG-context] KeenWrite 2.0

2021-05-09 Thread Thangalin
Happy to announce that invoking ConTeXt from KeenWrite is now possible. Here's a screenshot showing three different PDFs compiled from the same plain text document: https://github.com/DaveJarvis/keenwrite/blob/master/docs/screenshots.md#pdf-themes Here are the installation instructions for ConTe

Re: [NTG-context] Update setpath to set the path

2021-05-09 Thread Thangalin
Here's a version that persits the current user's PATH (i.e., not system-wide): rem SOF @echo off set "OWNPATH=%~dp0" set "PLATFORM=mswin" if defined ProgramFiles(x86)set "PLATFORM=win64" if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set "PLATFORM=win64" if exist "%OW

Re: [NTG-context] simpleslides gives 'input stack overflow'

2021-05-09 Thread Adam Reviczky
Hi, Looks like it is a problem with "StartPage" and "StopPage" in metapost. I get the same error with any MP graphic using those commands. More minimal example (without simpleslides) as per the wiki: https://wiki.contextgarden.net/Cover_Pages colors > 'rgb' color space is supported col

[NTG-context] simpleslides gives 'input stack overflow'

2021-05-09 Thread Adam Reviczky
Hi, With the latest luatex change from https://github.com/TeX-Live/luatex/commit/1566b63b338abbe38ed839fac9f2022ebbfa7d59 (and MKIV 2021-05-09 17:14:00) I get an input stack overflow: simpleslides> loading style Boxed system > command '\NormalHeight' is already defined system

[NTG-context] Update setpath to set the path

2021-05-09 Thread Thangalin
Thoughts on updating the setpath.bat file to persist setting the path? Here's an updated version that sets the system environment variable while preserving the existing unexpanded PATH value: rem SOF echo off set OWNPATH=%~dp0 set PLATFORM=mswin if defined ProgramFiles(x86)

[NTG-context] one quick remark about textext.dflt (vs textext.dlft)

2021-05-09 Thread Garulfo
Hi all, one remark, I was expecting to be allowed to use textext.dlft but finally the appropriate command appears to be textext.dflt which require to switch F and L letters. Is it on purpose ? would it make sense to have a dlft version to match LeFT ? ___

Re: [NTG-context] underscore hyphenation not working

2021-05-09 Thread Hans Hagen
On 5/9/2021 6:09 PM, Pablo Rodriguez wrote: On 5/9/21 4:40 PM, Hans Hagen wrote: On 5/8/2021 7:55 PM, Pablo Rodriguez wrote: I wonder whether this might be caused by a bug or the code should be adapted to current latest. hm, i'll check it ... looks like some lua closure side effect Many tha

Re: [NTG-context] underscore hyphenation not working

2021-05-09 Thread Pablo Rodriguez
On 5/9/21 4:40 PM, Hans Hagen wrote: > On 5/8/2021 7:55 PM, Pablo Rodriguez wrote: > >> I wonder whether this might be caused by a bug or the code should be >> adapted to current latest. > hm, i'll check it ... looks like some lua closure side effect Many thanks for your ultra-fast fix, Hans. Cur

Re: [NTG-context] underscore hyphenation not working

2021-05-09 Thread Hans Hagen
On 5/8/2021 7:55 PM, Pablo Rodriguez wrote: I wonder whether this might be caused by a bug or the code should be adapted to current latest. hm, i'll check it ... looks like some lua closure side effect Hans -

Re: [NTG-context] What is the ConTeXt way to handle this \vbox trick?

2021-05-09 Thread Hans Hagen
On 5/8/2021 10:05 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Consider the following MWE (for a sequential multiple-choice exam), using some old and ugly TeX code: === \setupbodyfont[schola] \noheaderandfooterlines \setupwhitespace[big] \def\CHOICE#1#2{\leavevmode\vbox{\tab