Re: [NTG-context] Footnotes in math mode

2020-06-28 Thread Wolfgang Schuster

Jairo A. del Rio schrieb am 28.06.2020 um 13:43:

It's "subscribe nodigest", right? Sorry for the inconveniences


Yes but the config page [1] has explanations for all options to know 
what each does.


[1] https://mailman.ntg.nl/mailman/options/ntg-context

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


Re: [NTG-context] Footnotes in math mode

2020-06-28 Thread Jairo A. del Rio
It's "subscribe nodigest", right? Sorry for the inconveniences

Jairo :)

El dom., 28 de jun. de 2020 a la(s) 06:11, Wolfgang Schuster (
wolfgang.schuster.li...@gmail.com) escribió:

> Jairo A. del Rio schrieb am 28.06.2020 um 12:54:
> > Hi list! I want to know how to properly use footnotes in math mode. The
> > following:
> >
> > \starttext
> > \startformula
> > \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d
> > x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote
> > \stopformula
> > \stoptext
> >
> > doesn't complain but it doesn't show the footnote either.
> >
> > So, I'm using the following workaround:
> >
> > \starttext
> > \startformula
> > \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d
> > x+\int_{c+h}^{b} f(x) d x\right]\note[mynote1]
> > \stopformula
> > \footnotetext[mynote1]{Cauchy s'occupe du cas...}
> > \stoptext
> >
> > However, 1) I have to create notes every time and it's kinda annoying
> > when a large amount of formulas are annotated (I've read somewhere it's
> > bad practice to (ab)use footnotes in math writing, but I see this often
> > in books from the 19th century or earlier), 2) the numbering is bold.
> > Making the numbering normal rather than bold would be fine, but I want
> > to know about a better solution. Thank you in advance
>
> You have two options:
>
> 1. Add \automigrateinserts at the begin of your document.
>
> \automigrateinserts
>
> \starttext
>
> \startformula
> x\footnote{Footnote}
> \stopformula
>
> \stoptext
>
> 2. Add a postponingnotes environment around the formula.
>
> \starttext
>
> \startpostponingnotes
> \startformula
> x\footnote{Footnote}
> \stopformula
> \stoppostponingnotes
>
> \stoptext
>
> The first option wasn't always reliable with many nested box levels and
> this is when you can use the second option.
>
> > Jairo :)
> >
> > PS: How to answer messages sent to the mailing list? I'm on Gmail and I
> > have to wait until the Digest comes. However, I can see messages in
> > mail-archive.com . It's a dumb question, but
> > when I want to thank Hans, Wolfgang or Aditya (and everyone else) for an
> > answer, or following a thread, I have to edit the whole Digest mail.
> > Sorry if I've been ungrateful by not answering back. Thank you again.
>
> Why don't you change this in the list settings or use a separate mail
> address for mailing lists.
>
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in math mode

2020-06-28 Thread Wolfgang Schuster

Jairo A. del Rio schrieb am 28.06.2020 um 12:54:
Hi list! I want to know how to properly use footnotes in math mode. The 
following:


\starttext
\startformula
\int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d 
x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote

\stopformula
\stoptext

doesn't complain but it doesn't show the footnote either.

So, I'm using the following workaround:

\starttext
\startformula
\int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d 
x+\int_{c+h}^{b} f(x) d x\right]\note[mynote1]

\stopformula
\footnotetext[mynote1]{Cauchy s'occupe du cas...}
\stoptext

However, 1) I have to create notes every time and it's kinda annoying 
when a large amount of formulas are annotated (I've read somewhere it's 
bad practice to (ab)use footnotes in math writing, but I see this often 
in books from the 19th century or earlier), 2) the numbering is bold. 
Making the numbering normal rather than bold would be fine, but I want 
to know about a better solution. Thank you in advance


You have two options:

1. Add \automigrateinserts at the begin of your document.

\automigrateinserts

\starttext

\startformula
x\footnote{Footnote}
\stopformula

\stoptext

2. Add a postponingnotes environment around the formula.

\starttext

\startpostponingnotes
\startformula
x\footnote{Footnote}
\stopformula
\stoppostponingnotes

\stoptext

The first option wasn't always reliable with many nested box levels and 
this is when you can use the second option.



Jairo :)

PS: How to answer messages sent to the mailing list? I'm on Gmail and I 
have to wait until the Digest comes. However, I can see messages in 
mail-archive.com . It's a dumb question, but 
when I want to thank Hans, Wolfgang or Aditya (and everyone else) for an 
answer, or following a thread, I have to edit the whole Digest mail. 
Sorry if I've been ungrateful by not answering back. Thank you again.


Why don't you change this in the list settings or use a separate mail 
address for mailing lists.


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


[NTG-context] Footnotes in math mode

2020-06-28 Thread Jairo A. del Rio
Hi list! I want to know how to properly use footnotes in math mode. The
following:

\starttext
\startformula
\int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d
x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote
\stopformula
\stoptext

doesn't complain but it doesn't show the footnote either.

So, I'm using the following workaround:

\starttext
\startformula
\int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d
x+\int_{c+h}^{b} f(x) d x\right]\note[mynote1]
\stopformula
\footnotetext[mynote1]{Cauchy s'occupe du cas...}
\stoptext

However, 1) I have to create notes every time and it's kinda annoying when
a large amount of formulas are annotated (I've read somewhere it's bad
practice to (ab)use footnotes in math writing, but I see this often in
books from the 19th century or earlier), 2) the numbering is bold. Making
the numbering normal rather than bold would be fine, but I want to know
about a better solution. Thank you in advance

Jairo :)

PS: How to answer messages sent to the mailing list? I'm on Gmail and I
have to wait until the Digest comes. However, I can see messages in
mail-archive.com. It's a dumb question, but when I want to thank Hans,
Wolfgang or Aditya (and everyone else) for an answer, or following a
thread, I have to edit the whole Digest mail. Sorry if I've been ungrateful
by not answering back. Thank you again.
___
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
___