ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* footnotes in frames
@ 2015-11-08 17:02 Thomas A. Schmitz
  2015-11-08 18:22 ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas A. Schmitz @ 2015-11-08 17:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: footnotes in frames
  2015-11-08 17:02 footnotes in frames Thomas A. Schmitz
@ 2015-11-08 18:22 ` Hans Hagen
  2015-11-08 18:47   ` Thomas A. Schmitz
  2015-11-09  4:49   ` Alan BRASLAU
  0 siblings, 2 replies; 8+ messages in thread
From: Hans Hagen @ 2015-11-08 18:22 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: footnotes in frames
  2015-11-08 18:22 ` Hans Hagen
@ 2015-11-08 18:47   ` Thomas A. Schmitz
  2015-11-09  9:42     ` Hans Hagen
  2015-11-09  9:42     ` Hans Hagen
  2015-11-09  4:49   ` Alan BRASLAU
  1 sibling, 2 replies; 8+ messages in thread
From: Thomas A. Schmitz @ 2015-11-08 18:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: footnotes in frames
  2015-11-08 18:22 ` Hans Hagen
  2015-11-08 18:47   ` Thomas A. Schmitz
@ 2015-11-09  4:49   ` Alan BRASLAU
  2015-11-09  9:43     ` Hans Hagen
  2015-11-09 10:30     ` Wolfgang Schuster
  1 sibling, 2 replies; 8+ messages in thread
From: Alan BRASLAU @ 2015-11-09  4:49 UTC (permalink / raw)
  To: Hans Hagen; +Cc: ntg-context

On Sun, 8 Nov 2015 19:22:02 +0100
Hans Hagen <pragma@wxs.nl> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: footnotes in frames
  2015-11-08 18:47   ` Thomas A. Schmitz
@ 2015-11-09  9:42     ` Hans Hagen
  2015-11-09  9:42     ` Hans Hagen
  1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2015-11-09  9:42 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: footnotes in frames
  2015-11-08 18:47   ` Thomas A. Schmitz
  2015-11-09  9:42     ` Hans Hagen
@ 2015-11-09  9:42     ` Hans Hagen
  1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2015-11-09  9:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: footnotes in frames
  2015-11-09  4:49   ` Alan BRASLAU
@ 2015-11-09  9:43     ` Hans Hagen
  2015-11-09 10:30     ` Wolfgang Schuster
  1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2015-11-09  9:43 UTC (permalink / raw)
  To: Alan BRASLAU; +Cc: ntg-context

On 11/9/2015 5:49 AM, Alan BRASLAU wrote:
> On Sun, 8 Nov 2015 19:22:02 +0100
> Hans Hagen <pragma@wxs.nl> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: footnotes in frames
  2015-11-09  4:49   ` Alan BRASLAU
  2015-11-09  9:43     ` Hans Hagen
@ 2015-11-09 10:30     ` Wolfgang Schuster
  1 sibling, 0 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2015-11-09 10:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen


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

> Alan BRASLAU <mailto:alan.braslau@cea.fr>
> 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

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-11-09 10:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-08 17:02 footnotes in frames Thomas A. Schmitz
2015-11-08 18:22 ` Hans Hagen
2015-11-08 18:47   ` Thomas A. Schmitz
2015-11-09  9:42     ` Hans Hagen
2015-11-09  9:42     ` Hans Hagen
2015-11-09  4:49   ` Alan BRASLAU
2015-11-09  9:43     ` Hans Hagen
2015-11-09 10:30     ` Wolfgang Schuster

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).