ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* MP background for text typeset by \typefile
@ 2020-11-05 13:36 context
  0 siblings, 0 replies; only message in thread
From: context @ 2020-11-05 13:36 UTC (permalink / raw)
  To: ConTeXt

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-05 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 13:36 MP background for text typeset by \typefile context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).