ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \starthanging and hangafter
Date: Mon, 3 Mar 2014 17:28:20 +0100	[thread overview]
Message-ID: <7DE4F208-C48E-4942-ABAD-952CCAD6BB5B@gmail.com> (raw)
In-Reply-To: <CAFMOkGUoFAGh5JX4bhFGAT0E-ZODbnmoxYwuFfo8BHUtiep8eQ@mail.gmail.com>


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


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={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

[-- Attachment #1.2: Type: text/html, Size: 2429 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
___________________________________________________________________________________

  parent reply	other threads:[~2014-03-03 16:28 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
2014-03-03  2:20       ` Thangalin
2014-03-03 14:36         ` Alan Bowen
2014-03-03 16:28       ` Wolfgang Schuster [this message]
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=7DE4F208-C48E-4942-ABAD-952CCAD6BB5B@gmail.com \
    --to=schuster.wolfgang@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).