Re: [NTG-context] Footnotes in xtables

2019-05-01 Thread Otared Kavian
Hi Henning

> On 1 May 2019, at 15:56, Henning Hraban Ramm  wrote:
>> […]
> 
> Is there a way to handle footnotes in tables like regular footnotes, i.e. 
> combine numbering and placement?

Hi Henning,

The answer is yes as in the following example (thanks to Wolfgang for pointing 
to \startpostponingnotes…).

%%% begin footnote-global-xtable.tex
\starttext
A silly one here\footnote{Here is a silly footnote.}
\startpostponingnotes
\startplacetable[location=middle,reference={tab:1}]
\startxtable
\startxrow
\startxcell Alpha \stopxcell
\startxcell Beta\footnote{This is a footnote in 
\in{Table}[tab:1] } \stopxcell
\stopxrow
\startxrow
\startxcell Beta \stopxcell
\startxcell Alpha\stopxcell
\stopxrow
\stopxtable
\stopplacetable
\stoppostponingnotes

Another serious one here\footnote{Here is a serious footnote.}
\stoptext
%%% end footnote-global-xtable.tex

Best regards: OK
___
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] Footnotes in xtables

2019-05-01 Thread Henning Hraban Ramm
Am 2019-04-30 um 09:45 schrieb Otared Kavian :

> Hi Clyde,
> 
> In order to use footnotes in tables, you can use localfootnotes as in the 
> following:
> 
> \startlocalfootnotes
>   \startxtable
>   \startxrow
>   \startxcell Alpha \stopxcell
>   \startxcell Beta\footnote{Footnote Here} \stopxcell
>   \stopxrow
>   \startxrow
>   \startxcell Beta \stopxcell
>   \startxcell Alpha\stopxcell
>   \stopxrow
>   \stopxtable
> \placelocalfootnotes
> \stoplocalfootnotes
> 
> Then the footnotes appear below the table.
> 
> However it seems that the localfootnotes mechanism is conflicting with 
> \startpalectable...\stoplacetable.

Is there a way to handle footnotes in tables like regular footnotes, i.e. 
combine numbering and placement?


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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] Footnotes in xtables

2019-04-30 Thread Clyde Johnston
I think I can live with this solution.  Thanks very much.

-Original Message-
From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Otared Kavian
Sent: Tuesday, April 30, 2019 10:46 AM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Footnotes in xtables

Hi Clyde,

In order to use footnotes in tables, you can use localfootnotes as in the 
following:

\startlocalfootnotes
\startxtable
\startxrow
\startxcell Alpha \stopxcell
\startxcell Beta\footnote{Footnote Here} \stopxcell
\stopxrow
\startxrow
\startxcell Beta \stopxcell
\startxcell Alpha\stopxcell
\stopxrow
\stopxtable
\placelocalfootnotes
\stoplocalfootnotes

Then the footnotes appear below the table.

However it seems that the localfootnotes mechanism is conflicting with 
\startpalectable...\stoplacetable.

Best regards: OK

> On 30 Apr 2019, at 08:33, Clyde Johnston  wrote:
> 
> How do you get footnotes to work in xtables?  I get the superscript next to 
> the text but the footnote does not appear at the bottom of the page.
>  
> Thanks, Clyde
>  
> MWE:
>  
> \starttext
> \startxtable
> \startxrow
> \startxcell Alpha \stopxcell
> \startxcell Beta\footnote{Footnote Here} \stopxcell
> \stopxrow
> \startxrow
> \startxcell Beta \stopxcell
> \startxcell Alpha\stopxcell
> \stopxrow
> \stopxtable
> \stoptext
> _
> __ 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
___

___
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] Footnotes in xtables

2019-04-30 Thread Otared Kavian
Hi Clyde,

In order to use footnotes in tables, you can use localfootnotes as in the 
following:

\startlocalfootnotes
\startxtable
\startxrow
\startxcell Alpha \stopxcell
\startxcell Beta\footnote{Footnote Here} \stopxcell
\stopxrow
\startxrow
\startxcell Beta \stopxcell
\startxcell Alpha\stopxcell
\stopxrow
\stopxtable
\placelocalfootnotes
\stoplocalfootnotes

Then the footnotes appear below the table.

However it seems that the localfootnotes mechanism is conflicting with 
\startpalectable...\stoplacetable.

Best regards: OK

> On 30 Apr 2019, at 08:33, Clyde Johnston  wrote:
> 
> How do you get footnotes to work in xtables?  I get the superscript next to 
> the text but the footnote does not appear at the bottom of the page.
>  
> Thanks, Clyde
>  
> MWE:
>  
> \starttext
> \startxtable
> \startxrow
> \startxcell Alpha \stopxcell
> \startxcell Beta\footnote{Footnote Here} \stopxcell
> \stopxrow
> \startxrow
> \startxcell Beta \stopxcell
> \startxcell Alpha\stopxcell
> \stopxrow
> \stopxtable
> \stoptext
> ___
> 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
___


[NTG-context] Footnotes in xtables

2019-04-30 Thread Clyde Johnston
How do you get footnotes to work in xtables?  I get the superscript next to
the text but the footnote does not appear at the bottom of the page.

 

Thanks, Clyde

 

MWE:

 

\starttext

\startxtable

\startxrow

\startxcell Alpha \stopxcell

\startxcell Beta\footnote{Footnote Here} \stopxcell

\stopxrow

\startxrow

\startxcell Beta \stopxcell

\startxcell Alpha\stopxcell

\stopxrow

\stopxtable

\stoptext



mwe.pdf
Description: Adobe PDF document
___
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
___