Re: [NTG-context] \setuplist only for bodypart

2022-06-17 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 17.06.2022 um 16:07: On 6/16/22 22:36, Henning Hraban Ramm via ntg-context wrote: Am 16.06.22 um 21:19 schrieb Pablo Rodriguez via ntg-context: \startsectionblockenvironment[bodypart] ... \stopsectionblockenvironment This should work ac

Re: [NTG-context] How to print a random whole number between x and y?

2022-06-17 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 17.06.2022 um 16:10: I was using this code for a long time in my document. I have a PDF with 10 pages, and this would randomly display one of those pages:    \ctxlua{math.randomseed( os.time() )}         \getrandomnumber \n {1} {10}      \placefigure[force

Re: [NTG-context] Custom engine settings in AUCTEX

2022-06-17 Thread skrantajanneman via ntg-context
It worked as expected.Thank you very much for your help./Jan-Erik mvh Jan-Erik Hägglöf  Originalmeddelande Från: fv leung via ntg-context Datum: 2022-06-15 00:46 (GMT+01:00) Till: mailing list for ConTeXt users Kopia: fv leung Ämne: Re: [NTG-context] Custom engine settings

Re: [NTG-context] lmtx installation paths not working

2022-06-17 Thread Jano Kula via ntg-context
Hello list, thank you all for your advices. Aditya was right. There was some mess in PATH variable. Lesson learned: start with explicit paths to executables. Still where mtxrun (Windows) was pointing to the right one, which was fooling me. I've noticed the problem with antivirus SW during the fi

[NTG-context] How to print a random whole number between x and y?

2022-06-17 Thread Joel via ntg-context
I was using this code for a long time in my document. I have a PDF with 10 pages, and this would randomly display one of those pages:    \ctxlua{math.randomseed( os.time() )}                  \getrandomnumber \n {1} {10}              \placefigure[force, none]{}{\framed[frame=off]{\externalfi

Re: [NTG-context] \setuplist only for bodypart

2022-06-17 Thread Pablo Rodriguez via ntg-context
On 6/16/22 22:36, Henning Hraban Ramm via ntg-context wrote: > Am 16.06.22 um 21:19 schrieb Pablo Rodriguez via ntg-context: > >>\startsectionblockenvironment[bodypart] >> ... >>\stopsectionblockenvironment > > This should work according to documentation. Many thanks for your reply,