Hello,

hopefully this is the last dumb question, cause the CD is nearing it's end an 
will be prepared for printing soon ;-)


How can I float text around a picture if I place them on a layer?

What I want to achieve is something like this:

ppp........
ppp........
...........

but typeset onto a layer to position it at my will ...

But I can't get the text flow around the graphic.  Here is a minimal example:
-------------------------------------------------------------
\definelayer[test]

\startbuffer[text]
\placefigure[left,none]{}{\framed[height=1cm]{graphic}}
\input tufte
\stopbuffer

\setlayerframed[test]
  [x=.5\paperwidth,y=2em,location=bottom]
  [width=0.8\textwidth,height=0.3\textheight,align=normal]
  {\getbuffer[text]}

\setupbackgrounds[page][background=test]

\starttext
\startstandardmakeup
\stopstandardmakeup
\stoptext
-------------------------------------------------------------

and the result can be seen in the attached PDF.

The same happens inside a standardmakeup
-------------------------------------------------------------
\startbuffer[text]
\placefigure[left,none]{}{\framed[height=1cm]{graphic}}
\input tufte
\stopbuffer

\starttext
\startstandardmakeup
\getbuffer[text]
\stopstandardmakeup
\stoptext
-------------------------------------------------------------

and inside a framedtext
-------------------------------------------------------------
\startbuffer[text]
\placefigure[left,none]{}{\framed[height=1cm]{graphic}}
\input tufte
\stopbuffer

\starttext
\startframedtext[width=0.8\textwidth]
\getbuffer[text]
\stopframedtext
\stoptext
-------------------------------------------------------------

Neither the mailinglist, nor the wiki or the documentation have given me any 
clue, what to change or where to look further ...

Is there another way to flow text around an image?  The image has a fixed 
position (top left corner of the text) so it don't has to be a float at all.

Thank you for all your help
Uwe

Attachment: test_layer.pdf
Description: Adobe PDF document

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to