ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: what happened to hangaround?
Date: Mon, 24 Mar 2014 09:11:40 +0100	[thread overview]
Message-ID: <ABCCFCEC-DBAB-4F7F-9E79-879870A1049D@gmail.com> (raw)
In-Reply-To: <2BDAF95A-292D-4187-B05D-6B7AF05F610A@fiee.net>


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

> Am 2014-03-24 um 12:09 schrieb Philipp Gesang <Philipp.Gesang@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	other threads:[~2014-03-24  8:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-24  5:01 Henning Hraban Ramm
2014-03-24  6:09 ` Philipp Gesang
2014-03-24  8:02   ` Henning Hraban Ramm
2014-03-24  8:11     ` Wolfgang Schuster [this message]
2014-03-24  8:43       ` Henning Hraban Ramm
2014-03-24 11:34         ` Aditya Mahajan
2014-03-24 14:48           ` Henning Hraban Ramm
2014-03-24  5:06 Henning Hraban Ramm

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=ABCCFCEC-DBAB-4F7F-9E79-879870A1049D@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --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).