Re: AW: Macro's for making an exam.

2021-06-10 Thread Oliver Corff
Hi Keith, thank you for the correction. I apologize for the erroneous information I offered. I clearly confused that with the use of requests within tbl cells; they must be positioned at the beginning of the line. Please accept my apologies. Best regards, Oliver. On 10/06/2021 00:28, Keith

Re: AW: Macro's for making an exam.

2021-06-09 Thread Hans Bezemer
Thanks for all the suggests. This is indeed what I want. I will expand the `answer' part, because sometimes students have to draw stuff on a grid or into a given graph, but I can continue from here. Regards, Hans On 21/06/09 11:46PM, Keith Marshall wrote: > Apologies for any confusion, which t

Re: AW: Macro's for making an exam.

2021-06-09 Thread Keith Marshall
Apologies for any confusion, which this may have caused: On 09/06/2021 23:28, I wrote: > he should have: > >.de SOLUTION >. if (\\n[s] == 0) .ig SOLEND >. br >.. >.de ENDSOL >. \" Any clean-up required, at end of solution. >.. Of course, my ENDSOL macro should,

Re: AW: Macro's for making an exam.

2021-06-09 Thread Keith Marshall
On 09/06/2021 19:35, Oliver Corff wrote: > All .dot requests MUST be at the beginning of the line; in your code > example, the dot is not recognized. No, that is not so. The issue with Hans' example, (apart from the under escaping of register references within his macro definitions, as Peter has

AW: Macro's for making an exam.

2021-06-09 Thread Oliver Corff
Hi Hans, All .dot requests MUST be at the beginning of the line; in your code example, the dot is not recognized. Have a look at macros with conditional execution in any of the macro packages (ms, mm, etc - to be found under /usr/share/groff/current/macros iirc) how macros containing requests