Re: [NTG-context] Footnotes inside and outside a framed text
Hi Pablo, I'll try very soon your trick as I'll try Massi's. Thank you very much. - Mail original - De: "Pablo Rodriguez" <oi...@gmx.es> À: "mailing list for ConTeXt users" <ntg-context@ntg.nl> Envoyé: Mardi 4 Octobre 2016 20:44:05 Objet: Re: [NTG-context] Footnotes inside and outside a framed text On 10/04/2016 05:36 PM, Jean-Pierre Delange wrote: > Thank you Massi for your help ! Sorry for not having answered before, Jean-Pierre. Last year, Hans replied to a question on the very same issue (https://mailman.ntg.nl/pipermail/ntg-context/2015/083570.html), with the following code: \framed{three\postponenotes\footnote{3}}\flushnotes I hope 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnotes inside and outside a framed text
On 10/04/2016 05:36 PM, Jean-Pierre Delange wrote: > Thank you Massi for your help ! Sorry for not having answered before, Jean-Pierre. Last year, Hans replied to a question on the very same issue (https://mailman.ntg.nl/pipermail/ntg-context/2015/083570.html), with the following code: \framed{three\postponenotes\footnote{3}}\flushnotes I hope 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnotes inside and outside a framed text
Thank you Massi for your help ! - Mail original - De: "mf" <mass...@fastwebnet.it> À: ntg-context@ntg.nl Envoyé: Lundi 3 Octobre 2016 00:47:56 Objet: Re: [NTG-context] Footnotes inside and outside a framed text You should set the footnote text before the frame, with \footnotetext[id]{text}. In case you need to set more footnotes, set them in the order they will be called in your frame (or float, like tables or formulas). In case you define your own footnotes, use \setnotetext[yourfootnote][id]{text}. \footnotetext[id]{text} is the same as \setnotetext[footnote][id]{text}. %% begin modified example \defineframedtext [MyFrame] [before={\blank[3*big]}, after={\blank[3*big]}, frame=on, background=MyFrame, %width=\textwidth, width=max, height=fit, style={\setupbodyfont[9pt]}] \starttext Here we place some text with a footnote\footnote{This is a first footnote.} before the framed text in order to see how the footnotes are printed by \ConTeXt. \input knuth % we set the footnote text in advance \setnotetext[footnote][fn2]{This is a second footnote} \startMyFrame[Title=Attention !] This is a frame with no special paragraphs, but a footnote\note[fn2] % we put only the footnote marker inside the framed text that \ConTeXt should print in the page footer. \input ward \stopMyFrame Here we place some text with another footnote\footnote{This is the third footnote. Note that the second footnote in the frame is not printed.} after the framed text in order to test how the footnotes are printed by \ConTeXt ... \input knuth \stoptext %% end modified example Best regards, Massi > Dear List, > > I am currently writing documents with some framed texts, sometimes > with a few footnotes inside these framed texts. The frames are > coloured ones using MPGraphic (but there is no use of MPGraphic in > the sample below). The issue is that only footnotes outside of the > framed text are printed in the footer, using Windows 10 or Linux > Ubuntu, with CTX current version 2016-07-01 or later. What is the way > to print the footnote outside of the frame (alternatively, inside of > the frame) ? > > Thank you very much for your help. > JP > > See below the minimal sample : > > \defineframedtext > [MyFrame] > [before={\blank[3*big]}, > after={\blank[3*big]}, > frame=on, > background=MyFrame, > %width=\textwidth, > width=max, > height=fit, > style={\setupbodyfont[9pt]}] > > \starttext > Here we place some text with a footnote\footnote{This is a first > footnote.} before the framed text in order to see how the footnotes > are printed by \ConTeXt. > > \input knuth > \startMyFrame[Title=Attention !] > This is a frame with no special paragraphs, but a > footnote\footnote{This is a second footnote} inside the framed text > that \ConTeXt should print in the page footer. > > \input ward > > \stopMyFrame > > Here we place some text with another footnote\footnote{This is the > third footnote. Note that the second footnote in the frame is not > printed.} after the framed text in order to test how the footnotes > are printed by \ConTeXt ... > > \input knuth > \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/nt > g-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnotes inside and outside a framed text
You should set the footnote text before the frame, with \footnotetext[id]{text}. In case you need to set more footnotes, set them in the order they will be called in your frame (or float, like tables or formulas). In case you define your own footnotes, use \setnotetext[yourfootnote][id]{text}. \footnotetext[id]{text} is the same as \setnotetext[footnote][id]{text}. %% begin modified example \defineframedtext [MyFrame] [before={\blank[3*big]}, after={\blank[3*big]}, frame=on, background=MyFrame, %width=\textwidth, width=max, height=fit, style={\setupbodyfont[9pt]}] \starttext Here we place some text with a footnote\footnote{This is a first footnote.} before the framed text in order to see how the footnotes are printed by \ConTeXt. \input knuth % we set the footnote text in advance \setnotetext[footnote][fn2]{This is a second footnote} \startMyFrame[Title=Attention !] This is a frame with no special paragraphs, but a footnote\note[fn2] % we put only the footnote marker inside the framed text that \ConTeXt should print in the page footer. \input ward \stopMyFrame Here we place some text with another footnote\footnote{This is the third footnote. Note that the second footnote in the frame is not printed.} after the framed text in order to test how the footnotes are printed by \ConTeXt ... \input knuth \stoptext %% end modified example Best regards, Massi > Dear List, > > I am currently writing documents with some framed texts, sometimes > with a few footnotes inside these framed texts. The frames are > coloured ones using MPGraphic (but there is no use of MPGraphic in > the sample below). The issue is that only footnotes outside of the > framed text are printed in the footer, using Windows 10 or Linux > Ubuntu, with CTX current version 2016-07-01 or later. What is the way > to print the footnote outside of the frame (alternatively, inside of > the frame) ? > > Thank you very much for your help. > JP > > See below the minimal sample : > > \defineframedtext > [MyFrame] > [before={\blank[3*big]}, > after={\blank[3*big]}, > frame=on, > background=MyFrame, > %width=\textwidth, > width=max, > height=fit, > style={\setupbodyfont[9pt]}] > > \starttext > Here we place some text with a footnote\footnote{This is a first > footnote.} before the framed text in order to see how the footnotes > are printed by \ConTeXt. > > \input knuth > \startMyFrame[Title=Attention !] > This is a frame with no special paragraphs, but a > footnote\footnote{This is a second footnote} inside the framed text > that \ConTeXt should print in the page footer. > > \input ward > > \stopMyFrame > > Here we place some text with another footnote\footnote{This is the > third footnote. Note that the second footnote in the frame is not > printed.} after the framed text in order to test how the footnotes > are printed by \ConTeXt ... > > \input knuth > \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/nt > g-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Footnotes inside and outside a framed text
Dear List, I am currently writing documents with some framed texts, sometimes with a few footnotes inside these framed texts. The frames are coloured ones using MPGraphic (but there is no use of MPGraphic in the sample below). The issue is that only footnotes outside of the framed text are printed in the footer, using Windows 10 or Linux Ubuntu, with CTX current version 2016-07-01 or later. What is the way to print the footnote outside of the frame (alternatively, inside of the frame) ? Thank you very much for your help. JP See below the minimal sample : \defineframedtext [MyFrame] [before={\blank[3*big]}, after={\blank[3*big]}, frame=on, background=MyFrame, %width=\textwidth, width=max, height=fit, style={\setupbodyfont[9pt]}] \starttext Here we place some text with a footnote\footnote{This is a first footnote.} before the framed text in order to see how the footnotes are printed by \ConTeXt. \input knuth \startMyFrame[Title=Attention !] This is a frame with no special paragraphs, but a footnote\footnote{This is a second footnote} inside the framed text that \ConTeXt should print in the page footer. \input ward \stopMyFrame Here we place some text with another footnote\footnote{This is the third footnote. Note that the second footnote in the frame is not printed.} after the framed text in order to test how the footnotes are printed by \ConTeXt ... \input knuth \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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___