From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86549 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: \starthanging and hangafter Date: Mon, 3 Mar 2014 14:58:01 -0500 Message-ID: References: <7DE4F208-C48E-4942-ABAD-952CCAD6BB5B@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1360095242==" X-Trace: ger.gmane.org 1393876692 1201 80.91.229.3 (3 Mar 2014 19:58:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Mar 2014 19:58:12 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 03 20:58:23 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WKZ0G-0003IC-QG for gctc-ntg-context-518@m.gmane.org; Mon, 03 Mar 2014 20:58:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EFD18101E1; Mon, 3 Mar 2014 20:58:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AXa+ObQWE6wZ; Mon, 3 Mar 2014 20:58:17 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 63359101E9; Mon, 3 Mar 2014 20:58:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CC6E8101E9 for ; Mon, 3 Mar 2014 20:58:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hgcjLRWdvH4L for ; Mon, 3 Mar 2014 20:58:14 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 0D154101E1 for ; Mon, 3 Mar 2014 20:58:04 +0100 (CET) Original-Received: from mail-qg0-x22e.google.com (mail-qg0-x22e.google.com [IPv6:2607:f8b0:400d:c04::22e]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s23Jw1P9017621 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 3 Mar 2014 20:58:02 +0100 Original-Received: by mail-qg0-f46.google.com with SMTP id e89so12661218qgf.5 for ; Mon, 03 Mar 2014 11:58:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Wk4AMnZAPe6cR58mWZYUVA5eX1DjySnGEKfuUzZDx3c=; b=j+DOkKWB1QmU6l82XOK3EUzEw5Jwe2NINB0NlS0HFsEPA+FfmoQ6P+KWD75uJ9h3CQ kWEnqOilC+MPKlGr7qxcFH9/J46MqBy05CoZLk8Owwo7OC14M2JguZJIVWxZ2JyF7Wbs Y/gItCNaKRxMXKkfMpRsJ570l93Ya9RHch+sjDZIg8xVHXevmQeXRoeVTvM/O1yIq1uF +qoVsV1K9LlrHaMUadUp3T6NBoBdZ450cRnwNCQBM4EBI/TkQW5wY9HbuLV7e4LbCUGx vhnWLDPfZCSwMyUnliOj5ojkdzhAAx6NuOidTBBgejKa2XaLKU1Gp2mIClyi2hjDpsSZ TFng== X-Received: by 10.229.84.198 with SMTP id k6mr5399305qcl.20.1393876681149; Mon, 03 Mar 2014 11:58:01 -0800 (PST) Original-Received: by 10.229.186.138 with HTTP; Mon, 3 Mar 2014 11:58:01 -0800 (PST) In-Reply-To: <7DE4F208-C48E-4942-ABAD-952CCAD6BB5B@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c04::22e; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VLx7W248 - d5903d848275 - 20140303 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86549 Archived-At: --===============1360095242== Content-Type: multipart/alternative; boundary=001a1134541a70d34104f3b93426 --001a1134541a70d34104f3b93426 Content-Type: text/plain; charset=ISO-8859-1 Thanks, Wolfgang--it does help to know when one is asking too much of ConTeXt. Alan On Mon, Mar 3, 2014 at 11:28 AM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote: > > Am 02.03.2014 um 21:19 schrieb Alan Bowen : > > A follow up, if I may. > > Unlike \starthanging..\stophanging which behaves in the same way in both > body text and footnotes, \placefigure does not. In footnotes, \olacefigure > adds an opening blank line and runs the text through the image. It does, > however, seem to place the image better. An example: > > \setupexternalfigures[location={local,default}] > > \starttext > > text text,% > \footnote{ > \starthanging[location=right] > {\externalfigure[cow][width=.1\textwidth]} > \dorecurse{2}{\input ward} > \stophanging} > and more text% > \footnote{\placefigure[right,none]{} > {\externalfigure[cow][width=.1\textwidth]} > \dorecurse{2}{\input ward} > } > > \placefigure[right,none]{} > {\externalfigure[cow][width=.1\textwidth]} > \dorecurse{2}{\input ward} > \stoptext > > If \placefigure worked in footnotes as it does in body text, that would be > good--though being able to place the image at the right but under the first > line or first two lines of the footnote would be ideal. > > Is there a way to get this outcome using either \starthanging..\stophanging > or \placefigure? > > > You need the \parshape to command to get this kind of output but AFAIK > there is no user interface for this in context. > > 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 > > ___________________________________________________________________________________ > --001a1134541a70d34104f3b93426 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks, Wolfgang—it does help to know when one is as= king too much of ConTeXt.

Alan


On Mon, Mar 3, 2014 at 11:2= 8 AM, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

Am 02.03.2014 um 21:19 schrieb Alan Bowen <bowenalan03@gmail.com>:

A follow up,= if I may. 

Unlike \starthanging..\stophanging whic= h behaves in the same way in both body text and footnotes, \placefigure doe= s not. In footnotes, \olacefigure adds an opening blank line and runs the t= ext through the image. It does, however, seem to place the image better. An= example:

\setupexternalfigures[location=3D{local,default}]
=

\starttext

text text,%
\footnote{
\starthanging[location=3Dright]
{\externalfigure[cow][width=3D.1\textwi= dth]}
\dorecurse{2}{\input ward= }
\stophanging}
 and more text%
\footnote{\placefigure[right,none]{}
{\externalfigure[cow][wid= th=3D.1\textwidth]}
= \dorecurse{2}{\input ward}
= }

\placefigure[right,none]{}
{\externalfigure[cow][width=3D.1\textwidth]}
\dorecurse{2}{\input wa= rd}
\stoptext

If \placefigure worked = in footnotes as it does in body text, that would be good—though being= able to place the image at the right but under the first line or first two= lines of the footnote would be ideal.

Is there a way to get this outcome using either \startha= nging..\stophanging or \placefigure?

You need the \parshape to command to get this kind of output but= AFAIK there is no user interface for this in context.

Wolfgang

_______________________________________________________________________= ____________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >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
___________________________________________________________________________= ________

--001a1134541a70d34104f3b93426-- --===============1360095242== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1360095242==--