Re: [NTG-context] footnotes in frames

2015-11-09 Thread Wolfgang Schuster

Alan BRASLAU 
9. November 2015 um 05:49
On Sun, 8 Nov 2015 19:22:02 +0100

How does the following magic, revealed a while ago, fit into the scene?

\automigrateinserts % needed to handle footnotes within a box...
It works only when you use \hbox but not for nested boxes (which also 
applies to \framed).


%\enabletrackers[nodes.migrations]

\automigrateinserts

\starttext

First\footnote{First}

\hbox{Second\footnote{Second}}

\vbox{Third\footnote{Third}}

\hbox{\hbox{Fourth\footnote{Fourth}}}

\stoptext

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] footnotes in frames

2015-11-09 Thread Hans Hagen

On 11/9/2015 5:49 AM, Alan BRASLAU wrote:

On Sun, 8 Nov 2015 19:22:02 +0100
Hans Hagen  wrote:


as you're not afraid of magic:


How does the following magic, revealed a while ago, fit into the scene?

\automigrateinserts % needed to handle footnotes within a box...


depends on how much control one wants ... automigrate can have side 
effects for other cases


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] footnotes in frames

2015-11-09 Thread Hans Hagen

On 11/8/2015 7:47 PM, Thomas A. Schmitz wrote:

On 08.11.2015 19:22, Hans Hagen wrote:

as you're not afraid of magic:

\framed{three\postponenotes\footnote{3}}\flushnotes


Yep, excellent, that gets the job done! Thanks a lot! Would this
description of the mechanism be correct for the wiki:

"In deeply nested boxes (such as frames or similar environments), you
need to explicitly postpone and flush notes to have them typeset with
regular notes. Thus:

\starttext

one\footnote{1}

two\footnote{2}

\framed{three\postponenotes\footnote{3}}\flushnotes

four\footnote{4}

\stoptext"

If this isn't too wrong, I'll add it to the wiki.

And, at the risk of sounding impatient: is there any ETA for the next
beta? The current one has some problems which have been announced on the
list (such as xml entities, problems with loading some fonts), so it
would be great to have a fixed one!

All best

Thomas
___

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
___



--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] footnotes in frames

2015-11-09 Thread Hans Hagen

On 11/8/2015 7:47 PM, Thomas A. Schmitz wrote:

On 08.11.2015 19:22, Hans Hagen wrote:

as you're not afraid of magic:

\framed{three\postponenotes\footnote{3}}\flushnotes


Yep, excellent, that gets the job done! Thanks a lot! Would this
description of the mechanism be correct for the wiki:

"In deeply nested boxes (such as frames or similar environments), you
need to explicitly postpone and flush notes to have them typeset with
regular notes. Thus:

\starttext

one\footnote{1}

two\footnote{2}

\framed{three\postponenotes\footnote{3}}\flushnotes

four\footnote{4}

\stoptext"

If this isn't too wrong, I'll add it to the wiki.

And, at the risk of sounding impatient: is there any ETA for the next
beta? The current one has some problems which have been announced on the
list (such as xml entities, problems with loading some fonts), so it
would be great to have a fixed one!


probably this week

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___

[NTG-context] footnotes in frames

2015-11-08 Thread Thomas A. Schmitz

Hi,

is it, by any kind of magic, possible to have footnotes within a frame 
(no float) that will be typeset with the normal footnotes flow? 
Something like


\starttext

one\footnote{1}

two\footnote{2}

\framed{three\footnote{3}}

four\footnote{4}

\stoptext

I have found some threads about similar questions, but no real solution.

Thanks!

Thomas
___
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] footnotes in frames

2015-11-08 Thread Hans Hagen

On 11/8/2015 6:02 PM, Thomas A. Schmitz wrote:

Hi,

is it, by any kind of magic, possible to have footnotes within a frame
(no float) that will be typeset with the normal footnotes flow?
Something like

\starttext

one\footnote{1}

two\footnote{2}

\framed{three\footnote{3}}

four\footnote{4}

\stoptext

I have found some threads about similar questions, but no real solution.


as you're not afraid of magic:

\framed{three\postponenotes\footnote{3}}\flushnotes



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] footnotes in frames

2015-11-08 Thread Thomas A. Schmitz

On 08.11.2015 19:22, Hans Hagen wrote:

as you're not afraid of magic:

\framed{three\postponenotes\footnote{3}}\flushnotes


Yep, excellent, that gets the job done! Thanks a lot! Would this 
description of the mechanism be correct for the wiki:


"In deeply nested boxes (such as frames or similar environments), you 
need to explicitly postpone and flush notes to have them typeset with 
regular notes. Thus:


\starttext

one\footnote{1}

two\footnote{2}

\framed{three\postponenotes\footnote{3}}\flushnotes

four\footnote{4}

\stoptext"

If this isn't too wrong, I'll add it to the wiki.

And, at the risk of sounding impatient: is there any ETA for the next 
beta? The current one has some problems which have been announced on the 
list (such as xml entities, problems with loading some fonts), so it 
would be great to have a fixed one!


All best

Thomas
___
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] footnotes in frames

2015-11-08 Thread Alan BRASLAU
On Sun, 8 Nov 2015 19:22:02 +0100
Hans Hagen  wrote:

> as you're not afraid of magic:

How does the following magic, revealed a while ago, fit into the scene?

\automigrateinserts % needed to handle footnotes within a box...

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
___