Re: [NTG-context] what happened to hangaround?

2014-03-24 Thread Philipp Gesang
Hi Henning!

···date: 2014-03-24, Monday···from: Henning Hraban Ramm···

 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.

Best regards,
Philipp



pgpWRYfPrrfSu.pgp
Description: PGP signature
___
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
___

Re: [NTG-context] what happened to hangaround?

2014-03-24 Thread Henning Hraban Ramm
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.

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
___


Re: [NTG-context] what happened to hangaround?

2014-03-24 Thread Wolfgang Schuster

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
___


Re: [NTG-context] what happened to hangaround?

2014-03-24 Thread Henning Hraban Ramm

Am 2014-03-24 um 14:11 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com:

 - \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.

Thanks for the explanation.

But is there a way to flow several paragraphs (or „lines“) around a picture?
I tried a vbox, but then the picture moves down into the following paragraph.


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
___


Re: [NTG-context] what happened to hangaround?

2014-03-24 Thread Aditya Mahajan


On Mar 24, 2014, at 4:43 AM, Henning Hraban Ramm te...@fiee.net wrote:

 
 Am 2014-03-24 um 14:11 schrieb Wolfgang Schuster 
 schuster.wolfg...@gmail.com:
 
 - \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.
 
 Thanks for the explanation.
 
 But is there a way to flow several paragraphs (or „lines“) around a picture?
 I tried a vbox, but then the picture moves down into the following paragraph.
 
Why not use \placefigure[left,none]{}{}

Aditya
___
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
___

Re: [NTG-context] what happened to hangaround?

2014-03-24 Thread Henning Hraban Ramm
Am 2014-03-24 um 17:34 schrieb Aditya Mahajan adit...@cim.mcgill.ca:

 Why not use \placefigure[left,none]{}{}

Good question. Just after sending my previous mail I recognized it works this 
way.

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
___


[NTG-context] what happened to hangaround?

2014-03-23 Thread Henning Hraban Ramm
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?

\starttext
\starthangaround{\externalfigure[koe][width=0.33\textwidth]}
\input tufte
\stophangaround
\input knuth
\stoptext


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
___


[NTG-context] what happened to hangaround?

2014-03-23 Thread Henning Hraban Ramm
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?

\starttext
\starthangaround{\externalfigure[koe][width=0.33\textwidth]}
\input tufte
\stophangaround
\input knuth
\stoptext


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
___