ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: ntg-context@ntg.nl
Subject: Re: indent lost after \placefigure
Date: Thu, 11 Feb 2010 08:57:21 +0100	[thread overview]
Message-ID: <201002110857.21514.alan.braslau@cea.fr> (raw)
In-Reply-To: <4B738273.1010904@googlemail.com>

On Thursday 11 February 2010 05:07:15 Wolfgang Schuster wrote:
> Am 11.02.10 02:14, schrieb Tom:
> > When I place a figure at the bottom of a page, everything is fine if it
> > splits a paragraph, but if it falls between paragraphs, indentation of at
> > least one of the paragraphs, generally the one coming after the figure,
> > is lost. It appears that this has been a problem for some people over the
> > years.
> 
> \setupfloats[indentnext=yes]
> 

Can someone explain the design behind placefigure?
Indeed, I would expect it to create a float that is then placed
as best as possible according to certain criteria.
But it appears to be oriented towards only a certain use:
before or between paragraphs as it imposes a line break.
I have never understood the logic of this.

I would like to declare a float at any point, even in the middle
of a paragraph (for example, at the first instance referring to the
figure), so that the figure or table will be placed at the first instance
possible following the reference. Currently, this imposes a line break
(which makes sense for \placefigure [force] but not necessairly in other 
cases).

As things stand now, I find that I must declare my floats either
before or after the paragraph containing the figure or table reference.
The float then may appear before or long after its text reference,
in particular if the paragraph is long.

Furthermore, \setupfloats [indentnext=yes] is somewhat strange.
I suppose that it might make sense not to indent a new paragraph
following a section title, etc. but does it really make sense not
to indent a NEW paragraph following a break such as a displayed
figure, table, or formula, etc.?

Alan
___________________________________________________________________________________
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-02-11  7:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-11  1:14 Tom
2010-02-11  4:07 ` Wolfgang Schuster
2010-02-11  7:57   ` Alan BRASLAU [this message]
2010-02-11  8:00     ` Taco Hoekwater
2010-02-11 12:13     ` Alan BRASLAU
2010-02-11 12:23       ` Peter Münster
2010-02-11  8:07   ` automatic lettrine Alan BRASLAU
2010-02-11 13:41 ` indent lost after \placefigure Alan BRASLAU
2010-02-11 17:55   ` Aditya Mahajan
2010-02-11 19:01     ` Alan BRASLAU
2010-02-11 19:17       ` Aditya Mahajan
2010-02-11 19:50   ` Tom
2010-02-11 19:59     ` chapter headers (was: indent lost after \placefigure) Wolfgang Schuster
2010-02-11 21:41       ` Tom
2010-02-11 22:09         ` chapter headers Wolfgang Schuster
2010-02-12  0:13           ` Tom
2010-02-11  5:20 indent lost after \placefigure Tom Benjey

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=201002110857.21514.alan.braslau@cea.fr \
    --to=alan.braslau@cea.fr \
    --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).