Re: [NTG-context] Metafun : save memory content ?

2022-07-18 Thread Fabrice L via ntg-context
> Le 18 juill. 2022 à 12:31, Hans Hagen via ntg-context a > écrit : > > On 7/18/2022 3:20 PM, Fabrice L via ntg-context wrote: >> Dear list, >> I’m doing animations in MetaFun, by simply using \startMPpage (…) >> \stopMPpage for each frame of the animation. Here is an example: >>

Re: [NTG-context] Sudoku module

2022-07-18 Thread Otared Kavian via ntg-context
Hi Wolfgang, Thank you for your reply and the explanations about the function « interfaces.implement ». Regarding the examples given by Jairo, you are correct: those examples can be typeset with LMTX. I did a mistake when in TeXShop I saved the file « t-sudoku.mkvi » under the name «

Re: [NTG-context] Count (and limit) glyphs per line?

2022-07-18 Thread Benjamin Buchmuller via ntg-context
Dear Hans, This is the friendly reminder you requested for the "crappyspecs" parbuilder as per your example in early July. With ConTeXt ver: 2022.07.06 21:42 LMTX fmt: 2022.7.8 I get tex error > tex error on line 12 in file ./test-wrapping2.tex: Undefined control sequence

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Wolfgang Schuster via ntg-context
Thangalin via ntg-context schrieb am 18.07.2022 um 19:10: Thank you, Wolfgang. That looks promising. SVG files are converted using MetaPost. I thought the following would work: svg=>{\externalfigure[#1][svg][conversion=mp]} You can probably remove the second argument ([svg]) which was

Re: [NTG-context] Sudoku module

2022-07-18 Thread Wolfgang Schuster via ntg-context
Otared Kavian via ntg-context schrieb am 18.07.2022 um 18:53: Hi Wolfgang, Thank you for your attention and the explanation regarding the « hash option » and why the sudoku module written by Jairo does not work. However I was reporting the issue when I tried to typeset the example file with

Re: [NTG-context] How to setup a headertext in a doublesided document in a cld?

2022-07-18 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 16.07.2022 um 17:03: Hello! I tried to setup a headertext in a context-lua-document. — No problem for the singlesided version, however hoe to pass the info for a double sided version? Unfortunately the cld-mkiv manual contains an example for a singlesided

Re: [NTG-context] How to switch off the numbering of a float in a CLDocument?

2022-07-18 Thread Henning Hraban Ramm via ntg-context
Am 18.07.22 um 20:31 schrieb Willi Egger via ntg-context: Hi all, I wanted to place a figure in a cld. The example in the cld manual does not reveal how to influence bahavior except for the caption. context.placefigure( “caption”, function() context.externalfigure({i}, { width =

[NTG-context] How to switch off the numbering of a float in a CLDocument?

2022-07-18 Thread Willi Egger via ntg-context
Hi all, I wanted to place a figure in a cld. The example in the cld manual does not reveal how to influence bahavior except for the caption. context.placefigure( “caption”, function() context.externalfigure({i}, { width = "\\textwidth" } ) end ) Can anybody enlighten me? Kind regards

Re: [NTG-context] Metafun : save memory content ?

2022-07-18 Thread Hans van der Meer via ntg-context
Storing in a memory block in the computers' internal memory would be super, of course. But I am afraid that is asking a bit too much;-) dr. Hans van der Meer > On 18 Jul 2022, at 18:31, Hans Hagen via ntg-context > wrote: > > On 7/18/2022 3:20 PM, Fabrice L via ntg-context wrote: >> Dear

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Thangalin via ntg-context
Thank you, Wolfgang. That looks promising. SVG files are converted using MetaPost. I thought the following would work: svg=>{\externalfigure[#1][svg][conversion=mp]} Is there anything else that needs to happen to ensure SVG files are piped through MetaPost? Thanks again! >

Re: [NTG-context] Sudoku module

2022-07-18 Thread Otared Kavian via ntg-context
Hi Wolfgang, Thank you for your attention and the explanation regarding the « hash option » and why the sudoku module written by Jairo does not work. However I was reporting the issue when I tried to typeset the example file with LMTX (version 2022.07.06 21:42). As a matter of fact I am far

Re: [NTG-context] Metafun : save memory content ?

2022-07-18 Thread Hans Hagen via ntg-context
On 7/18/2022 3:20 PM, Fabrice L via ntg-context wrote: Dear list, I’m doing animations in MetaFun, by simply using \startMPpage (…) \stopMPpage for each frame of the animation. Here is an example: https://youtu.be/yhxUbVQx9Uo (please note you can watch it in HD by adjusting the setting in

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Thangalin via ntg-context
Of course, you could also use pandoc to go directly to ConTeXt; that is > currently my preferred way of producing PDF from Markdown. > Thanks Albert! I'm going to stick with my desktop text editor, KeenWrite , rather than use shell scripts

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Thangalin via ntg-context
Thanks, Rik. Not using Pandoc. I was using Pandoc up until 2020: https://dave.autonoma.ca/blog/2019/05/22/typesetting-markdown-part-1/ I've since authored KeenWrite , which uses flexmark-java to generate XHTML

Re: [NTG-context] Sudoku module

2022-07-18 Thread Jairo A. del Rio via ntg-context
Hi. Sorry. I didn't see your message and I had forgotten the very existence of the module. I'll check it later (final exam weeks for me) so that it works with MkIV and LMTX properly again. By the way, thanks for the interest. Best regards Jairo El lun., 18 de jul. de 2022 10:00 a. m., Otared

Re: [NTG-context] Metafun : save memory content ?

2022-07-18 Thread Hans Hagen via ntg-context
On 7/18/2022 4:39 PM, Henning Hraban Ramm via ntg-context wrote: Am 18.07.22 um 15:20 schrieb Fabrice L via ntg-context: Dear list, I’m doing animations in MetaFun, by simply using \startMPpage (…) \stopMPpage for each frame of the animation. Here is an example: https://youtu.be/yhxUbVQx9Uo

Re: [NTG-context] Sudoku module

2022-07-18 Thread Wolfgang Schuster via ntg-context
Otared Kavian via ntg-context schrieb am 18.07.2022 um 17:00: Hi Jairo, You sent a message last year about your Sudoku module, and today, out of curiosity, I wanted to test it. Unfortunately it stops with an error message at line 76 of the file t-sudoku.mkiv, where you have:

[NTG-context] Sudoku module

2022-07-18 Thread Otared Kavian via ntg-context
Hi Jairo, You sent a message last year about your Sudoku module, and today, out of curiosity, I wanted to test it. Unfortunately it stops with an error message at line 76 of the file t-sudoku.mkiv, where you have: \def\sudokufunction_direct[#name][#parameters]#content I would appreciate if

Re: [NTG-context] Metafun : save memory content ?

2022-07-18 Thread Henning Hraban Ramm via ntg-context
Am 18.07.22 um 15:20 schrieb Fabrice L via ntg-context: Dear list, I’m doing animations in MetaFun, by simply using \startMPpage (…) \stopMPpage for each frame of the animation. Here is an example: https://youtu.be/yhxUbVQx9Uo (please note you can watch it in HD by adjusting the setting in

[NTG-context] Metafun : save memory content ?

2022-07-18 Thread Fabrice L via ntg-context
Dear list, I’m doing animations in MetaFun, by simply using \startMPpage (…) \stopMPpage for each frame of the animation. Here is an example: https://youtu.be/yhxUbVQx9Uo (please note you can watch it in HD by adjusting the setting in YouTube). This works usually great, but when the number of