ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: float next to \bf
Date: Thu, 25 Jan 2007 20:33:40 +0100	[thread overview]
Message-ID: <45B90614.2060807@boede.nl> (raw)
In-Reply-To: <45B90000.7070107@wxs.nl>

Hi,

dunno, but it seems, that there is really something wrong. Here using:
ConTeXt  ver: 2007.01.18 12:57 MKII  fmt: 2007.1.19  int: english/english

\starttext
\input tufte
% \placefigure[here,left]{A figure}{\framed[width=3cm,height=4cm]{Image}}
\placefigure[here,left]{A cow}{\externalfigure[cow][width=3cm,height=4cm]}
\blank
{\em This will mess up the rest.} \input tufte
\stoptext

I changed the sample slightly. With and without \em the cow is placed on 
top of the textblock. This happens also with [here,left] and [here,right]
If you withdraw the {This will mess up the rest.} the figure is placed 
correctly with inner, left, right! If you remove the braces and \em it 
works also
adding \bgroup of \start and \egroup resp. \stop will not help.

\em
This will mess up the rest.
\tf
\input tufte

gives the expected result.

\dontleavehmode finally gives the correct output of the original sample.

Willi

Hans Hagen wrote:
> Thomas A. Schmitz wrote:
>   
>> OK, I see. I had a similar problem a while ago. My workaround: type  
>> \dontleavehmode in front of the {\em part, and it will typeset  
>> correctly. But this seems to be a real bug, most commands will mess  
>> up the vertical spacing in a similar way. Hans, Taco???
>>   
>>     
> bug ... dunno, more a side effect; resolving this will break other things; side floats are real nasty: force into otr mode and go back and ...you don't wanna know)  
>
> 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
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   

  reply	other threads:[~2007-01-25 19:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-25 11:18 Jörg Hagmann
2007-01-25 12:14 ` Thomas A. Schmitz
2007-01-25 13:21   ` Jörg Hagmann
2007-01-25 13:34     ` Thomas A. Schmitz
2007-01-25 19:07       ` Hans Hagen
2007-01-25 19:33         ` Willi Egger [this message]
2007-01-25 22:42           ` Hans Hagen
2007-01-25 20:58         ` Thomas A. Schmitz
2007-01-26  9:30       ` Jörg Hagmann
2007-01-25 19:06     ` Hans Hagen
2007-01-25 19:34 ` Patrick Gundlach
2007-01-25 21:20   ` Patrick Gundlach
2007-01-25 22:43   ` Hans Hagen
2007-01-26 14:45   ` Patrick Gundlach

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=45B90614.2060807@boede.nl \
    --to=w.egger@boede.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).