From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86545 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \starthanging and hangafter Date: Mon, 3 Mar 2014 17:28:20 +0100 Message-ID: <7DE4F208-C48E-4942-ABAD-952CCAD6BB5B@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Content-Type: multipart/mixed; boundary="===============2040674239==" X-Trace: ger.gmane.org 1393864109 8916 80.91.229.3 (3 Mar 2014 16:28:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Mar 2014 16:28:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 03 17:28:38 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 1WKVjJ-00038w-He for gctc-ntg-context-518@m.gmane.org; Mon, 03 Mar 2014 17:28:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 09C7B101F3; Mon, 3 Mar 2014 17:28:37 +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 lhffcygFKk6C; Mon, 3 Mar 2014 17:28:34 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9A387101EB; Mon, 3 Mar 2014 17:28:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8590F101EB for ; Mon, 3 Mar 2014 17:28:33 +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 YuyU2TwPpT5m for ; Mon, 3 Mar 2014 17:28:32 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 255D4101E1 for ; Mon, 3 Mar 2014 17:28:32 +0100 (CET) Original-Received: from mail-ea0-x22e.google.com (mail-ea0-x22e.google.com [IPv6:2a00:1450:4013:c01::22e]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s23GSLE0022010 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 3 Mar 2014 17:28:31 +0100 Original-Received: by mail-ea0-f174.google.com with SMTP id f15so1784263eak.33 for ; Mon, 03 Mar 2014 08:28:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=rTurgkbrTAZIGwudqDYcNcs8Epys2dwIhN2rycFPORM=; b=xxc0blKteZDyYa1ZvmEJJ/QcL07ofW1sO5uDDPY+k6o3u5d4nKnjtUosXdk//d4AhH YF79TQF/eV6CiZQrU7zS46txVVT/XKAr7j9GQpdCUNyifRd8uAEaK0+ma9X7vhNbfWuJ kR5wz0ZXOEWStod51faES3xqgchQdY8voKDSYSOlcrESxYVv/MoVR4ayihxTh3855XoH kdPSc8hexOibJMiGLLQSO2/x7CoPQjxBnfDYzg+UacYfMbLhBzVymRBcTzLmVCe7SBss D8wjmyiu5CXcZ/nFfeTKI5+SAGP3nj5Q/EVIcPSV38xupse1MR+uKtHKQyoa3ao31sJz 1frw== X-Received: by 10.14.29.6 with SMTP id h6mr12348772eea.84.1393864100976; Mon, 03 Mar 2014 08:28:20 -0800 (PST) Original-Received: from keima.localdomain (x2f22724.dyn.telefonica.de. [2.242.39.36]) by mx.google.com with ESMTPSA id m9sm51722671eeh.3.2014.03.03.08.28.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Mar 2014 08:28:20 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1874) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::22e; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Lx4slbC - 21c5dc48b000 - 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:86545 Archived-At: --===============2040674239== Content-Type: multipart/alternative; boundary="Apple-Mail=_CE2591C1-3584-41F4-9226-B0F83B620AF7" --Apple-Mail=_CE2591C1-3584-41F4-9226-B0F83B620AF7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 02.03.2014 um 21:19 schrieb Alan Bowen : > A follow up, if I may.=20 >=20 > 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: >=20 > \setupexternalfigures[location=3D{local,default}] >=20 > \starttext >=20 > text text,% > \footnote{ > \starthanging[location=3Dright] > {\externalfigure[cow][width=3D.1\textwidth]} > \dorecurse{2}{\input ward} > \stophanging} > and more text% > \footnote{\placefigure[right,none]{} > {\externalfigure[cow][width=3D.1\textwidth]} > \dorecurse{2}{\input ward} > } >=20 > \placefigure[right,none]{} > {\externalfigure[cow][width=3D.1\textwidth]} > \dorecurse{2}{\input ward} > \stoptext >=20 > If \placefigure worked in footnotes as it does in body text, that = would be good=97though being able to place the image at the right but = under the first line or first two lines of the footnote would be ideal. >=20 > 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= --Apple-Mail=_CE2591C1-3584-41F4-9226-B0F83B620AF7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
Am 02.03.2014 um 21:19 schrieb Alan = Bowen <bowenalan03@gmail.com>:
=
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=3D{local,default}]

\starttext

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

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

If \placefigure = worked in footnotes as it does in body text, that would be good=97though = 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 \starthangi= ng..\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
= --Apple-Mail=_CE2591C1-3584-41F4-9226-B0F83B620AF7-- --===============2040674239== 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 ___________________________________________________________________________________ --===============2040674239==--