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
Thomas A. Schmitz mailto:thomas.schmitz@uni-bonn.de 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
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
participants (2)
-
Thomas A. Schmitz
-
Wolfgang Schuster