ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Ehrt, Michael" <m.ehrt@erco.com>
Subject: Re: Controlling figure placement?
Date: Wed, 24 May 2006 09:53:49 +0200	[thread overview]
Message-ID: <10C8ED7CC6CC394398FBA362460B32100FAE7851@ex1.erco.com> (raw)

Hi again, 

> Is there a way that gives more control over figure placement within a
> columnset area? What I'd like to do is:
> 
> - have a columnset area that covers a whole page
> - if possible, leave out headers and footers on that page (don't know
> how)
> - place an external figure on that page which is the same size as the
> whole page, 210 by 297mm.
> 
> What I tried so far is:
> 
> \definecolumnset[test][n=3,distance=15pt]
> \definecolumnsetspan[intro][n=2]
> \definecolumnsetarea[one][fixed][x=1,y=1,nx=3,ny=46,page=3,sta
> te=start]
> \definecolumnsetarea[two][fixed][x=1,y=1,nx=3,ny=46,page=5,sta
> te=start]
> \setupcolumnsetareatext[one][\setups{mypdf}]
> \setupcolumnsetareatext[two][\setups{myjpg}]
> \startsetups[mypdf]\externalfigure[01-x3.pdf]\stopsetups
> \startsetups[myjpg]\externalfigure[01.jpg]\stopsetups


I managed to clear headers and footers by using

\setupcolumnsetareatext[one][{\page[no,blank]\setups{mypdf}}]
\setupcolumnsetareatext[two][{\page[no,blank]\setups{myjpg}}]

But this has the problem that it clears ALL headers and footers on
subsequent pages. Trying to clear them using
\setupheader[text][state=empty] here didn't work. What I actually looked
for was something like

\adaptlayout[3,5][command={\setupheader[text][state=empty]\setupfooter[t
ext][state=empty]}]

But this doesn't exist. Also, changing the layout width is not possible
with adaptlayout, which might fix the left-right-positioning...

Does anyone know how to do it?

Cheers

Michael

             reply	other threads:[~2006-05-24  7:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-24  7:53 Ehrt, Michael [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-05-24  9:18 Ehrt, Michael
2006-05-24  6:04 Ehrt, Michael

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=10C8ED7CC6CC394398FBA362460B32100FAE7851@ex1.erco.com \
    --to=m.ehrt@erco.com \
    --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).