Am 24.03.2014 um 09:02 schrieb Henning Hraban Ramm <te...@fiee.net>:

> Am 2014-03-24 um 12:09 schrieb Philipp Gesang 
> <philipp.ges...@alumni.uni-heidelberg.de>:
> 
>>> 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
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to