From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78861 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: using two columns on a poster (\setlayerframed) Date: Tue, 23 Oct 2012 21:36:41 +0200 Message-ID: References: <5086AF95.2080904@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1359360190==" X-Trace: ger.gmane.org 1351021009 3538 80.91.229.3 (23 Oct 2012 19:36:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2012 19:36:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 23 21:36:57 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TQkHX-0005zq-0q for gctc-ntg-context-518@m.gmane.org; Tue, 23 Oct 2012 21:36:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DE8E610262; Tue, 23 Oct 2012 21:36:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0TGd4LH2JlSG; Tue, 23 Oct 2012 21:36:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AA6E210201; Tue, 23 Oct 2012 21:36:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E169810201 for ; Tue, 23 Oct 2012 21:36:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id et49BNkRgcW4 for ; Tue, 23 Oct 2012 21:36:42 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id B5835101FF for ; Tue, 23 Oct 2012 21:36:42 +0200 (CEST) Original-Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q9NJW43Z028568 for ; Tue, 23 Oct 2012 21:32:04 +0200 Original-Received: by mail-wg0-f45.google.com with SMTP id dq12so2825235wgb.2 for ; Tue, 23 Oct 2012 12:36:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=X91tcPmlI8Y974FFBX12c7+34jal1hv0UHJVEKCVxig=; b=eOJYDypLvCQ9sapq5dVV/5WgqJe+AP7g2lRmMZ0m0EnqCYGAogeTdZGjhZn6I1GBXd cwfr3lxHTUVfzK433b3RB5AEAlJiwWcnoUyVZd5Ba6rEeWJ8Zlw2VWKuFnp9sTLqqmuc UbkrDc0/mj3+odnUoNG6UZKrbCM5kkbWWP1jUWBVpRSPcCBhmSlN57FrCy/N1r86rBG4 yZSbtbZ/lKq3rjPWuHBOpAmyFQqPzM3Ef/FAplsOb83dGr/q5KxjeTCbycJZpW9GsGvs eFvCjgcuYDqasIDBlIhhSWglXhmhZM8Z8TRWOyVTilETO4OfHHHBkMacKlPNEWT9s2Tg B96g== Original-Received: by 10.216.197.133 with SMTP id t5mr7452001wen.176.1351021001295; Tue, 23 Oct 2012 12:36:41 -0700 (PDT) Original-Received: by 10.223.192.193 with HTTP; Tue, 23 Oct 2012 12:36:41 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WIeHw44J - a6f7eedf1d12 - 20121023 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78861 Archived-At: --===============1359360190== Content-Type: multipart/alternative; boundary=0016e6dd8f4bddc7fe04ccbf1666 --0016e6dd8f4bddc7fe04ccbf1666 Content-Type: text/plain; charset=UTF-8 On Tue, Oct 23, 2012 at 8:42 PM, Mojca Miklavec < mojca.miklavec.lists@gmail.com> wrote: > On Tue, Oct 23, 2012 at 4:54 PM, Hans Hagen wrote: > > On 23-10-2012 16:21, Mojca Miklavec wrote: > >> > >> On Tue, Oct 23, 2012 at 4:05 PM, Aditya Mahajan wrote: > >>> > >>> Perhaps, \startsimplecolumns > >> > >> > >> Ouch. It seems like I'm asking the same question over and over again, > >> and always get the same answer - to simplify things ;) This works in > >> MKIV, but I have some problems with math in MKIV. In MKII this fails > >> with > >> > >> ! Incomplete \iffalse; all text was ignored after line 49. > >> > >> \fi > >> <*> poster.tex > >> > >> ? > > > > so how does your code look > > Totally weird. I just realized that the percentage sign makes a > difference in whether it compiles or not (as soon as I remove the > percentage sign it starts working). I added the percentage sign since > that was the only way to prevent unwanted vertical space. (I'm not > sure what adds it.) > > \definelayer[paper][width=\paperwidth,height=\paperheight] > > \startbuffer[abstract]% <- this '%' is problematic > \startsimplecolumns > \input tufte > > \input tufte > \stopsimplecolumns > \stopbuffer > > \setlayerframed[paper] > [voffset=1cm] > [width=0.9\paperwidth] > {\getbuffer[abstract]} > > \starttext > > abc > > \stoptext > > 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 > > ___________________________________________________________________________________ > It's ok here with and without the % sign \definelayer[paper][width=\paperwidth,height=\paperheight] \starttext \startbuffer[abstract]% \startsimplecolumns \input tufte \input tufte \stopsimplecolumns \stopbuffer \setlayerframed[paper] [voffset=1cm] [width=0.9\paperwidth] {\getbuffer[abstract]} \setupbackgrounds[page][background=paper] abc \stoptext -- luigi --0016e6dd8f4bddc7fe04ccbf1666 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Tue, Oct 23, 2012 at 8:42 PM, Mojca M= iklavec <mojca.miklavec.lists@gmail.com> wrote:=
On Tue, Oct 23, 2012 at 4:54 PM, Hans Hagen wrote:
> On 23-10-2012 16:21, Mojca Miklavec wrote:
>>
>> On Tue, Oct 23, 2012 at 4:05 PM, Aditya Mahajan wrote:
>>>
>>> Perhaps, \startsimplecolumns
>>
>>
>> Ouch. It seems like I'm asking the same question over and over= again,
>> and always get the same answer - to simplify things ;) This works = in
>> MKIV, but I have some problems with math in MKIV. In MKII this fai= ls
>> with
>>
>> ! Incomplete \iffalse; all text was ignored after line 49.
>> <inserted text>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\fi<= br> >> <*> poster.tex
>>
>> ?
>
> so how does your code look

Totally weird. I just realized that the percentage sign makes a
difference in whether it compiles or not (as soon as I remove the
percentage sign it starts working). I added the percentage sign since
that was the only way to prevent unwanted vertical space. (I'm not
sure what adds it.)

\definelayer[paper][width=3D\paperwidth,height=3D\paperheight]

\startbuffer[abstract]% <- this '%' is problematic
\startsimplecolumns
\input tufte

\input tufte
\stopsimplecolumns
\stopbuffer

\setlayerframed[paper]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [voffset=3D1cm]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [width=3D0.9\paperwidth]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {\getbuffer[abstract]}

\starttext

abc

\stoptext

Mojca
_____________________= ______________________________________________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =C2=A0: http= ://www.pragma-ade.nl / http://tex.aanhet.net
archive =C2=A0: http://foundry.supelec.fr/projects/contextrev/
wiki =C2=A0 =C2=A0 : http://contextgarden.net
___________________________________________________________________________= ________

It's ok here with and without the % = sign

\definelayer[paper][width=3D\paperwidth,height=3D\paperheight]<= br>
\starttext

\startbuffer[abstract]%
\startsimplecolumns
\input tufte

\input tufte
\stopsimplecolumns
\stopbuffer
\setlayerframed[paper]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [vof= fset=3D1cm]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [width=3D0.9\pape= rwidth]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {\getbuffer[abstract]= }
\setupbackgrounds[page][background=3Dpaper]




abc

\stoptext


--
luigi<= br>
--0016e6dd8f4bddc7fe04ccbf1666-- --===============1359360190== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1359360190==--