ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <bowenalan03@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \starthanging and hangafter
Date: Sun, 2 Mar 2014 15:19:54 -0500	[thread overview]
Message-ID: <CAFMOkGUoFAGh5JX4bhFGAT0E-ZODbnmoxYwuFfo8BHUtiep8eQ@mail.gmail.com> (raw)
In-Reply-To: <CAFMOkGW1tEyBaNxT7+6ANJbuCLKTosjx87SWyiyOT2FC9vcZww@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 3888 bytes --]

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 <bowenalan03@gmail.com> 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 <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 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
>>
>> ___________________________________________________________________________________
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 7127 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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-02 20:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-28 14:54 Alan Bowen
2014-02-28 20:58 ` Thangalin
2014-02-28 21:32   ` Alan Bowen
2014-03-02 20:19     ` Alan Bowen [this message]
2014-03-03  2:20       ` Thangalin
2014-03-03 14:36         ` Alan Bowen
2014-03-03 16:28       ` Wolfgang Schuster
2014-03-03 19:58         ` Alan Bowen

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=CAFMOkGUoFAGh5JX4bhFGAT0E-ZODbnmoxYwuFfo8BHUtiep8eQ@mail.gmail.com \
    --to=bowenalan03@gmail.com \
    --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).