[NTG-context] font feature

2021-07-08 Thread Thomas A. Schmitz
Hi all, is it possible to subtract a featureset that has been applied to a fontfamily? MWE: \definefontfeature [f:frac] [frac=yes,onum=no,pnum=no] \definefontfeature [f:onum] [onum=yes,pnum=yes] \definefontfamily [test] [serif] [AntykwaTorunska] [features=f:onum] \definefontfamily

Re: [NTG-context] LMTX: different output if dots are used in the file name

2021-07-08 Thread Hans Hagen
On 7/7/2021 8:25 PM, Alan Braslau wrote: Windows, I believe, does not take kindly to filenames containing multiple dots. windowes is very kind to multiple dots but it (normally) sees the last suffix as an indication of what file is it (other operating system needs some 'open' command while

Re: [NTG-context] LMTX: different output if dots are used in the file name

2021-07-08 Thread Hans Hagen
On 7/7/2021 10:13 PM, Marco Patzer wrote: But maybe Hans can chime in and clarify. I have to check it but syffixes and tex are kind of special. It has nothing to do with operating systems (sorry for those who love to bash windows for it). Personally I always use a suffix and don't look into

[NTG-context] xmldisplayverbatim

2021-07-08 Thread Hans van der Meer
I get the impression that \xmldisplayverbatim changes ' (apostroph) into and " (quotation mark) into etc. How can I get rid of this translation? I would prefer to have typeset ' and " instead of the entity representations. dr. Hans van der Meer

Re: [NTG-context] LMTX: different output if dots are used in the file name

2021-07-08 Thread Marco Patzer
On Thu, 8 Jul 2021 10:34:32 +0200 Hans Hagen wrote: > Now, to the issue of names like 10.11.12.13 ... here .13 is the > suffix, like it or not, so in principle we then get > > 10.11.12.log > 10.11.12.tuc > 10.11.12.pdf It's not that I use files without (.tex, .mkiv, ...) suffixes, but your

[NTG-context] hang error

2021-07-08 Thread Hans van der Meer
Why this: normal plain TeX macro \hang giving an Undefined control sequence error in ConTeXt? This MWE shows it: \starttext \hang \stoptext I would not expect basic plain macro's to crash. If it is intended behaviour I do not think that is the road to go, because this invalidates older

Re: [NTG-context] hang error

2021-07-08 Thread Hans Hagen
On 7/8/2021 2:16 PM, Hans van der Meer wrote: Why this: normal plain TeX macro \hang giving an Undefined control sequence error in ConTeXt? This MWE shows it: \starttext \hang \stoptext I would not expect basic plain macro's to crash. If it is intended behaviour I do not think that is the

[NTG-context] [OT] TeXShop v4.66 adds support for new ConTeXt's syncing method

2021-07-08 Thread Nicola
For those who are interested, the latest TeXShop release provides support for ConTeXt's own syncing method (by invoking mtxrun --script synctex). This supersedes the old syncing method based on Laurens' SyncTeX, which should not be used any more. I have brought TeXShop's page in the wiki up to

Re: [NTG-context] [OT] TeXShop v4.66 adds support for new ConTeXt's syncing method

2021-07-08 Thread Nicola
On 2021-07-08, Nicola wrote: > I have brought TeXShop's page in the wiki up to date (I haven't touched > what are currently §1.4 and §1.5) Typo, sorry: I meant §1.5 and §1.6. Nicola ___ If your question is of

[NTG-context] nuts.setfield is nil in generic code

2021-07-08 Thread Michal Vlasák
Hello, in the generic font loader code `nuts.setfield` is `nil`. This is because in `luatex-basics-nod.lua` there is a wrong assignment for `nuts.setfield` on line 121 (there is no `setfield` at that scope, it should be `direct.setfield`). This is the required patch: ```diff ---

[NTG-context] TikZ in buffers: My struggle with \definestartstop

2021-07-08 Thread Gavin
Hello, I have a book containing many margin figures drawn with TikZ, which is very slow. By putting the TikZ code in a buffer and using \typesetbuffer only altered TikZ code is executed on each run, saving tremendous time. This means the code containsmany constructions like this, which I would

Re: [NTG-context] img.scan in lmtx?

2021-07-08 Thread Henning Hraban Ramm
> Am 27.01.2020 um 09:16 schrieb Hans Hagen : > > On 1/26/2020 11:50 PM, Henning Hraban Ramm wrote: > >> I use the lua function img.scan{filename}, but in lmtx I get "attempt to >> index a nil value (global 'img')", so I guess this got renamed or moved? > Just the high level command: > >

Re: [NTG-context] LMTX crashes with source

2021-07-08 Thread Hans Hagen
On 7/7/2021 6:51 PM, Pablo Rodriguez wrote: Dear list, I have the following source: \definefontfamily [malayalam] [rm] [RIT Rachana] %~ [features=malayalam-two] \setupbodyfont [malayalam] \starttext \startTEXpage \tf അദ്ധ്യായം\\ \em അദ്ധ്യായം\\ \em\bf അദ്ധ്യായം\\

Re: [NTG-context] LMTX: different output if dots are used in the file name

2021-07-08 Thread Alan Braslau
On Wed, 7 Jul 2021 21:57:27 +0200 Ulrike Fischer wrote: > Am Wed, 7 Jul 2021 12:25:29 -0600 schrieb Alan Braslau: > > > Windows, I believe, does not take kindly to filenames containing > > multiple dots. > > > > Therefore, Hans never uses such filenames and does not expect them, > > either, so

Re: [NTG-context] TikZ in buffers: My struggle with \definestartstop

2021-07-08 Thread Gavin
Thanks Hans! That works great. I understand it all and it is working in my book, so even better. I did not know you could \typsetbuffer[a,b,c]. I will be using that again. In case anyone finds this in the future, trying to solve a similar issue, my final version is below, including my

[NTG-context] Initial caps with short paragraph

2021-07-08 Thread Thangalin
This has come up before on the mailing list, but I was wondering if LMTX has a more elegant solution than using a transparent/invisible capture of the drop-cap. Consider: \setupinitial[n=2, style=\tfd, location=text]\setuphead[chapter][after={\placeinitial}] \starttext \chapter Hello world!

Re: [NTG-context] LMTX: different output if dots are used in the file name

2021-07-08 Thread Hans Hagen
On 7/8/2021 3:38 PM, Marco Patzer wrote: On Thu, 8 Jul 2021 10:34:32 +0200 Hans Hagen wrote: Now, to the issue of names like 10.11.12.13 ... here .13 is the suffix, like it or not, so in principle we then get 10.11.12.log 10.11.12.tuc 10.11.12.pdf It's not that I use files without (.tex,

Re: [NTG-context] img.scan in lmtx?

2021-07-08 Thread Hans Hagen
On 7/8/2021 8:31 PM, Henning Hraban Ramm wrote: Am 27.01.2020 um 09:16 schrieb Hans Hagen : On 1/26/2020 11:50 PM, Henning Hraban Ramm wrote: I use the lua function img.scan{filename}, but in lmtx I get "attempt to index a nil value (global 'img')", so I guess this got renamed or moved?

Re: [NTG-context] TikZ in buffers: My struggle with \definestartstop

2021-07-08 Thread Hans Hagen
On 7/8/2021 7:55 PM, Gavin wrote: Hello, I have a book containing many margin figures drawn with TikZ, which is very slow. By putting the TikZ code in a buffer and using \typesetbuffer only altered TikZ code is executed on each run, saving tremendous time. This means the code containsmany

Re: [NTG-context] font feature

2021-07-08 Thread Hans Hagen
On 7/8/2021 9:46 AM, Thomas A. Schmitz wrote: Hi all, is it possible to subtract a featureset that has been applied to a fontfamily? MWE: \definefontfeature   [f:frac]   [frac=yes,onum=no,pnum=no] \definefontfeature   [f:onum]   [onum=yes,pnum=yes] \definefontfamily [test] [serif]

Re: [NTG-context] xmldisplayverbatim

2021-07-08 Thread Hans Hagen
On 7/8/2021 9:18 AM, Hans van der Meer wrote: I get the impression that \xmldisplayverbatim changes ' (apostroph) into and " (quotation mark) into etc. How can I get rid of this translation? I would prefer to have typeset ' and " instead of the entity representations. er staat vast wel

Re: [NTG-context] nuts.setfield is nil in generic code

2021-07-08 Thread Hans Hagen
On 7/8/2021 4:21 PM, Michal Vlasák wrote: Hello, in the generic font loader code `nuts.setfield` is `nil`. This is because in `luatex-basics-nod.lua` there is a wrong assignment for `nuts.setfield` on line 121 (there is no `setfield` at that scope, it should be `direct.setfield`). This is the

Re: [NTG-context] LMTX: different output if dots are used in the file name

2021-07-08 Thread Hans Hagen
On 7/8/2021 8:13 PM, Alan Braslau wrote: (and for Hans, the VMS ";" version specification is a different feature). Sure, one being that one ran out of disk space (but there were enough unused accounts with simple passwords to take care of backups) but it would add an interesting challenge