Am 24.03.2014 um 09:02 schrieb Henning Hraban Ramm
Am 2014-03-24 um 12:09 schrieb Philipp Gesang
: Hi again, I’d like to flow some text around a picture.
There was undocumented \starthangaround (it’s still in cont-new.mkiv in the garden), but it’s unknown in latest beta. Is there a replacement?
Try the hanging environment:
\setupexternalfigures [location=default] \starttext \starthanging{\externalfigure [cow.pdf][width=3.141cm]} \input ward \stophanging \stoptext
I think it is supposed to be the successor to hangaround.
Dankeschön!
I updated the wiki page: http://wiki.contextgarden.net/Using_Graphics#Flow_text_around_a_picture
There are some issues:
- \starthanging doesn’t accept parameters (using \setuphanging for every second picture is evil) - As you can see in wiki, the picture stands on the first line of the text. This is a MkII problem, it works with MkIV. - If you try several paragraphs or \startlines, then only the first paragraph flows.
The hanging environment in MkII isn’t the same as the hanging in MkIV. The original name for the environment was hang around but when Hans added a few new features (e.g. to move the picture to the right side) he changed in MKIV the name to hanging, a command which all already existed. Wolfgang