ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: framed text over multiple pages
Date: Mon, 30 Aug 2010 14:11:57 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.01.1008301409010.19382@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <AANLkTin+P7A6qxHKPffV0x54KGs3KOovED6kdX+S4F9p@mail.gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1733 bytes --]

On Mon, 30 Aug 2010, Mojca Miklavec wrote:

> On Mon, Aug 30, 2010 at 19:23, Aditya Mahajan wrote:
>> On Mon, 30 Aug 2010, Mojca Miklavec wrote:
>>
>>> I'm trying to find the command (in manual, wiki or mailing list) that
>>> enables using background behind text spanning over multiple pages.
>>
>> Hey, you are getting rusty :-)
>
> I am. In past I used to spend much longer solving ConTeXt-related
> issues than writing reports which turned out to be a very bad strategy
> for the sake of writing speed. On top of that, I didn't manage to
> follow the MKIV development anywhere closely ... and this is
> definitely one of areas where much more is possible in MKIV than it
> used to be possible in MKII.

I will believe that you are writing something when I see your thesis :-) I 
have heard rumours that it exists.

>>> At the moment I have
>>>
>>> \startframedtext
>>>  [width=\textwidth,
>>>  background=color,
>>>  backgroundcolor=mycolor1,
>>>  frame=off,
>>>  leftframe=on,
>>>  framecolor=mycolor2]
>>>
>>> but I remember that there used to be a command that allowed doing the
>>> same, but spanning the text over multiple pages.
>>
>> backgrounds and textbackgrounds. IIRC, they are documented in the details
>> manual.
>
> Oh, sure, thanks a lot. However ... \definetextbackground doesn't seem
> to support leftframe=on. That means that I need to use metapost to
> draw it ... (or just continue searching) ... or even better ... ignore
> my idea to draw the left frame and just continue writing ...

Drawing a left frame using a metapost shouldn't be too hard.

draw leftboundary OverlayBox withpen pencircle scaled 1bp withcolor red ;

(or something like that).

Aditya

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2010-08-30 18:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-30 17:21 Mojca Miklavec
2010-08-30 17:23 ` Aditya Mahajan
2010-08-30 17:42   ` Mojca Miklavec
2010-08-30 18:11     ` Aditya Mahajan [this message]
2010-08-30 19:15       ` Hans Hagen
2010-08-30 19:13     ` Hans Hagen
2010-08-30 19:23   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.01.1008301409010.19382@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).