Hi Nikolai, May be you should try a buffer to put the typing in. In the overlay you can call the buffer with \typebuffer[...] Willi Nikolai Weibull wrote:
I would like to put a rather large and complicated regular expression into the title-page of a document I'm writing. So far, I haven't had much luck defining an overlay that uses \starttyping ... \stoptyping.
Basically, what I figured I should do was to write
\defineoverlay [TitleGraphic] [{ \starttyping ... \stoptyping }]
and then
\setupbackgrounds[page][background=TitleGraphic]
But that doesn't work:
! Argument of \copyverbatimline has an extra }.
Have any suggestions on what I might try? Basically, what I want is a background with some arbitrary text, more or less like the pdfTeX user manual document does it [1], nikolai