From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
"Jan U. Hasecke" <juh+ntg-context@mailbox.org>
Subject: Re: text surrounding graphic in columns
Date: Thu, 15 Oct 2020 09:15:25 +0200 [thread overview]
Message-ID: <72f1676f-91ca-f9b1-98f3-b0972d81d95a@xs4all.nl> (raw)
In-Reply-To: <04be50b0-6f8a-067b-0480-eed34ead6585@mailbox.org>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2020-10-15 7:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-14 16:58 Jan U. Hasecke
2020-10-14 17:36 ` Henning Hraban Ramm
2020-10-15 6:29 ` Jan U. Hasecke
2020-10-15 7:15 ` Hans Hagen [this message]
2020-10-15 10:02 ` Jan U. Hasecke
2020-10-15 10:54 ` Herbert Voss
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=72f1676f-91ca-f9b1-98f3-b0972d81d95a@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=juh+ntg-context@mailbox.org \
--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).