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-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] Plain format not building

2014-03-02 Thread Philipp Gesang
Hi Wolfgang!

·

> Am 19.02.2014 um 19:31 schrieb Philipp Gesang 
> :
> 
> > Hi all,
> > 
> > with the most recent Minimals (2014.02.14 17:07) building the
> > Luatex Plain format no longer works:
> > 
> >$ mtxrun --script plain --make
> > 
> >... 
> > 
> >mtx-plain   | running command 'luatex --ini luatex-plain.tex \dump'
> >This is LuaTeX, Version beta-0.78.2 (TeX Live 2014/dev) (rev 4746)  
> > (INITEX)
> > \write18 enabled.
> > 
> >
> > (/home/phg/context/tex/texmf-context/tex/generic/context/luatex/luatex-plain.te
> >x (/home/phg/context/tex/texmf/tex/plain/base/plain.tex
> >Preloading the plain format: codes, registers, parameters, fonts, more 
> > fonts,
> >! Font \preloaded=manfnt not loadable: metric data not found or bad.
> > 
> >\par 
> >l.468 
> > 
> >? 
> > 
> > Same when building manually. Can anyone reproduce this?
> 
> The context suite doesn’t include the manual fonts [1] which are required for 
> the plain TeX format.
> 
> [1] http://www.ctan.org/pkg/manual

Yes, I’ve been using the tfm from texlive since. I’m unsure as to
why the file was removed from the Context suite.

Thanks for looking into this!
Philipp



pgp3OptgihCga.pgp
Description: PGP signature
___
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] Plain format not building

2014-03-02 Thread Wolfgang Schuster

Am 19.02.2014 um 19:31 schrieb Philipp Gesang 
:

> Hi all,
> 
> with the most recent Minimals (2014.02.14 17:07) building the
> Luatex Plain format no longer works:
> 
>$ mtxrun --script plain --make
> 
>... 
> 
>mtx-plain   | running command 'luatex --ini luatex-plain.tex \dump'
>This is LuaTeX, Version beta-0.78.2 (TeX Live 2014/dev) (rev 4746)  
> (INITEX)
> \write18 enabled.
> 
>
> (/home/phg/context/tex/texmf-context/tex/generic/context/luatex/luatex-plain.te
>x (/home/phg/context/tex/texmf/tex/plain/base/plain.tex
>Preloading the plain format: codes, registers, parameters, fonts, more 
> fonts,
>! Font \preloaded=manfnt not loadable: metric data not found or bad.
> 
>\par 
>l.468 
> 
>? 
> 
> Same when building manually. Can anyone reproduce this?

The context suite doesn’t include the manual fonts [1] which are required for 
the plain TeX format.

[1] http://www.ctan.org/pkg/manual

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
___