On 10/14/2020 6:58 PM, Jan U. Hasecke wrote:

Hi,

how can I get a graphic that floats left or right from the text in
columns or columnsets?

\starttext
\startcolumns[2]

\placefigure[left, high, none]{}
     {\externalfigure[dummy][width=3em]}
     \input ward

     \input ward
\stopcolumns

\blank

\placefigure[left, high, none]{}
     {\externalfigure[dummy][width=3em]}
     Without columns it works.
     \input ward

     \input ward

\stoptext
experimental (already there for a while but i need top pickup on it):

\starttext

\setupbodyfont[plex,10pt]
\setupalign[tolerant,stretch]
\useMPlibrary[dum]

\startpagecolumns[n=2]
    \dorecurse {10} {
        \startplacefigure[location={left,none}]
            \externalfigure[dummy][width=3em]
        \stopplacefigure

        \dorecurse {4} {
            \samplefile{ward}\par
        }
    }
\stoppagecolumns

\stoptext

don't tell Hraban

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to