ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Henning Hraban Ramm <texml@fiee.net>
Subject: Re: columnset issues
Date: Mon, 27 Jan 2020 20:28:40 +0100	[thread overview]
Message-ID: <9466830e-ba0e-63e8-15b0-e9e747ff1e26@gmail.com> (raw)
In-Reply-To: <A1D222DB-0BDE-4B02-9CFD-53853F45F9C2@fiee.net>

Henning Hraban Ramm schrieb am 27.01.2020 um 10:31:
>> Am 2020-01-26 um 13:07 schrieb Henning Hraban Ramm <texml@fiee.net>:
>>
>> I thought I’d try columnset areas for the placement of ads:
> This MWE shows better what’s going on:
> The "area" space is reserved as requested, but its contents get placed elsewhere.
>
>
> \usemodule[visual]
> \useMPlibrary[dum]
> \definecolor[fakerulecolor][gray]
> \setuplayout[
>    grid=yes,
> ]
> \showframe[text]
> \showgrid
>
> \definecolumnset[Two][
>    n=2,
>    page=no,
> ]
> %\definecolumnsetspan[TwoSpan][n=2]
> \definecolumnsetarea[AdSpace][
>    x=1,y=21,
>    nx=1,ny=21,
>    state=stop,
>    frame=on,
>    framecolor=magenta,
> ]
>
>
> \starttext
> \startcolumnset[Two]
>
> \dorecurse{10}{\fakewords{100}{120}\par}
>
> \setupcolumnsetarea[AdSpace][state=start]
> \setupcolumnsetareatext[AdSpace]{\externalfigure[MyAd][width=\textwidth,height=0.45\textheight]}

You need brackets for both argument, i.e. 
\setupcolumnsetareatext[...][...] but even then your example only works 
when I place the areatext before \startcolumnset.

Wolfgang

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2020-01-27 19:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-19 22:38 Henning Hraban Ramm
2020-01-19 22:40 ` Henning Hraban Ramm
2020-01-20  6:54 ` another columnset issue (solved) Henning Hraban Ramm
2020-01-26 12:07 ` columnset issues Henning Hraban Ramm
2020-01-27  9:31   ` Henning Hraban Ramm
2020-01-27 19:28     ` Wolfgang Schuster [this message]
2020-01-27 22:22       ` Henning Hraban Ramm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9466830e-ba0e-63e8-15b0-e9e747ff1e26@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).