Tadziu Hoffmann <[email protected]> wrote:
 |Just a short addendum:
 |
 |Since you know that you'll only be stripping off one of the
 |known weekday names, there's also a simpler solution:
  ...
 |However, there is still a caveat with these solutions: although
 |\*[DATE*SHORT] may look like a (single-line) string expansion,
 |it is actually a (multi-line) macro call in disguise.  This
 |means that the following will not work:
 |
 |  .ds LH Formatted on \*[DATE*SHORT]
 |
 |(for example, to set the page header in some hypothetical
 |document).

Why this?  If i use \\*[DATE*SHORT] anything is fine, so it is
because the macro is evaluated while the string is defined.
Is this restriction documented somewhere?  If not it is a bug to
keep on the TODO list, thank you!

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to