Hello,

is there a way to draw custom background (via MP) to a text typed by \typefile, which is so long so it spreads over more pages?

- I'm asking because I know how to typeset some text via \typefile with:

1. this:

\definetyping[Test]
  [before={\startbackground[background=color,backgroundcolor=blue]
          },
   after={\stopbackground
         },
  ]

- which creates a rectangular backround to the text, and the text may spread over pages;

2. or this:

\defineoverlay[AnOverlayDefinition][]

\definetyping[Test]
  [before={\startframedtext[background=AnOverlayDefinition,
                           ]%
          },
   after={\stopframedtext
         },
  ]

- which allows to define a custom background via overlay/MP, but which encloses the text to be typeset into a framed, and thus doesn't spread over pages.

My intention is to "decore" the text typed by \typefile with a "fuzzy" background, which uses overlay/MP. But I am in the sitaution where I am able to figure out MP code just when the text is to be enclosed into \framed.

Is it possible to combine both cases? How?

Best regards,

Lukas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to