From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86531 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: \starthanging and hangafter Date: Sun, 2 Mar 2014 15:19:54 -0500 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0269202287==" X-Trace: ger.gmane.org 1393791594 15956 80.91.229.3 (2 Mar 2014 20:19:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Mar 2014 20:19:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 02 21:20:04 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 1WKCrj-0007yO-Vy for gctc-ntg-context-518@m.gmane.org; Sun, 02 Mar 2014 21:20:04 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3B480101F0; Sun, 2 Mar 2014 21:20:03 +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 rOdwq7oVucRQ; Sun, 2 Mar 2014 21:20:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A0E90101EA; Sun, 2 Mar 2014 21:20:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2DC69101EA for ; Sun, 2 Mar 2014 21:20:00 +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 dQfJ8EdP6Y41 for ; Sun, 2 Mar 2014 21:19:58 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 5E188101E1 for ; Sun, 2 Mar 2014 21:19:58 +0100 (CET) Original-Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s22KJtK4025291 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 2 Mar 2014 21:19:56 +0100 Original-Received: by mail-qc0-f170.google.com with SMTP id c9so2989416qcz.1 for ; Sun, 02 Mar 2014 12:19:55 -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=+/whAdVFTl9qG65tHep42nqnhr+/CG8ldCU6qltVAek=; b=CUQIGvtkXsm4OnIozW4pGet9TirWCXFzZ3cjcahrOf+3RXGkyMAXJuFD6K2JL6j6iB lZduov1RqOlV3T/w7n3AJh+szTxTECCuanDJMpjhK7658z4SeZPRwDrLF5vhW3QD03wK ovoqknMI5xavAeuGFnfFj27c7CQ/5nEdDrQE7WWTlW8fPCmNcYOQjETxML8bWcn+/CYf hiAN/Lk6HRpZEAj3zpLkLCOAh5cm+NEZOxClpWb4wWh1owx37DazeCzilS2YPqwumrZj iLsJM+FNSHusJoRB2FeidjuM8XhL3gXY70UezIMBi0a2rzZwllsDm2DrOVrfb0Vq5TPy dGIw== X-Received: by 10.224.79.19 with SMTP id n19mr2839699qak.99.1393791594952; Sun, 02 Mar 2014 12:19:54 -0800 (PST) Original-Received: by 10.229.186.138 with HTTP; Sun, 2 Mar 2014 12:19:54 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c01::22a; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03LwIjUGC - a6e519c6c199 - 20140302 (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:86531 Archived-At: --===============0269202287== Content-Type: multipart/alternative; boundary=047d7bdc8040e87ace04f3a5647f --047d7bdc8040e87ace04f3a5647f Content-Type: text/plain; charset=ISO-8859-1 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? Alan On Fri, Feb 28, 2014 at 4:32 PM, Alan Bowen wrote: > Hi, Thangalin-- > > Right now I am working with this minimal example : > > \setupexternalfigures[location={local,default}] > \starttext > text text.% > % > \footnote{\starthanging[location={right}] > {\externalfigure[cow][width=.1\textwidth]} > \dorecurse{2}{\input ward} > > \stophanging} > \stoptext > > Alan > > > On Fri, Feb 28, 2014 at 3:58 PM, Thangalin wrote: > >> Hi Alan, >> >> Please post your code. >> >> On Fri, Feb 28, 2014 at 6:54 AM, Alan Bowen >> wrote: >> > I am using using \starthanging...\stophanging to embed a small image in a >> > paragraph in a footnote. Currently, I have a pattern like: >> > >> > xxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > >> > >> > Is there a way to get a pattern like >> > >> > >> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > >> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > >> > >> > instead? >> > >> > >> > Alan >> > >> > >> > >> > >> ___________________________________________________________________________________ >> > 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 >> > >> ___________________________________________________________________________________ >> >> ___________________________________________________________________________________ >> 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 >> >> ___________________________________________________________________________________ > > > --047d7bdc8040e87ace04f3a5647f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
A follow up, if I may. 

Unlike \st= arthanging..\stophanging which behaves in the same way in both body text an= d footnotes, \placefigure does not. In footnotes, \olacefigure adds an open= ing 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}]<= /div>

\starttext

text text,%
\footnote{
\starthanging[location=3Dright]
{\externalfigure[cow][width= =3D.1\textwidth]}
\dorecurse{2}{\inpu= t ward}
\stoph= anging}
 and more text%
\footnote{\placefigure[rig= ht,none]{}
{\externalfigure[co= w][width=3D.1\textwidth]}
\dorecurse{2}{\input ward}
}

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

If \placefigure w= orked 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 fir= st two lines of the footnote would be ideal.

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

Alan


On Fri,= Feb 28, 2014 at 4:32 PM, Alan Bowen <bowenalan03@gmail.com> wrote:
Hi, Thangalin—
Right now I am working with this minimal example :
<= br>
\setupexternalfigures[location=3D{local,default}]  
\starttext
text text.%
%
\footnote{\starthanging[location=3D{right}]
{\externalfigure[cow][width=3D.1\t= extwidth]}
\dorecurse{2}{\input ward}

<= span style=3D"font-family:arial;font-size:small;color:rgb(34,34,34)">\stoph= anging}

\stoptext

Alan


On Fri, Feb 28, 2014 at 3:58 PM, Thangalin <thangalin@gmail.com> wrote:
Hi Alan,

Please post your code.

On Fri, Feb 28, 2014 at 6:54 AM, Alan Bowen <
bowenalan03@gmail.com> wrote:
> I am using using \starthanging…\stophanging to embed a small im= age in a
> paragraph in a footnote. Currently, I have a pattern like:
>
> xxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
>
> Is there a way to get a pattern like
>
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
>
> instead?
>
>
> Alan
>
>
>
> __________________________________________________________= _________________________
> 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
> ______________________________________________________________________= _____________
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@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
___________________________________________________________________________= ________


--047d7bdc8040e87ace04f3a5647f-- --===============0269202287== 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 ___________________________________________________________________________________ --===============0269202287==--