ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* using two columns on a poster (\setlayerframed)
@ 2012-10-23 13:58 Mojca Miklavec
  2012-10-23 14:05 ` Aditya Mahajan
  0 siblings, 1 reply; 6+ messages in thread
From: Mojca Miklavec @ 2012-10-23 13:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

this is probably the most trivial question, but I'm still confused:
how can I use two columns inside \setlayerframed?

\startbuffer[abstract]
\startcolumns[two] % doesn't help
\input tufte

\input tufte
\stopcolumns
\stopbuffer

\definelayer[paper][width=\paperwidth,height=\paperheight]
\setupbackgrounds[page][background=paper]

\setlayerframed[paper]
  [preset=lefttop,hoffset=.05\paperwidth,voffset=5cm]
  [width=0.9\paperwidth,align=normal,offset=5mm]
  {\getbuffer[abstract]}

I would be grateful for any hints,
    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
___________________________________________________________________________________


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

* Re: using two columns on a poster (\setlayerframed)
  2012-10-23 13:58 using two columns on a poster (\setlayerframed) Mojca Miklavec
@ 2012-10-23 14:05 ` Aditya Mahajan
  2012-10-23 14:21   ` Mojca Miklavec
  0 siblings, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2012-10-23 14:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Perhaps, \startsimplecolumns

Aditya

On Tue, 23 Oct 2012, Mojca Miklavec wrote:

> Hello,
>
> this is probably the most trivial question, but I'm still confused:
> how can I use two columns inside \setlayerframed?
>
> \startbuffer[abstract]
> \startcolumns[two] % doesn't help
> \input tufte
>
> \input tufte
> \stopcolumns
> \stopbuffer
>
> \definelayer[paper][width=\paperwidth,height=\paperheight]
> \setupbackgrounds[page][background=paper]
>
> \setlayerframed[paper]
>  [preset=lefttop,hoffset=.05\paperwidth,voffset=5cm]
>  [width=0.9\paperwidth,align=normal,offset=5mm]
>  {\getbuffer[abstract]}
>
> I would be grateful for any hints,
>    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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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] 6+ messages in thread

* Re: using two columns on a poster (\setlayerframed)
  2012-10-23 14:05 ` Aditya Mahajan
@ 2012-10-23 14:21   ` Mojca Miklavec
  2012-10-23 14:54     ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Mojca Miklavec @ 2012-10-23 14:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.
<inserted text>
                \fi
<*> poster.tex

?

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
___________________________________________________________________________________


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

* Re: using two columns on a poster (\setlayerframed)
  2012-10-23 14:21   ` Mojca Miklavec
@ 2012-10-23 14:54     ` Hans Hagen
  2012-10-23 18:42       ` Mojca Miklavec
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2012-10-23 14:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

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.
> <inserted text>
>                  \fi
> <*> poster.tex
>
> ?

so how does your code look

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 6+ messages in thread

* Re: using two columns on a poster (\setlayerframed)
  2012-10-23 14:54     ` Hans Hagen
@ 2012-10-23 18:42       ` Mojca Miklavec
  2012-10-23 19:36         ` luigi scarso
  0 siblings, 1 reply; 6+ messages in thread
From: Mojca Miklavec @ 2012-10-23 18:42 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

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.
>> <inserted text>
>>                  \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
___________________________________________________________________________________


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

* Re: using two columns on a poster (\setlayerframed)
  2012-10-23 18:42       ` Mojca Miklavec
@ 2012-10-23 19:36         ` luigi scarso
  0 siblings, 0 replies; 6+ messages in thread
From: luigi scarso @ 2012-10-23 19:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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.
> >> <inserted text>
> >>                  \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

[-- Attachment #1.2: Type: text/html, Size: 3547 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] 6+ messages in thread

end of thread, other threads:[~2012-10-23 19:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-23 13:58 using two columns on a poster (\setlayerframed) Mojca Miklavec
2012-10-23 14:05 ` Aditya Mahajan
2012-10-23 14:21   ` Mojca Miklavec
2012-10-23 14:54     ` Hans Hagen
2012-10-23 18:42       ` Mojca Miklavec
2012-10-23 19:36         ` luigi scarso

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