ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: what happened to hangaround?
Date: Mon, 24 Mar 2014 14:02:40 +0600	[thread overview]
Message-ID: <2BDAF95A-292D-4187-B05D-6B7AF05F610A@fiee.net> (raw)
In-Reply-To: <20140324060917.GA12646@acheron>

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.

Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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:02 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 [this message]
2014-03-24  8:11     ` Wolfgang Schuster
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=2BDAF95A-292D-4187-B05D-6B7AF05F610A@fiee.net \
    --to=texml@fiee.net \
    --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).