One note about the docs: when you write:
(open-input-string
"«this is a string with nested «string delimiters.» No \n escape
interpreting.»")
the "\n" is already escaped by the "…" fed into open-input-string I think, so
what udelim parses in that example is a raw newline, not the \ character followed by the n
character.
Thanks, I clearly wasn't thinking about that very hard while writing the
docs. Fixed.
Scribble supports "element transformers" which allow to change how an
identifier is printed. Unfortunately, when the identifier appears in the first position
of a form (like the #% wrappers), only the identifier itself can get styled, not the
whole form. I added a few days ago a quick hack to my unstable scribble-enhanced library
to add catch-alls which can re-style any identifier matching a given pattern. The hack
[1] should also work for whole forms (untested, though), so that in scribble or
scribble/lp2, @racketblock[(a ⟦b⟧ c)] would be properly typeset.
Thanks. I didn't put too much thought into the typesetting so far
(apologies to Mr. Butterick), but I'll look into that more when the
library stabilizes more.
--
You received this message because you are subscribed to the Google Groups "Racket
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.