Re: [NTG-context] \starthanging and hangafter

2014-02-28 Thread Thangalin
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:
>
> xx
>
> xx
>
> xx
>
> xx
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
>
> Is there a way to get a pattern like
>
>
> 
>
> 
>
> xx
>
> xx
>
> xx
>
> xx
>
> 
>
> 
>
> 
>
> 
>
>
> 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
___

Re: [NTG-context] \starthanging and hangafter

2014-02-28 Thread Alan Bowen
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:
> >
> > xx
> >
> > xx
> >
> > xx
> >
> > xx
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> >
> > Is there a way to get a pattern like
> >
> >
> > 
> >
> > 
> >
> > xx
> >
> > xx
> >
> > xx
> >
> > xx
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> >
> > 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
>
> ___
___
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
___

Re: [NTG-context] \starthanging and hangafter

2014-03-02 Thread 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?

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:
>> >
>> > xx
>> >
>> > xx
>> >
>> > xx
>> >
>> > xx
>> >
>> > 
>> >
>> > 
>> >
>> > 
>> >
>> > 
>> >
>> > 
>> >
>> > 
>> >
>> >
>> > Is there a way to get a pattern like
>> >
>> >
>> > 
>> >
>> > 
>> >
>> > xx
>> >
>> > xx
>> >
>> > xx
>> >
>> > xx
>> >
>> > 
>> >
>> > 
>> >
>> > 
>> >
>> > 
>> >
>> >
>> > 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
>>
>> ___
>
>
>
___
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
___

Re: [NTG-context] \starthanging and hangafter

2014-03-02 Thread Thangalin
Hi Alan,

>From the archives:

http://www.ntg.nl/pipermail/ntg-context/2006/015481.html

The \hangsidefloat and \movesidefloat commands may prove useful.

Once you have a simple working example, post it to this thread and
I'll update the wiki.
___
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
___


Re: [NTG-context] \starthanging and hangafter

2014-03-03 Thread Alan Bowen
Thanks, Thangalin. I did not know of \hangsidefloat and \movesidefloat and
can see that they will very useful in combination with \placefigure in the
body text, when I need text to flow over and below images at the side.

The problem is that \placefigure[right or left] does not work in footnotes.
I will start a new thread to see if I can get help with that. And when I
have a solution (a working example) I will post it to this current thread
so that you can put it on the wiki.

All best, Alan


On Sun, Mar 2, 2014 at 9:20 PM, Thangalin  wrote:

> Hi Alan,
>
> From the archives:
>
> http://www.ntg.nl/pipermail/ntg-context/2006/015481.html
>
> The \hangsidefloat and \movesidefloat commands may prove useful.
>
> Once you have a simple working example, post it to this thread and
> I'll update the wiki.
>
> ___
> 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
___

Re: [NTG-context] \starthanging and hangafter

2014-03-03 Thread Wolfgang Schuster

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
___

Re: [NTG-context] \starthanging and hangafter

2014-03-03 Thread Alan Bowen
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.wolfg...@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
>
> ___
>
___
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
___