From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96416 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: frames for left/right pages Date: Mon, 10 Oct 2016 12:47:08 +0200 Message-ID: <57FB71AC.7020709@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3032745755499795716==" X-Trace: blaine.gmane.org 1476096463 5612 195.159.176.226 (10 Oct 2016 10:47:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2016 10:47:43 +0000 (UTC) User-Agent: Postbox 5.0.4 (Macintosh/20161007) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 10 12:47:39 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btY7N-0000sQ-OT for gctc-ntg-context-518@m.gmane.org; Mon, 10 Oct 2016 12:47:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 901D41A920; Mon, 10 Oct 2016 12:47:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XtKix-MbmFt4; Mon, 10 Oct 2016 12:47:23 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id D4A121A97F; Mon, 10 Oct 2016 12:47:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DEB1C1A8FB for ; Mon, 10 Oct 2016 12:47:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eeIrrlHibX40 for ; Mon, 10 Oct 2016 12:47:22 +0200 (CEST) Original-Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 466FB1A8B4 for ; Mon, 10 Oct 2016 12:47:12 +0200 (CEST) Original-Received: by mail-lf0-f53.google.com with SMTP id b81so119153568lfe.1 for ; Mon, 10 Oct 2016 03:47:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=5RvC97fqMWFt/tFh/tsN8azmvP8oNM+xUeaDDX1grSY=; b=V8xAC19Dwwyv8d2uzdtkIJTGpbcOdFWgTL4k5g+vkf5XtRuc1LkDCrRqqF1F8W47M+ +8ifLbPMqDT8R4+uR/SBNaN7I3mbd3zA/XZD1P3egyW3TQbBWBbhUxxfzBMLAlgQRG9S vd3nEWBnf4fucf3M73Zf5sNzKEOldRXNNAP8Goq82NnRAs6QR/oLi5qa+Czo49sG0cG9 2VWZ5Xv3/anvLJdAxi/0/c5eSqK5MrzOLHeDNUxARoWZkASw0SC5Egp1jaJYJXZlK8m6 l/L+7uy7pgYTc2j0elrHOcmcaiVL96FIauAKTFeOdT24Nlvw+331g8BgyCvKSY0fhgKd jrjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=5RvC97fqMWFt/tFh/tsN8azmvP8oNM+xUeaDDX1grSY=; b=RQNvSnyfqUZoQ+5F5GSCIgS9UY0+PPPwpSLjgCEUYi+CoMeqWBimqgoB4RpA53PRDW bSATxbPiByp45moPgpEoNngl82GpmNjMufM3JG4ctbOe2ZOIV292bubng/7BguLvoqGk SmCjTtGI3ltucTrifP2ipvxgh6t8a+3p77qQ6ssAHWReg/v28tgn4V7wEHMDPls2UPdP R0n8dkH+ncdeIgNMEmaVhPj4PKcicwFT1ymWe6Aeg4pMjoRr8VOGzu2Te3go83JuZY5Z StDLj4AS8JAiRZFCfmhm3LXr697ST7t6Jv9SEwofwI5Absm8drpRgC2TcONsv2DWKvu2 z36w== X-Gm-Message-State: AA6/9RnAdX0QE8j323DmuziTjC+nw3ziL1DKJlSPmVGHlbSU55xrhx4BH2PU+3U/iOGvSA== X-Received: by 10.46.9.75 with SMTP id 72mr13063618ljj.48.1476096431002; Mon, 10 Oct 2016 03:47:11 -0700 (PDT) Original-Received: from keima.localdomain (x2f23e0b.dyn.telefonica.de. [2.242.62.11]) by smtp.gmail.com with ESMTPSA id 35sm6157067lfp.5.2016.10.10.03.47.09 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 10 Oct 2016 03:47:10 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:96416 Archived-At: This is a multi-part message in MIME format. --===============3032745755499795716== Content-Type: multipart/alternative; boundary="------------050805030600040002000603" This is a multi-part message in MIME format. --------------050805030600040002000603 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > 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 --------------050805030600040002000603 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
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
--------------050805030600040002000603-- --===============3032745755499795716== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============3032745755499795716==--