ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: float at fixed position
Date: Thu, 22 Apr 2010 20:15:48 +0200	[thread overview]
Message-ID: <4BD09254.8010609@gmx.net> (raw)

Hi,

in a multi column layout I want to place a figure at a fixed position.
Inserting a floating object at a fixed position doesn't make any sense,
but I need the correct caption (number) for the graphic. Sadly
\placefigure fails with

[..]
todo            : flush notes
todo            : enable notes
! Missing number, treated as zero.
<to be read again>
                   \@@mc5@@mcwidth
\@@ar@@4 ...ace \OTRSETlocalwidth \scratchcounter
                                                  \relax
\OTRSETcheckwidthga...
\redoloop ->\expandrecursecontent
                                  \endofloop
<to be read again>
                   {
<inserted text>
                2
\dodoloop ...mexpr \recurselevel +\plusone \relax
                                                  }
...
l.16 \stopcolumnset

?

Is this a bug or am I misusing the macro too much?
Example code at the end of this mail.

Peter


%----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
MTXrun | current version: 2010.04.16 21:08
This is LuaTeX, Version beta-0.60.1-2010042015 (rev 3640)

%----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
\usemodule[visual]

\definecolumnset[example][n=4]

\definecolumnsetarea[one][left][x=1,y=1,nx=6,ny=6,state=start]

\setupcolumnsetareatext[one][left][\setup{test}]
\startsetups test
\placefigure[here][test]{test}{\externalfigure[cow]}
\stopsetups

\starttext
\startcolumnset[example]
\dorecurse{25}{\fakewords{50}{100}}
\stopcolumnset
\stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________


             reply	other threads:[~2010-04-22 18:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-22 18:15 Peter Rolf [this message]
2010-04-23 17:44 ` Hans Hagen
2010-04-24 10:42   ` Peter Rolf
2010-04-25 14:41     ` Hans Hagen

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=4BD09254.8010609@gmx.net \
    --to=indiego@gmx.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).