Re: [NTG-context] framed text over multiple pages

2010-08-30 Thread Aditya Mahajan

On Mon, 30 Aug 2010, Mojca Miklavec wrote:


Dear list,

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 :-)


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.


Aditya
___
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
___


Re: [NTG-context] framed text over multiple pages

2010-08-30 Thread Mojca Miklavec
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.

If I spend too much time solving ConTeXt-related issues this week, I
will run out of time and won't be able to go to the ConTeXt conference
... :) :) :) I don't want to repeat the history this month.

>> 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 ...

Thanks,
Mojca
___
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
___


Re: [NTG-context] framed text over multiple pages

2010-08-30 Thread Aditya Mahajan

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___
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
___


Re: [NTG-context] framed text over multiple pages

2010-08-30 Thread Hans Hagen

On 30-8-2010 7:42, 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.


hey, these textbackgrounds have been in mkii for a long time ... 
actually I must see if I can make them better in mkiv


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] framed text over multiple pages

2010-08-30 Thread Hans Hagen

On 30-8-2010 8:11, Aditya Mahajan wrote:

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.


We expect her to take a copy to the conference. At least we need to 
check if she used tex at all. Or maybe it was just excessive use of 
\fakewords and \fakeformula after page 10.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] framed text over multiple pages

2010-08-30 Thread Hans Hagen

On 30-8-2010 7:23, Aditya Mahajan wrote:

On Mon, 30 Aug 2010, Mojca Miklavec wrote:


Dear list,

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 :-)


imagine how more better mkiv would have been if Mojca had been using it ...

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___