[NTG-context] Re: using an end of line as parameter

2024-02-22 Thread madiazm . eoicc
Thanks again Bruce. I will play with the code a bit. Miguel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Re: using an end of line as parameter

2024-02-21 Thread Bruce Horrocks
> On 21 Feb 2024, at 08:17, madiazm.eo...@gmail.com wrote: > > Thanks a lot Bruce, that did the trick! definitely I will have to learn a bit > lua in summer. > I just got an error on \qquad and found searching in internet that it was > because escape character conflicts between tex and lua.

[NTG-context] Re: using an end of line as parameter

2024-02-21 Thread madiazm . eoicc
Thanks a lot Bruce, that did the trick! definitely I will have to learn a bit lua in summer. I just got an error on \qquad and found searching in internet that it was because escape character conflicts between tex and lua. For the time i removed it and since I will create itemizes I hope I dont

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread Bruce Horrocks
> On 20 Feb 2024, at 12:59, madiazm.eo...@gmail.com wrote: > > no, I just want to split at the end of each sentence to get the four > arguments: now I pass this four lines to my macro \tareaAbc (with the dirty > trick of ñ) > > In den Büchereien gibt es auch …ñ > … Kuchen.ñ > …

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread madiazm . eoicc
no, I just want to split at the end of each sentence to get the four arguments: now I pass this four lines to my macro \tareaAbc (with the dirty trick of ñ) In den Büchereien gibt es auch …ñ … Kuchen.ñ … Theater.ñ … Workshops.ñ and I wish your context.foo(lines[i]) iteration

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread Hans Hagen
On 2/20/2024 12:26 PM, madiazm.eo...@gmail.com wrote: Thanks Hans, I supposed that lua would be more suitable, but unfortunately I still did not learn it (I hope in summer I have time to read the manual) The problem arises from the fact that for each line i will perform a different action and

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread madiazm . eoicc
Thanks Hans, I supposed that lua would be more suitable, but unfortunately I still did not learn it (I hope in summer I have time to read the manual) The problem arises from the fact that for each line i will perform a different action and for \def\foo I need four arguments so that I can

[NTG-context] Re: using an end of line as parameter

2024-02-19 Thread Hans Hagen
On 2/19/2024 1:49 PM, Miguel Diaz wrote: Dear list, I want to format some language tests that different people are preparing. Each one uses different software and there are always problems in format that i want to solve. for a a/b/c questions I receive text that I will format to a list