ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: columnset issues
Date: Mon, 27 Jan 2020 10:31:15 +0100	[thread overview]
Message-ID: <A1D222DB-0BDE-4B02-9CFD-53853F45F9C2@fiee.net> (raw)
In-Reply-To: <EB030ACE-9D9F-4B0F-88F3-57EEC0C8FFDC@fiee.net>


> 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]}

\fakewords{200}{200}

\stopcolumnset

\stoptext



HR
___________________________________________________________________________________
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  9:31 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 [this message]
2020-01-27 19:28     ` Wolfgang Schuster
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=A1D222DB-0BDE-4B02-9CFD-53853F45F9C2@fiee.net \
    --to=texml@fiee.net \
    --cc=ntg-context@ntg.nl \
    /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).