Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-08-22 Thread Pablo Rodriguez
On 08/22/2017 03:17 AM, Brian Ballsun-Stanton wrote:
> Hi Pablo,
> 
> It helped. (The numbers are eaten, but I think the example is important. 

Hi Brian,

sorry, I simply forgot (and I didn’t see it in the sample because I
didn’t wrap everything inside a TEXpage).

\setupnotations[alternative=serried] is required here:

\setupnotes[location=text]
\setupnotations[alternative=serried]
\starttext
\bTABLE[split=repeat,align=normal]
   \bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
   \bTR\bTD Foo\note[x] \eTD\eTR
\eTABLE
\flushnotes
\placenotes[footnote]
\stoptext

BTW, it would be important to warn the reader that both \setupnotes and
\setupnotations are required because of the wiki.

I hope it is fine now,

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-08-22 Thread Brian Ballsun-Stanton
Hi Pablo,

It helped. (The numbers are eaten, but I think the example is important.

Thanks for your help.

-Brian

On 22 August 2017 at 03:21, Pablo Rodriguez  wrote:

> On 08/21/2017 03:15 AM, Brian Ballsun-Stanton wrote:
> > Hey folks, trying to be a good citizen, I added (And quoted) this
> > message onto the wiki:
> >
> > http://wiki.contextgarden.net/TABLE#Footnotes_in_TABLEs
> >
> > I tried for a bit to try to get the example to render, but no footnotes
> > would show at all. Anyone have thoughts as to how to get wiki rendering
> > to work here? And are there any other examples from this thread that
> > should be added?
>
> Hi Brian,
>
> footnotes in the wiki are tricky:
>
> \starttext
> \startbuffer
> \bTABLE[split=repeat,align=normal]
>\bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
>\bTR\bTD Foo\note[x] \eTD\eTR
> \eTABLE
> \flushnotes
> \stopbuffer
> \getbuffer
> \startTEXpage[offset=1em]
> \getbuffer
> \stopTEXpage
> \stoptext
>
> The second page is similar to the problem with the wiki.
>
> This might be a workaround for the wiki (if I’m not wrong):
>
> \setupnotes[location=text]
> \starttext
> \bTABLE[split=repeat,align=normal]
>\bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
>\bTR\bTD Foo\note[x] \eTD\eTR
> \eTABLE
> \flushnotes
> \placenotes[footnote]
> \stoptext
>
> Just in cases it helps,
>
> Pablo
> --
> http://www.ousia.tk
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-08-21 Thread Pablo Rodriguez
On 08/21/2017 05:57 AM, Brian Ballsun-Stanton wrote:
> Hi Alan,
> 
> I'm sorry I'm... fuzzy today.
> 
> Are you asking me to add: "\automigrateinserts" to the wiki example as a
> different mechanism to demonstrate from earlier in this thread,
> proposing it as a different solution this problem, and/or proposing it
> as a solution to the "not rendering inside the wiki ConTeXt version?

Hi Brian,

I wonder how you may define fuzziness, but your question proposes three
well-defined options ;-).

As far as I understand it, Alan was simply proposing a way to get the
footnote out of the table. I mean, to have a footnote from a table.

This is already solved with \postponenotes and \flushnotes.

The problem with the wiki is that you don’t have standard footnotes.
Because having a full page wouldn’t be helpful in most cases.

> My apologies for misunderstanding.

I hope I’m not getting Alan’s point wrong.

Just in case it helps,

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-08-21 Thread Pablo Rodriguez
On 08/21/2017 03:15 AM, Brian Ballsun-Stanton wrote:
> Hey folks, trying to be a good citizen, I added (And quoted) this
> message onto the wiki:
> 
> http://wiki.contextgarden.net/TABLE#Footnotes_in_TABLEs
> 
> I tried for a bit to try to get the example to render, but no footnotes
> would show at all. Anyone have thoughts as to how to get wiki rendering
> to work here? And are there any other examples from this thread that
> should be added?

Hi Brian,

footnotes in the wiki are tricky:

\starttext
\startbuffer
\bTABLE[split=repeat,align=normal]
   \bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
   \bTR\bTD Foo\note[x] \eTD\eTR
\eTABLE
\flushnotes
\stopbuffer
\getbuffer
\startTEXpage[offset=1em]
\getbuffer
\stopTEXpage
\stoptext

The second page is similar to the problem with the wiki.

This might be a workaround for the wiki (if I’m not wrong):

\setupnotes[location=text]
\starttext
\bTABLE[split=repeat,align=normal]
   \bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
   \bTR\bTD Foo\note[x] \eTD\eTR
\eTABLE
\flushnotes
\placenotes[footnote]
\stoptext

Just in cases it helps,

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-08-20 Thread Brian Ballsun-Stanton
Hi Alan,

I'm sorry I'm... fuzzy today.

Are you asking me to add: "\automigrateinserts" to the wiki example as a
different mechanism to demonstrate from earlier in this thread, proposing
it as a different solution this problem, and/or proposing it as a solution
to the "not rendering inside the wiki ConTeXt version?

My apologies for misunderstanding.
-Brian


On 21 August 2017 at 12:35, Alan Braslau  wrote:

> Perhaps try:
>
> \automigrateinserts
>
> this is needed to handle footnotes within a box.
>
> Alan
>
> On Mon, 21 Aug 2017 11:15:49 +1000
> Brian Ballsun-Stanton  wrote:
>
> > Hey folks, trying to be a good citizen, I added (And quoted) this
> > message onto the wiki:
> >
> > http://wiki.contextgarden.net/TABLE#Footnotes_in_TABLEs
> >
> > I tried for a bit to try to get the example to render, but no
> > footnotes would show at all. Anyone have thoughts as to how to get
> > wiki rendering to work here? And are there any other examples from
> > this thread that should be added?
> >
> > Also, thanks for this solution, Pablo, it really helped.
> >
> > On 6 July 2017 at 04:51, Pablo Rodriguez  wrote:
> >
> > > On 07/03/2017 05:00 PM, Andreas Schneider wrote:
> > > > Hello,
> > > >
> > > > in the current ConTeXt Minimals (ver: 2017.06.30 19:45 MKIV beta
> > > > fmt: 2017.7.3) the following example doesn't show any footnotes:
> > > >
> > > > 
> > > > \starttext
> > > > \bTABLE[split=repeat,align=normal]
> > > >\bTR\bTD Something\footnote[x]{bla bla}\eTD\eTR
> > > >\bTR\bTD Foo\note[x] \eTD\eTR
> > > > \eTABLE
> > > > \stoptext
> > > > 
> > >
> > > Hi Andreas,
> > >
> > > this might do what you intend:
> > >
> > > \starttext
> > > \bTABLE[split=repeat,align=normal]
> > >\bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
> > >\bTR\bTD Foo\note[x] \eTD\eTR
> > > \eTABLE
> > > \flushnotes
> > > \stoptext
> > >
> > > Just in case it helps,
> > >
> > >
> > > Pablo
> > > --
> > > http://www.ousia.tk
> > > 
> > > ___
> > > 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://context.aanhet.net
> > > archive  : https://bitbucket.org/phg/context-mirror/commits/
> > > 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-08-20 Thread Alan Braslau
Perhaps try:

\automigrateinserts

this is needed to handle footnotes within a box.

Alan

On Mon, 21 Aug 2017 11:15:49 +1000
Brian Ballsun-Stanton  wrote:

> Hey folks, trying to be a good citizen, I added (And quoted) this
> message onto the wiki:
> 
> http://wiki.contextgarden.net/TABLE#Footnotes_in_TABLEs
> 
> I tried for a bit to try to get the example to render, but no
> footnotes would show at all. Anyone have thoughts as to how to get
> wiki rendering to work here? And are there any other examples from
> this thread that should be added?
> 
> Also, thanks for this solution, Pablo, it really helped.
> 
> On 6 July 2017 at 04:51, Pablo Rodriguez  wrote:
> 
> > On 07/03/2017 05:00 PM, Andreas Schneider wrote:  
> > > Hello,
> > >
> > > in the current ConTeXt Minimals (ver: 2017.06.30 19:45 MKIV beta
> > > fmt: 2017.7.3) the following example doesn't show any footnotes:
> > >
> > > 
> > > \starttext
> > > \bTABLE[split=repeat,align=normal]
> > >\bTR\bTD Something\footnote[x]{bla bla}\eTD\eTR
> > >\bTR\bTD Foo\note[x] \eTD\eTR
> > > \eTABLE
> > > \stoptext
> > >   
> >
> > Hi Andreas,
> >
> > this might do what you intend:
> >
> > \starttext
> > \bTABLE[split=repeat,align=normal]
> >\bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
> >\bTR\bTD Foo\note[x] \eTD\eTR
> > \eTABLE
> > \flushnotes
> > \stoptext
> >
> > Just in case it helps,
> >
> >
> > Pablo
> > --
> > http://www.ousia.tk
> > 
> > ___
> > 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://context.aanhet.net
> > archive  : https://bitbucket.org/phg/context-mirror/commits/
> > 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-08-20 Thread Brian Ballsun-Stanton
Hey folks, trying to be a good citizen, I added (And quoted) this message
onto the wiki:

http://wiki.contextgarden.net/TABLE#Footnotes_in_TABLEs

I tried for a bit to try to get the example to render, but no footnotes
would show at all. Anyone have thoughts as to how to get wiki rendering to
work here? And are there any other examples from this thread that should be
added?

Also, thanks for this solution, Pablo, it really helped.

On 6 July 2017 at 04:51, Pablo Rodriguez  wrote:

> On 07/03/2017 05:00 PM, Andreas Schneider wrote:
> > Hello,
> >
> > in the current ConTeXt Minimals (ver: 2017.06.30 19:45 MKIV beta  fmt:
> > 2017.7.3) the following example doesn't show any footnotes:
> >
> > 
> > \starttext
> > \bTABLE[split=repeat,align=normal]
> >\bTR\bTD Something\footnote[x]{bla bla}\eTD\eTR
> >\bTR\bTD Foo\note[x] \eTD\eTR
> > \eTABLE
> > \stoptext
> > 
>
> Hi Andreas,
>
> this might do what you intend:
>
> \starttext
> \bTABLE[split=repeat,align=normal]
>\bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
>\bTR\bTD Foo\note[x] \eTD\eTR
> \eTABLE
> \flushnotes
> \stoptext
>
> Just in case it helps,
>
>
> Pablo
> --
> http://www.ousia.tk
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-16 Thread Mathias Schickel

> Am 15.07.2017 um 21:55 schrieb Hans Hagen :
> 
> On 7/15/2017 9:11 PM, Alan Braslau wrote:
>> On Wed, 12 Jul 2017 19:05:26 +0200
>> Hans Hagen  wrote:
>>> best play with textbackgrounds
>>> 
>>> \starttext
>>> 
>>> \starttextbackground
>>> \dorecurse{10}{test\footnote{tufte}: \input tufte\par}
>>> \stoptextbackground
>>> 
>>> \stoptext
>>> 
>> I have found the following to be necessary when using textbackground,
>> especially when backgrounds cross page boundaries:
>> \setnewconstant\kindofpagetextareas\plusone
>> % partial page. HH: low level, no high level switch (yet)
>> Maybe Hans can explain this?
> Because it's an option (with no parameter yet .. not sure where/how to 
> configure it; for floats one can do it per float)
> 

\setnewconstant\kindofpagetextareas\plusone

That indeed solves the problem of the textbackground extended over footnotes. 
Is that anywhere documented? I did not find that anywhere. And what exactly 
does that command do?

Would it not be a good idea to add this as an option in the definition of a 
textbackground?

Mathias

> Hans
> 
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>   tel: 038 477 53 69 | www.pragma-ade.nl  | 
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Hans Hagen

On 7/15/2017 9:11 PM, Alan Braslau wrote:

On Wed, 12 Jul 2017 19:05:26 +0200
Hans Hagen  wrote:


best play with textbackgrounds

\starttext

\starttextbackground
\dorecurse{10}{test\footnote{tufte}: \input tufte\par}
\stoptextbackground

\stoptext



I have found the following to be necessary when using textbackground,
especially when backgrounds cross page boundaries:

\setnewconstant\kindofpagetextareas\plusone
% partial page. HH: low level, no high level switch (yet)

Maybe Hans can explain this?
Because it's an option (with no parameter yet .. not sure where/how to 
configure it; for floats one can do it per float)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Alan Braslau
On Wed, 12 Jul 2017 19:05:26 +0200
Hans Hagen  wrote:

> best play with textbackgrounds
> 
> \starttext
> 
> \starttextbackground
> \dorecurse{10}{test\footnote{tufte}: \input tufte\par}
> \stoptextbackground
> 
> \stoptext
> 

I have found the following to be necessary when using textbackground,
especially when backgrounds cross page boundaries:

\setnewconstant\kindofpagetextareas\plusone
% partial page. HH: low level, no high level switch (yet)

Maybe Hans can explain this?

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Pablo Rodriguez
On 07/15/2017 08:07 PM, Mathias Schickel wrote:
>> Am 15.07.2017 um 18:07 schrieb Pablo Rodriguez:
>> [...]
>> Just in case I got you wrong: is your issue that the background also
>> covers the footnotes, such as in the first and second pages from:
>>
>>\automigrateinserts
>>\setuptextbackground[location=paragraph]
>>\starttext
>>\dorecurse{10}{\starttextbackground
>>test\footnote{tufte}: \input knuth\hfill
>>\stoptextbackground\blank}
>>\stoptext
> 
> What can be done that this does not happen? (Your example?) Here we
> have a minimal example, your own. ;-)
Report the bug so that Hans can fix it :-).

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Mathias Schickel

> Am 15.07.2017 um 18:07 schrieb Pablo Rodriguez :
> 
> On 07/14/2017 05:22 PM, Mathias Schickel wrote:
>> This indeed does the trick! Thank you very much! Maybe I will take
>> use of Hans’ suggestion about textbackgrounds, but as I remember I have
>> switched from those to backgrounds because they sometimes showed strange
>> behaviour at page breaks if formulas are involved (leaving far too much
>> space at the bottom of a page that could be used if I used backgrounds).
>> Maybe I will be able to write a minimal example showing this effect of
>> textbackgrounds.
>> 
>> However, I have met some issues using your solution, Aditya, with
>> \automigrateinserts. I got one text in background containing a footnote
>> that has been rendered onto the footnote. Of course this can only happen
>> if the backgrounded text appears at the bottom of a page. It is a little
>> hard to get a minimal example showing this. But I think everyone can
>> imagine what I mean.
> 
> Mathias,
> 
> it would be weird that body text ended up in a footnote, but without a
> source it will be much harder to fix the bug.

Indeed the text was written onto the text of the footnote, so both texts did 
overlap. Sadly I was not able to reproduce it, since meanwhile I did change my 
document a bit (and updated to the latest beta). But it was in combination with 
mathematical theorems (so I defined the background to highlight theorems), this 
means it was in combination with lists.

If I will run into a similar issue or will be able to reproduce it in a minimal 
example I will inform you. But in the latest test I did not get that behaviour 
even if a theorem was extended to the next page and footnotes had been at the 
first page of the theorem. So things worked fine.

> 
> Just in case I got you wrong: is your issue that the background also
> covers the footnotes, such as in the first and second pages from:
> 
>\automigrateinserts
>\setuptextbackground[location=paragraph]
>\starttext
>\dorecurse{10}{\starttextbackground
>test\footnote{tufte}: \input knuth\hfill
>\stoptextbackground\blank}
>\stoptext
> 
> Just in cas it helps,

What can be done that this does not happen? (Your example?) Here we have a 
minimal example, your own. ;-)

> 
> Pablo

Best Mathias


> -- 
> http://www.ousia.tk
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Pablo Rodriguez
On 07/14/2017 05:22 PM, Mathias Schickel wrote:
> This indeed does the trick! Thank you very much! Maybe I will take
> use of Hans’ suggestion about textbackgrounds, but as I remember I have
> switched from those to backgrounds because they sometimes showed strange
> behaviour at page breaks if formulas are involved (leaving far too much
> space at the bottom of a page that could be used if I used backgrounds).
> Maybe I will be able to write a minimal example showing this effect of
> textbackgrounds.
> 
> However, I have met some issues using your solution, Aditya, with
> \automigrateinserts. I got one text in background containing a footnote
> that has been rendered onto the footnote. Of course this can only happen
> if the backgrounded text appears at the bottom of a page. It is a little
> hard to get a minimal example showing this. But I think everyone can
> imagine what I mean.

Mathias,

it would be weird that body text ended up in a footnote, but without a
source it will be much harder to fix the bug.

Just in case I got you wrong: is your issue that the background also
covers the footnotes, such as in the first and second pages from:

\automigrateinserts
\setuptextbackground[location=paragraph]
\starttext
\dorecurse{10}{\starttextbackground
test\footnote{tufte}: \input knuth\hfill
\stoptextbackground\blank}
\stoptext

Just in cas it helps,

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-14 Thread Mathias Schickel

> Am 13.07.2017 um 01:18 schrieb Aditya Mahajan :
> 
> On Wed, 12 Jul 2017, Mathias Schickel wrote:
> 
>> Does no-one know what I can do to settle the problem?
>> [...]
>> So what can I do to get the footnotes in a background environment displayed?
> 
> \automigrateinserts
> \starttext
> \startbackground
>  This is a test\footnote{Footnote} continue
> \stopbackground
> \stoptext
> 
> According to node-mig.mkiv, this might cause problems with notes inside 
> captions.
> 
> Aditya

This indeed does the trick! Thank you very much! Maybe I will take use of Hans’ 
suggestion about textbackgrounds, but as I remember I have switched from those 
to backgrounds because they sometimes showed strange behaviour at page breaks 
if formulas are involved (leaving far too much space at the bottom of a page 
that could be used if I used backgrounds). Maybe I will be able to write a 
minimal example showing this effect of textbackgrounds.

However, I have met some issues using your solution, Aditya, with 
\automigrateinserts. I got one text in background containing a footnote that 
has been rendered onto the footnote. Of course this can only happen if the 
backgrounded text appears at the bottom of a page. It is a little hard to get a 
minimal example showing this. But I think everyone can imagine what I mean.

Maybe I will be able to produce minimal examples of both issues and then I will 
send it to the list and maybe Hans or someone with similar skills can take care 
of that effects.

Best and many thanks for the help
Mathias


> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-12 Thread Aditya Mahajan

On Wed, 12 Jul 2017, Mathias Schickel wrote:


Does no-one know what I can do to settle the problem?
[...]
So what can I do to get the footnotes in a background environment 
displayed?


\automigrateinserts
\starttext
\startbackground
  This is a test\footnote{Footnote} continue
\stopbackground
\stoptext

According to node-mig.mkiv, this might cause problems with notes inside 
captions.


Aditya
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-12 Thread Hans Hagen

best play with textbackgrounds

\starttext

\starttextbackground
\dorecurse{10}{test\footnote{tufte}: \input tufte\par}
\stoptextbackground

\stoptext




-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-12 Thread Mathias Schickel
Am 10.07.2017 um 20:23 schrieb Mathias Schickel :Am 10.07.2017 um 12:50 schrieb Pablo Rodriguez :On 07/08/2017 03:17 PM, Mathias Schickel wrote:Dear Andreas, Pablo and the list,I did read your question and answer with great interest, since Iencountered similar issues. Sadly your trick to get footnotes that aredefined in some environments like tables displayed at the bottom of thepage does not work if you try it using backgrounds. Here I provide aminimal example that shows the problem:Dear Mathias,I didn’t even know that backgrounds existed in ConTeXt.Framed texts does the trick with your sample:  \setupframedtext [width=\textwidth,  frame=on,  rulethickness=1pt,  corner=0,  offset=12pt]  \starttext  \startframedtext  If you typeset text with background,  the footnote workaround does not work.  \postponenotes\footnote{So what could  I do to get this footnote displayed?  Use framed texts.}  \stopframedtext  \flushnotes  \stoptextBut if you really need a background, I’m afraid it won’t work (or Idon’t know how to make it work).Just in case it might help,PabloDear Pablo,thank you very much for your suggestion! Sadly I have noticed that framed texts do not break across pages (at least if I simply copy and use your code). I remember that I switched to backgrounds (from \definetextbackground) because I did get problems at page breaks. Regarding that backgrounds showed the best behaviour but sadly it has the described problems using footnotes.Do you have any further suggestions how I can enable framed text to break across pages?And can anyone tell me how I can get rid of the problem of backgrounds and footnotes?Again, thank you very much for your kind help!BestMathiasDoes no-one know what I can do to settle the problem? I have created a minimal example that shows the problem using textbackground to work around the footnote problem. But sadly the framedtext environment does not seem to be able to break across pages. Besides I would prefer the background solution. So what can I do to get the footnotes in a background environment displayed?Help appreciated!BestMathiasThe minimal example follows:%%\setupbackground[	width=\textwidth,	frame=on,	framecolor=black,	rulethickness=1pt,	background="">	backgroundcolor=green,	corner=0,	before={\blank[4*small]},	after={\blank[5*small]},	topoffset=10pt,    bottomoffset=10pt,    leftoffset=10pt,   	rightoffset=10pt]\setupframedtext      [width=\textwidth,       frame=on,       framecolor=black,       rulethickness=1pt,       background="">	   backgroundcolor=red,       corner=0,       offset=12pt]     \starttext%\startbackground	%	If you typeset text with background, the footnote workaround does not work.\postponenotes\footnote{So what could I do to get this footnote displayed?}	%\stopbackground\flushnotes%\startbackground	%	One advantages of backgrounds is that they break across pages, as you can see here:	%	\dorecurse{5}{%		\input{knuth}%		}	%\stopbackground%Compare that to the output of framedtext (the gap on this page is not intended!):%\startframedtext	%	Here I am getting trouble with breaking across pages.	This was the first reason why I switched to backgrounds.	%	\dorecurse{5}{%		\input{knuth}%	}   	%\stopframedtext%\stoptext%%

FramedFootnote.pdf
Description: Adobe PDF document
-- http://www.ousia.tk___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-contextwebpage  : http://www.pragma-ade.nl / http://context.aanhet.netarchive  : https://bitbucket.org/phg/context-mirror/commits/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-contextwebpage  : http://www.pragma-ade.nl / http://context.aanhet.netarchive  : https://bitbucket.org/phg/context-mirror/commits/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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-10 Thread Mathias Schickel

> Am 10.07.2017 um 12:50 schrieb Pablo Rodriguez :
> 
> On 07/08/2017 03:17 PM, Mathias Schickel wrote:
>> Dear Andreas, Pablo and the list,
>> 
>> I did read your question and answer with great interest, since I
>> encountered similar issues. Sadly your trick to get footnotes that are
>> defined in some environments like tables displayed at the bottom of the
>> page does not work if you try it using backgrounds. Here I provide a
>> minimal example that shows the problem:
> 
> Dear Mathias,
> 
> I didn’t even know that backgrounds existed in ConTeXt.
> 
> Framed texts does the trick with your sample:
> 
>\setupframedtext
>   [width=\textwidth,
>frame=on,
>rulethickness=1pt,
>corner=0,
>offset=12pt]
> 
>\starttext
>\startframedtext
>If you typeset text with background,
>the footnote workaround does not work.
>\postponenotes\footnote{So what could
>I do to get this footnote displayed?
>Use framed texts.}
>\stopframedtext
>\flushnotes
>\stoptext
> 
> But if you really need a background, I’m afraid it won’t work (or I
> don’t know how to make it work).
> 
> Just in case it might help,
> 
> Pablo

Dear Pablo,

thank you very much for your suggestion! Sadly I have noticed that framed texts 
do not break across pages (at least if I simply copy and use your code). I 
remember that I switched to backgrounds (from \definetextbackground) because I 
did get problems at page breaks. Regarding that backgrounds showed the best 
behaviour but sadly it has the described problems using footnotes.

Do you have any further suggestions how I can enable framed text to break 
across pages?

And can anyone tell me how I can get rid of the problem of backgrounds and 
footnotes?

Again, thank you very much for your kind help!

Best
Mathias
 


> -- 
> http://www.ousia.tk
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-10 Thread Pablo Rodriguez
On 07/08/2017 03:17 PM, Mathias Schickel wrote:
> Dear Andreas, Pablo and the list,
> 
> I did read your question and answer with great interest, since I
> encountered similar issues. Sadly your trick to get footnotes that are
> defined in some environments like tables displayed at the bottom of the
> page does not work if you try it using backgrounds. Here I provide a
> minimal example that shows the problem:

Dear Mathias,

I didn’t even know that backgrounds existed in ConTeXt.

Framed texts does the trick with your sample:

\setupframedtext
   [width=\textwidth,
frame=on,
rulethickness=1pt,
corner=0,
offset=12pt]

\starttext
\startframedtext
If you typeset text with background,
the footnote workaround does not work.
\postponenotes\footnote{So what could
I do to get this footnote displayed?
Use framed texts.}
\stopframedtext
\flushnotes
\stoptext

But if you really need a background, I’m afraid it won’t work (or I
don’t know how to make it work).

Just in case it might help,

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-08 Thread Mathias Schickel
Dear Andreas, Pablo and the list,

I did read your question and answer with great interest, since I encountered 
similar issues. Sadly your trick to get footnotes that are defined in some 
environments like tables displayed at the bottom of the page does not work if 
you try it using backgrounds. Here I provide a minimal example that shows the 
problem:


\setupbackground[
width=\textwidth,
frame=on,
framecolor=black,
rulethickness=1pt,
background=color,
backgroundcolor=white,
corner=0,
offset=12pt]
%
\starttext
%
\startbackground
%
If you typeset text with background, the footnote workaround does not 
work.\postponenotes\footnote{So what could I do to get this footnote displayed?}
%
\stopbackground
\flushnotes
%
\stoptext


Can anyone tell me what I can do to get the footnote rendered? Thank you in 
advance.

Best regards
Mathias


> Am 06.07.2017 um 09:41 schrieb Andreas Schneider :
> 
> Am 2017-07-05 20:51, schrieb Pablo Rodriguez:
>> this might do what you intend:
>>\starttext
>>\bTABLE[split=repeat,align=normal]
>>   \bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
>>   \bTR\bTD Foo\note[x] \eTD\eTR
>>\eTABLE
>>\flushnotes
>>\stoptext
>> Just in case it helps,
> 
> Hello Pablo,
> 
> yes, this does the trick. Thank you very much for that solution! :-)
> 
> Best regards
> Andreas
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-06 Thread Andreas Schneider

Am 2017-07-05 20:51, schrieb Pablo Rodriguez:

this might do what you intend:

\starttext
\bTABLE[split=repeat,align=normal]
   \bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
   \bTR\bTD Foo\note[x] \eTD\eTR
\eTABLE
\flushnotes
\stoptext

Just in case it helps,


Hello Pablo,

yes, this does the trick. Thank you very much for that solution! :-)

Best regards
Andreas
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-05 Thread Pablo Rodriguez
On 07/03/2017 05:00 PM, Andreas Schneider wrote:
> Hello,
> 
> in the current ConTeXt Minimals (ver: 2017.06.30 19:45 MKIV beta  fmt: 
> 2017.7.3) the following example doesn't show any footnotes:
> 
> 
> \starttext
> \bTABLE[split=repeat,align=normal]
>\bTR\bTD Something\footnote[x]{bla bla}\eTD\eTR
>\bTR\bTD Foo\note[x] \eTD\eTR
> \eTABLE
> \stoptext
> 

Hi Andreas,

this might do what you intend:

\starttext
\bTABLE[split=repeat,align=normal]
   \bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
   \bTR\bTD Foo\note[x] \eTD\eTR
\eTABLE
\flushnotes
\stoptext

Just in case it helps,


Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-03 Thread Andreas Schneider

Hello,

in the current ConTeXt Minimals (ver: 2017.06.30 19:45 MKIV beta  fmt: 
2017.7.3) the following example doesn't show any footnotes:



\starttext
\bTABLE[split=repeat,align=normal]
  \bTR\bTD Something\footnote[x]{bla bla}\eTD\eTR
  \bTR\bTD Foo\note[x] \eTD\eTR
\eTABLE
\stoptext


That second note reference (\note[x]) even causes a warning:


references  > unknown reference '[][x]'


(Local footnotes work in this case, but I prefer global ones.)

Best regards
Andreas
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___