Re: [NTG-context] frames for left/right pages

2016-10-10 Thread Thomas A. Schmitz

On 10/10/2016 12:47 PM, Wolfgang Schuster wrote:

Are you looking for streams, the mechanism Hans added for you years ago?


I'll have to look into Hans's rewrite of streams. As far as I remember, 
they were much more complex (offering synchronization etc.). Also, 
streams seem to be bound to full pages and don't offer backgrounds. So I 
think I'm looking for something simpler, yet more versatile.


Thomas
___
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] frames for left/right pages

2016-10-10 Thread Wolfgang Schuster

Thomas A. Schmitz 
10. Oktober 2016 um 12:13
Hi,

I have a wish list for independent frames and would like to know if 
this is possible in ConTeXt:


1. left and right pages in a doublesided document have frames with 
independent text flow, i.e. the text from p. 2 continues on p. 4, from 
p. 3 on p. 5, etc. The frames are regular frames and can have 
backgrounds, borders, etc.


2. After a couple of pages, these frames end. Below them, the text 
flows normally, i.e. begins below frame on p. 6 and continues below 
frame on p. 7.


3. Since I want to take my data from xml, the content of the frames 
will be taken from buffers.


So this would give, in pseudo-code:

\starttext

\startleftrightbuffers
\leftframe{\getbuffer[left]}

\rightframe{\getbuffer[right}
\stopleftrightbuffers

Here, the normal text begins, it will flow below the frames...

\stoptext

Is this possible? How would I code that?

Are you looking for streams, the mechanism Hans added for you years ago?

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

[NTG-context] frames for left/right pages

2016-10-10 Thread Thomas A. Schmitz

Hi,

I have a wish list for independent frames and would like to know if this 
is possible in ConTeXt:


1. left and right pages in a doublesided document have frames with 
independent text flow, i.e. the text from p. 2 continues on p. 4, from 
p. 3 on p. 5, etc. The frames are regular frames and can have 
backgrounds, borders, etc.


2. After a couple of pages, these frames end. Below them, the text flows 
normally, i.e. begins below frame on p. 6 and continues below frame on p. 7.


3. Since I want to take my data from xml, the content of the frames will 
be taken from buffers.


So this would give, in pseudo-code:

\starttext

\startleftrightbuffers
\leftframe{\getbuffer[left]}

\rightframe{\getbuffer[right}
\stopleftrightbuffers

Here, the normal text begins, it will flow below the frames...

\stoptext

Is this possible? How would I code that?

Thanks for any pointers

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