ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pontus Lurcock <pont@talvi.net>
To: ConTeXt list <ntg-context@ntg.nl>
Subject: Float placement problem
Date: Sun, 25 Sep 2011 22:03:14 +1300	[thread overview]
Message-ID: <20110925090314.GA13112@rae.vm.bytemark.co.uk> (raw)

Hello,

I've recently updated my standalone (32-bit Linux) ConTeXT from
2011.02.25 to 2011.09.20, and I'm now having some trouble with float
placement. I'm using MkIV. I'm trying to have figures protruding into
the outer margins with a double-sided layout, as described here:

http://wiki.contextgarden.net/Floating_Objects#Protruding_Floats_in_Double-Sided_Documents

Here is my minimal example:

\setuplayout[location=doublesided]
\setuppagenumbering[alternative=doublesided,location={margin,header}]
\setupfloat[figure][location=inner]
\showframe
\starttext
% An extra page. \page[yes]
\dorecurse{4}{
\placefigure[]{caption}{\externalfigure[cow.pdf][width=17cm]}}
\stoptext

With version 2011.02.25 this produces the desired result; with
2011.09.20, the first figure is placed correctly, and all subsequent
figures protrude in the same direction, whether they're on an even or
odd page. So in the given example they all protrude to the right. If
an extra page is inserted at the start so that the first figure is on
an even page, they all protrude to the left.

Does anyone have any ideas or insights?

Thanks in advance,

Pont
___________________________________________________________________________________
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:[~2011-09-25  9:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-25  9:03 Pontus Lurcock [this message]
2011-09-29  7:36 ` Pontus Lurcock
2011-09-29  7:53   ` luigi scarso
2011-09-29  8:32     ` Pontus Lurcock
2011-09-29  8:39       ` luigi scarso
2011-09-29 21:56         ` Pontus Lurcock
2011-10-01  5:59 ` Wolfgang Schuster
2011-10-02  8:39   ` Pontus Lurcock
2011-10-02  9:03     ` Wolfgang Schuster
2011-10-02 23:59       ` Pontus Lurcock

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=20110925090314.GA13112@rae.vm.bytemark.co.uk \
    --to=pont@talvi.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).