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, because quotation marks can't span lines in GNU troff. > > Or any roff, really. (But only in GNU troff can string interpolations > > take arguments, so it probably arises only for us.) > > [...] > If that was the case, this interpolation on line 23 should fail > similarly, but it works just fine: > Lorem ipsum \*[1 "\\*[2 A B]" C] dolor > [...]
Correction. You are right about this, of course, quoted arguments cannot span multiple lines (without \NEWLINE I suppose), it's just that in my example I escaped the string interpolation so that the argument is in fact the \*[...] escape rather than its result. Sorry for the confusion on my part. ~ onf