Re: [NTG-context] Vertical positioning of floats within itemize

2012-10-16 Thread Hans Hagen

On 16-10-2012 00:45, Marcin Borkowski wrote:

It's me again!

This doesn't quite work as expected (at least by me, that is;)):

\starttext

\startitemize
   \startitem
 \placefigure[right,high,none]{}{\framed[width=3cm,height=2cm]{!}}
 \input knuth
   \stopitem
\stopitemize

\stoptext

(Namely, at the beginning of the \item there is something like a blank
line.)

If I move \placefigure before \startitem, it looks better, but this
seems to be a nasty hack.  Do you have any idea how to achieve this
effect in a more elegant way?


tricky ... a place does some spacing before and after so that interferes 
with the item that places a bullet and expects text next


it would also look kind of weird I guess, bullet - image - caption

some kind of inline variant is needed then

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Vertical positioning of floats within itemize

2012-10-16 Thread Marcin Borkowski
Dnia 2012-10-16, o godz. 09:41:23
Hans Hagen pra...@wxs.nl napisaƂ(a):

 On 16-10-2012 00:45, Marcin Borkowski wrote:
  It's me again!
 
  This doesn't quite work as expected (at least by me, that is;)):
 
  \starttext
 
  \startitemize
 \startitem
   \placefigure[right,high,none]{}{\framed[width=3cm,height=2cm]{!}}
   \input knuth
 \stopitem
  \stopitemize
 
  \stoptext
 
  (Namely, at the beginning of the \item there is something like a
  blank line.)
 
  If I move \placefigure before \startitem, it looks better, but this
  seems to be a nasty hack.  Do you have any idea how to achieve this
  effect in a more elegant way?
 
 tricky ... a place does some spacing before and after so that
 interferes with the item that places a bullet and expects text next
 
 it would also look kind of weird I guess, bullet - image - caption
 
 some kind of inline variant is needed then

Well, I meant the bullet and item text on the left and image on the
right.  Is it possible?

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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
___

Re: [NTG-context] Vertical positioning of floats within itemize

2012-10-16 Thread Hans Hagen

On 16-10-2012 10:05, Marcin Borkowski wrote:


Well, I meant the bullet and item text on the left and image on the
right.  Is it possible?


maybe if you put \placefigure[right]{}{} before the \item

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


[NTG-context] Vertical positioning of floats within itemize

2012-10-15 Thread Marcin Borkowski
It's me again!

This doesn't quite work as expected (at least by me, that is;)):

\starttext

\startitemize
  \startitem
\placefigure[right,high,none]{}{\framed[width=3cm,height=2cm]{!}}
\input knuth
  \stopitem
\stopitemize

\stoptext

(Namely, at the beginning of the \item there is something like a blank
line.)

If I move \placefigure before \startitem, it looks better, but this
seems to be a nasty hack.  Do you have any idea how to achieve this
effect in a more elegant way?

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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
___