ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Inconsistent behaviour of placefigure[left] for math	and text
Date: Fri, 14 Apr 2006 10:25:22 +0200	[thread overview]
Message-ID: <443F5C72.5020706@wxs.nl> (raw)
In-Reply-To: <Pine.WNT.4.63.0604132147270.3080@nqvgln>

Aditya Mahajan wrote:
> Hi,
>   When I use \placefigure[left] with some test, the text wraps around 
> the figure. But if the paragraph, contains some formula, it does not 
> wrap even after the figure is complete. How can I prevent such a 
> behaviour.
>
> Example
> \startbuffer[figure]
> \placefigure
>    [left]
>    {}{}
> \stopbuffer
>
> \startbuffer[test]
> \dorecurse{3}{\input knuth}
> \stopbuffer
>
> \startbuffer[mathtest]
> \dorecurse{3}{
> This is a dummy paragraph to support a little bit of math to show the 
> trouble
> with placefigure
> \startformula
>    a = b
> \stopformula
> This is a dummy paragraph to support a little bit of math to show the 
> trouble
> with placefigure
> This is a dummy paragraph to support a little bit of math to show the 
> trouble
> with placefigure}
> \stopbuffer
>
> \starttext
> \getbuffer[figure]
> \getbuffer[test]
>
> \page
>
> \getbuffer[figure]
> \getbuffer[mathtest]
>
>
> \stoptext
>   
add empty lines around the \start\stop pair 

(somehow display does not go well with the parshape (i must discuss this with taco) 

Hans 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2006-04-14  8:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-14  1:54 Aditya Mahajan
2006-04-14  8:25 ` Hans Hagen [this message]
2006-04-14  8:54   ` Hans Hagen
2006-04-18 12:39     ` Aditya Mahajan
2006-04-18 14:14       ` Hans Hagen
2006-04-18 14:52         ` Aditya Mahajan
2006-04-18 15:04           ` Hans Hagen

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=443F5C72.5020706@wxs.nl \
    --to=pragma@wxs.nl \
    --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).