ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
Subject: Re: no indent after figure
Date: Sun, 10 Sep 2006 15:38:52 +0200	[thread overview]
Message-ID: <20060910153852.abfcfc15.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <4502A015.7916.3F7846@wwl.musensturm.de>

On Sat, 09 Sep 2006 11:05:57 +0200
"Wolfgang Werners-Lucchini" <wwl@musensturm.de> wrote:

> > The following works on my machine
> > 
> > \setupindenting[yes,medium]
> > \setupfloats[indentnext=yes]
> > 
> > \starttext
> > 
> > \input knuth \par
> > 
> > \placefigure
> >     {}
> >     {\framed
> >         [offset=none,
> >          width=0.6\makeupwidth,
> >          height=0.4\textheight]
> >         {figure}}
> > 
> > 
> > \dorecurse{3}{\input knuth\par}
> > 
> > \stoptext
> > 
> > Wolfgang
> 
> Hallo Wolfgang!
> 
> Your example doesn't use 
> 
> \setupfloat[figure][default={page,high,none}]
> 
> and I found, that the option 'page' in this statement toggles 
> indenting of next paragraph!
> I don't understand this at all. Please, can someone explain the 
> interrelation between these two things?
> 
> And a second:
> It seems, that
> \setupfloats[indentnext=yes]
> has nothing to do with indenting of next paragraph.
> What is the real meaning of this option?
> 
> Wolfgang
> 

My problem, I was too fast with my answer.

The following example solves now your problem on my
machine without the ugly solution with \indentation.

\unprotect

\def\OTRONEdosomepagefloat#1[#2]%
  {%\checkwaitingfloats{#1}%
   \global\setbox#1\vbox
     {\unvbox#1%
      \vbox to \textheight
        {\doifnotinset\v!high{#2}\vfill
         \box\floatbox
         \doifnotinset\v!low{#2}\vfill}%
      \goodbreak}%
   \doinsertfloatinfo
   \dochecknextindentation\??bk
   \dorechecknextindentation}

\protect

\setupindenting[medium,yes]
\setupfloat[figure][default={page,high,none}]
\setupfloats[indentnext=yes]

\starttext

\dorecurse{2}{\input knuth \par}

\placefigure
	[]
	[fig:bild]
	{Text}
	{\hrule width 6cm height 14cm depth 0cm\relax}

\dorecurse{3}{\input knuth \par}

\stoptext

Hope it works for you too.

Wolfgang

  parent reply	other threads:[~2006-09-10 13:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.716.1157766348.2039.ntg-context@ntg.nl>
2006-09-09  9:05 ` Wolfgang Werners-Lucchini
2006-09-09 12:19   ` Renaud AUBIN
2006-09-10 13:38   ` Wolfgang Schuster [this message]
2006-09-10 14:48     ` margintext style batela
2006-09-10 20:16       ` batela
2006-09-11 10:04         ` margintext style and more batela
2006-09-11 14:02           ` Peter Rolf
2006-09-12 18:13             ` Hans Hagen
2006-09-09  9:05 ` no indent after figure Wolfgang Werners-Lucchini
     [not found] <mailman.764.1158082932.2039.ntg-context@ntg.nl>
2006-09-12 19:45 ` Wolfgang Werners-Lucchini
     [not found] <mailman.733.1157963375.2039.ntg-context@ntg.nl>
2006-09-12  8:58 ` Wolfgang Werners-Lucchini
2006-09-12 16:09   ` Wolfgang Schuster
2006-09-08 13:29 Wolfgang Werners-Lucchini
2006-09-08 14:43 ` David Arnold
2006-09-08 15:47   ` Wolfgang Schuster

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=20060910153852.abfcfc15.schuster.wolfgang@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).