Re: [NTG-context] Documentation about CTX installation on MacOS X

2022-01-02 Thread Jean-Pierre Delange via ntg-context
Thank you very much for your quick answer to you both Fabrice and Henning ! It seems there is no detailed documentation about peculiar aspects of CTX on MacOS. For instance, the use of fonts database on unix-like and MacOS are a bit different (but not quite a lot) and this command : mtxrun

Re: [NTG-context] Documentation about CTX installation on MacOS X

2022-01-02 Thread Henning Hraban Ramm via ntg-context
Am 03.01.22 um 03:26 schrieb Jean-Pierre Delange via ntg-context: Now my question : I want to try CTX (ConTeXtver: 2021.12.30) on MacOS X (currently 10.13  High Sierra), while I was formerly working with old versions on Linux and Windows based systems. Among other difficulties (like how to

Re: [NTG-context] Dynamic document variables from metadata

2022-01-02 Thread Thangalin via ntg-context
Thank you, Hans. Updates are in place: https://github.com/DaveJarvis/keenwrite/releases https://github.com/DaveJarvis/keenwrite-themes/releases On Sun, Jan 2, 2022 at 3:11 AM Hans Hagen wrote: > On 1/2/2022 2:54 AM, Thangalin via ntg-context wrote: > > Happy New Year! > > > > How would you

Re: [NTG-context] Documentation about CTX installation on MacOS X

2022-01-02 Thread Fabrice L via ntg-context
Hi, > Le 2 janv. 2022 à 21:26, Jean-Pierre Delange via ntg-context > a écrit : > > First of all : Happy New Year everybody (despite some difficulties due to > public policies against the epidemic ! > > Now my question : I want to try CTX (ConTeXt ver: 2021.12.30) on MacOS X > (currently

[NTG-context] Documentation about CTX installation on MacOS X

2022-01-02 Thread Jean-Pierre Delange via ntg-context
First of all : Happy New Year everybody (despite some difficulties due to public policies against the epidemic ! Now my question : I want to try CTX (ConTeXt ver: 2021.12.30) on MacOS X (currently 10.13 High Sierra), while I was formerly working with old versions on Linux and Windows based

Re: [NTG-context] Laundry symbols (now: altered picture)

2022-01-02 Thread Alfredo Catalina via ntg-context
Great! Thanks Hans, now it works. I replaced the "draw externalfigure" commands by draw externalfigure "./skysprite.png" xsized 4u ysized 5u shifted (0u,-0u); draw externalfigure "./sandsprite.png" xsized 4u ysized 5u shifted (0u,-5u); Best regards On Sun, Jan 2, 2022 at 3:36 PM Hans Hagen

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Benjamin Buchmuller via ntg-context
Uff, this is indeed deep tex. Thanks a lot for the example, Hans! I still need to learn a lot. After a walk and a bit of fresh air, I found another (much easier) way around my problem. This works since I don't need to deal with #2 in any special way: \tolerant\def\startMyCommand[#1]% {

Re: [NTG-context] Laundry symbols (now: altered picture)

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 3:12 PM, Alfredo Catalina via ntg-context wrote: I'm trying to use ConTeXt with Metafun to produce a map of a videogame I am working on. In fact I did it 9 years ago but it seems that now it doesn't work. I have two 32 pixels wide by 40 pixels high sprites. They are saved in the

Re: [NTG-context] Laundry symbols (now: altered picture)

2022-01-02 Thread Alfredo Catalina via ntg-context
I'm trying to use ConTeXt with Metafun to produce a map of a videogame I am working on. In fact I did it 9 years ago but it seems that now it doesn't work. I have two 32 pixels wide by 40 pixels high sprites. They are saved in the skysprite.png and sandsprite.png files. Since 32 = 4 x 8 and 40 =

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 2:14 PM, Benjamin Buchmuller wrote: Thanks, Hans, for the answer, but I'm not sure if I get the point. While this is possible in ConTeXt: \startsection[title={My Title}] \beginMyBlock bla bla \endMyBlock \stopsection The following won't work (end of file error):

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Benjamin Buchmuller via ntg-context
Thanks, Hans, for the answer, but I'm not sure if I get the point. While this is possible in ConTeXt: \startsection[title={My Title}] \beginMyBlock bla bla \endMyBlock \stopsection The following won't work (end of file error): \startMyCommand[optional={Maybe}] \beginMyBlock bla bla

Re: [NTG-context] Dangerous bends symbol in manfnt.afm accidentally chopped by LMTX?

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 11:30 AM, Benjamin Buchmuller via ntg-context wrote: Hi list, using this example from the wiki, the dbend symbol appears cropped on the left side on my machine (ConTeXt ver: 2021.12.10 11:41 LMTX fmt: 2021.12.14), but not on the ConTeXt live server? Any possible reasons?

Re: [NTG-context] fonts.compact produces compact initials

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 3:01 AM, Rik Kabel via ntg-context wrote: Enabling compact fonts results in incorrect initials. \enableexperiments[fonts.compact] \starttext \placeinitial Tested with \luatexbanner and \ConTeXt\ \contextversion \stoptext Produces (approximately):   ested

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 11:47 AM, Benjamin Buchmuller via ntg-context wrote: Hi list, I'm playing around with blocks and buffers again, realizing that I cannot use them inbetween a \start...\stop that I defined myself. Apparently, they work between \startsection...\stopsection and the like, so I was

Re: [NTG-context] Dynamic document variables from metadata

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 2:54 AM, Thangalin via ntg-context wrote: Happy New Year! How would you implement a mechanism that takes arbitrary XHTML tags and produces document variables? Consider:     After running XML setups, the following would write "Nature":     \documentvariable{journal} The

[NTG-context] New Year / meetup

2022-01-02 Thread Henning Hraban Ramm via ntg-context
Hi everybody, my best wishes for a healthy, successful and generally happy new year! (We need it.) The next online meetup will be on Tuesday, Jan. 11th. I’ll send a reminder. Hraban ___ If your question is of

Re: [NTG-context] aligning Malayalam horizontally across column

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 8:08 AM, Ajith R via ntg-context wrote: Thanks for this. But, I changed to natural tables as suggested by Kausika and that solved my problems. if it's only text, \starttabulate works ok too (and often better) Hans -

[NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Benjamin Buchmuller via ntg-context
Hi list, I'm playing around with blocks and buffers again, realizing that I cannot use them inbetween a \start...\stop that I defined myself. Apparently, they work between \startsection...\stopsection and the like, so I was wondering how I should define or expand #2 in the MWE below to make

[NTG-context] Dangerous bends symbol in manfnt.afm accidentally chopped by LMTX?

2022-01-02 Thread Benjamin Buchmuller via ntg-context
Hi list, using this example from the wiki, the dbend symbol appears cropped on the left side on my machine (ConTeXt ver: 2021.12.10 11:41 LMTX fmt: 2021.12.14), but not on the ConTeXt live server? Any possible reasons? \definefontsynonym [bends] [file:manfnt.afm] \startsymbolset [Dangerous