Re: Nesting macros interpolated as strings

2024-10-07 Thread onf
On Mon Oct 7, 2024 at 7:17 PM CEST, onf wrote: > [...] > On Mon Oct 7, 2024 at 2:09 PM CEST, G. Branden Robinson wrote: > > [...] > > Unless...hmm. Unless maybe the problem that this trick of punning a > > macro to a string won't work when quotation marks surround the macro > > interpolation, beca

Re: Nesting macros interpolated as strings

2024-10-07 Thread onf
Hi Branden, thank you for taking the time to look into this. On Mon Oct 7, 2024 at 2:09 PM CEST, G. Branden Robinson wrote: > [...] > At 2024-10-05T23:32:33+0200, onf wrote: > > sit \*[1 A "\\*[2 "B*[3 C D]E" F]G" H] amet. > > > > Once I change it to be an actual macro, though, it reports

Re: Nesting macros interpolated as strings

2024-10-07 Thread G. Branden Robinson
Hi onf, At 2024-10-05T23:32:33+0200, onf wrote: > Here is a short example of the sort of thing I am trying to get > to work: [...] > sit \*[1 A "\\*[2 "B*[3 C D]E" F]G" H] amet. > > Once I change it to be an actual macro, though, it reports this: > troff: backtrace: 'FILE.tr':17: macro '1

Nesting macros interpolated as strings

2024-10-05 Thread onf
Hi all, I am trying to nest multiple macros which are called using string syntax with arguments. I intend to use this to build macros which can be combined, such as a superscript within an italic macro (which automatically adds italic correction between the italic text and anything immediately pre