ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* frames for left/right pages
@ 2016-10-10 10:13 Thomas A. Schmitz
  2016-10-10 10:47 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas A. Schmitz @ 2016-10-10 10:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: frames for left/right pages
  2016-10-10 10:13 frames for left/right pages Thomas A. Schmitz
@ 2016-10-10 10:47 ` Wolfgang Schuster
  2016-10-10 10:58   ` Thomas A. Schmitz
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2016-10-10 10:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1077 bytes --]

> 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

[-- Attachment #1.2: Type: text/html, Size: 2102 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: frames for left/right pages
  2016-10-10 10:47 ` Wolfgang Schuster
@ 2016-10-10 10:58   ` Thomas A. Schmitz
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas A. Schmitz @ 2016-10-10 10:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-10 10:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-10 10:13 frames for left/right pages Thomas A. Schmitz
2016-10-10 10:47 ` Wolfgang Schuster
2016-10-10 10:58   ` Thomas A. Schmitz

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