From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Float placement problem
Date: Thu, 29 Sep 2011 10:39:06 +0200 [thread overview]
Message-ID: <CAG5iGsDvMObDwKV8Dim8Dez4Atc0s03cT=Sr--sS1DxvzEzWaw@mail.gmail.com> (raw)
In-Reply-To: <20110929083232.GN13112@rae.vm.bytemark.co.uk>
On Thu, Sep 29, 2011 at 10:32 AM, Pontus Lurcock <pont@talvi.net> wrote:
> On Thu 29 Sep 2011, luigi scarso wrote:
>
>> hm , it looks like a bad match with between width=17cm and textwidth
>> This extreme example seems to works
>> \setuplayout[location=doublesided,width=20pc]
>> \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=30pc]}\page}
>> \stoptext
>
> Thanks! The \page after the figure certainly seems to fix it.
> Unfortunately a page break after every figure is impractical in my
> real document, but this might put me on the track of a solution (once
> I've read the layout manual a couple more times).
I 've put \page just to show quickly the effect, but maybe there are
still problems
\setuplayout[location=doublesided,width=20pc]
\setuppagenumbering[alternative=doublesided,location={margin,header}]
\setupfloat[figure][location=inner]
\showframe
\starttext
% An extra page. \page[yes]
\dorecurse{40}{
\placefigure[here]{caption}{\externalfigure[cow.pdf][width=30pc]}}
\stoptext
--
luigi
___________________________________________________________________________________
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:[~2011-09-29 8:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-25 9:03 Pontus Lurcock
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 [this message]
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='CAG5iGsDvMObDwKV8Dim8Dez4Atc0s03cT=Sr--sS1DxvzEzWaw@mail.gmail.com' \
--to=luigi.scarso@gmail.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).