ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Footnotes in margins
@ 2021-11-16 11:57 Marcus Vinicius Mesquita via ntg-context
  2021-11-16 12:08 ` Henning Hraban Ramm via ntg-context
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Marcus Vinicius Mesquita via ntg-context @ 2021-11-16 11:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marcus Vinicius Mesquita


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

Dear list,

When running the MWE below, the first footnote does not appear.
What am I missing?

\starttext
\inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.}
\stoptext

ConTeXt version: 2021.11.13

Regards

Marcus Vinicius
-- 
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo
nem seus membros, por ser descanso da alma, primavera do coração, distração
do aflito, entretenimento do solitário, e viático do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)

[-- Attachment #1.2: Type: text/html, Size: 1921 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Footnotes in margins
  2021-11-16 11:57 Footnotes in margins Marcus Vinicius Mesquita via ntg-context
@ 2021-11-16 12:08 ` Henning Hraban Ramm via ntg-context
  2021-11-16 12:53 ` Taco Hoekwater via ntg-context
  2021-11-16 13:46 ` Marcus Vinicius Mesquita via ntg-context
  2 siblings, 0 replies; 4+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2021-11-16 12:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm



> Am 16.11.2021 um 12:57 schrieb Marcus Vinicius Mesquita via ntg-context <ntg-context@ntg.nl>:
> 
> Dear list,
> 
> When running the MWE below, the first footnote does not appear.
> What am I missing?
> 
> \starttext
> \inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.}
> \stoptext

Footnotes are "inserts", and those are apparently tricky...

The other way round (marginals from footnotes) I was told to use scope=local:

\footnote{footnote\inmargin[scope=local]{margin note from footnote}}

Don’t know if that helps.

Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Footnotes in margins
  2021-11-16 11:57 Footnotes in margins Marcus Vinicius Mesquita via ntg-context
  2021-11-16 12:08 ` Henning Hraban Ramm via ntg-context
@ 2021-11-16 12:53 ` Taco Hoekwater via ntg-context
  2021-11-16 13:46 ` Marcus Vinicius Mesquita via ntg-context
  2 siblings, 0 replies; 4+ messages in thread
From: Taco Hoekwater via ntg-context @ 2021-11-16 12:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Taco Hoekwater

Hi,

Like Hraban said, inserts are generally tricky and they tend to disappear when used inside
other elements like floating objects / boxes / tables. However, ConTeXt has an easy way out
at least for your case:

\starttext
\startpostponingnotes
\inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.}
\stoppostponingnotes
\stoptext

Best wishes,
Taco

> On 16 Nov 2021, at 12:57, Marcus Vinicius Mesquita via ntg-context <ntg-context@ntg.nl> wrote:
> 
> Dear list,
> 
> When running the MWE below, the first footnote does not appear.
> What am I missing?
> 
> \starttext
> \inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.}
> \stoptext

— 
Taco Hoekwater              E: taco@bittext.nl
genderfluid (all pronouns)



___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Footnotes in margins
  2021-11-16 11:57 Footnotes in margins Marcus Vinicius Mesquita via ntg-context
  2021-11-16 12:08 ` Henning Hraban Ramm via ntg-context
  2021-11-16 12:53 ` Taco Hoekwater via ntg-context
@ 2021-11-16 13:46 ` Marcus Vinicius Mesquita via ntg-context
  2 siblings, 0 replies; 4+ messages in thread
From: Marcus Vinicius Mesquita via ntg-context @ 2021-11-16 13:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marcus Vinicius Mesquita


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

Thank you Hraban and Taco for the help. Tricky indeed.

Regards

Marcus Vinicius

On Tue, Nov 16, 2021 at 8:57 AM Marcus Vinicius Mesquita <
marcusvinicius.mesquita@gmail.com> wrote:

> Dear list,
>
> When running the MWE below, the first footnote does not appear.
> What am I missing?
>
> \starttext
> \inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.}
> \stoptext
>
> ConTeXt version: 2021.11.13
>
> Regards
>
> Marcus Vinicius
> --
> Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o
> corpo nem seus membros, por ser descanso da alma, primavera do coração,
> distração do aflito, entretenimento do solitário, e viático do viajante.
>
> Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
>


-- 
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo
nem seus membros, por ser descanso da alma, primavera do coração, distração
do aflito, entretenimento do solitário, e viático do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)

[-- Attachment #1.2: Type: text/html, Size: 2736 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2021-11-16 13:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16 11:57 Footnotes in margins Marcus Vinicius Mesquita via ntg-context
2021-11-16 12:08 ` Henning Hraban Ramm via ntg-context
2021-11-16 12:53 ` Taco Hoekwater via ntg-context
2021-11-16 13:46 ` Marcus Vinicius Mesquita via ntg-context

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