From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [***SPAM***] Float placement
Date: Sat, 15 Jun 2013 15:19:27 +0200 [thread overview]
Message-ID: <51BC69DF.1040407@gmx.net> (raw)
In-Reply-To: <201306142231.r5EMVGYM010962@leto.astradyne.corp>
Hi,
adding 'force' ([here,force]) should help 'here'. (sorry for the pun)
http://wiki.contextgarden.net/Command/placefloat
Peter
Am 15.06.2013 00:31, schrieb Tethys:
>
> I'm trying to typeset a book. It has two columns, and some floating
> diagrams. My problem is that the floats aren't going where I want
> them to and I can't work out how to fix it. My input source looks
> something like:
>
> \startcolumnset[foo]
> \subject{Blah}
>
> aaaa aaaa aaaa aaaa aaaa aaaa aaaa
>
> \placefigure[here]{First diagram}
> {\externalfigure[diagram1.jpg][width=2.3in]}
>
> bbbb bbbb bbbb bbbb bbbb bbbb bbbb
>
> \placefigure[here]{Second diagram}
> {\externalfigure[diagram2.jpg][width=2.3in]}
>
> cccc cccc cccc cccc cccc cccc cccc
>
> \placefigure[here]{Third diagram}
> {\externalfigure[diagram3.jpg][width=2.3in]}
>
> dddd dddd dddd dddd dddd dddd dddd
>
> What I expect to get out is a page something like this (excuse the
> ASCII graphics):
>
> +-----------------------------------------+
> | |
> | Blah cccc cccc cccc |
> | ---- cccc cccc cccc |
> | cccc cccc |
> | aaaa aaaa aaaa |
> | aaaa aaaa aaaa +--------------+ |
> | aaaa | ############ | |
> | | ############ | |
> | +--------------+ | ############ | |
> | | ############ | | ############ | |
> | | ############ | | ############ | |
> | | ############ | | ############ | |
> | +--------------+ | ############ | |
> | First diagram | ############ | |
> | +--------------+ |
> | bbbb bbbb bbbb Third diagram |
> | bbbb bbbb bbbb |
> | bbbb bbbb dddd dddd dddd |
> | dddd dddd dddd |
> | +--------------+ dddd dddd dddd |
> | | ############ | dddd dddd dddd |
> | | ############ | dddd dddd dddd |
> | | ############ | dddd dddd dddd |
> | +--------------+ dddd dddd |
> | Second diagram |
> | |
> | cccc cccc cccc |
> | cccc cccc cccc |
> | |
> +-----------------------------------------+
>
> What I'm actually getting out is this:
>
> +-----------------------------------------+
> | |
> | Blah +--------------+ |
> | ---- | ############ | |
> | | ############ | |
> | aaaa aaaa aaaa | ############ | |
> | aaaa aaaa aaaa +--------------+ |
> | aaaa Second diagram |
> | |
> | +--------------+ +--------------+ |
> | | ############ | | ############ | |
> | | ############ | | ############ | |
> | | ############ | | ############ | |
> | +--------------+ | ############ | |
> | First diagram | ############ | |
> | | ############ | |
> | bbbb bbbb bbbb | ############ | |
> | bbbb bbbb bbbb | ############ | |
> | bbbb bbbb +--------------+ |
> | Third diagram |
> | cccc cccc cccc |
> | cccc cccc cccc dddd dddd dddd |
> | cccc cccc cccc dddd dddd dddd |
> | cccc cccc cccc dddd dddd dddd |
> | cccc cccc dddd dddd |
> | |
> | dddd dddd dddd |
> | dddd dddd dddd |
> | dddd dddd dddd |
> | |
> +-----------------------------------------+
>
> Even though there is sufficient space in the first
> column, the second float is always being moved up
> to the top of the second column. I've tried pretty
> much every combination of here, force and always
> as the location keyword for the \placefloat, but
> it doesn't make any difference.
>
> Any idea what I can do to get the placement I
> want? The deadline for going to press is rapidly
> approaching and I'm getting a little concerned!
>
> Thanks,
>
> Tet
> ___________________________________________________________________________________
> 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
___________________________________________________________________________________
next prev parent reply other threads:[~2013-06-15 13:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-14 22:31 Tethys
2013-06-15 13:19 ` Peter Rolf [this message]
2013-06-15 13:29 ` Tethys
2013-06-15 15:55 ` Peter Rolf
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=51BC69DF.1040407@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).