Re: [NTG-context] \footnote numbering starting with 3 [Was: ConTeXt MKIV 2012.05.22 and \footnote]
Am 28.05.2012 um 19:36 schrieb Marco Pessotto: Ok, here we are: \starttext \placelist[chapter,section] hello\footnote{ciao} \chapter{Hello\footnote{weird!}} \section{Hello\footnote{another fn}} hello\footnote{ciao} \stoptext The first footnote will start at 3 by itself. There is some weird interference between the placelist and the footnote, as removing the \placelist the numbering starts correctly. Found in both the latest minimals and in the TeXlive pretest. I sent a fix to the dev list. 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \footnote numbering starting with 3
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Am 28.05.2012 um 19:36 schrieb Marco Pessotto: Ok, here we are: \starttext \placelist[chapter,section] hello\footnote{ciao} \chapter{Hello\footnote{weird!}} \section{Hello\footnote{another fn}} hello\footnote{ciao} \stoptext The first footnote will start at 3 by itself. There is some weird interference between the placelist and the footnote, as removing the \placelist the numbering starts correctly. Found in both the latest minimals and in the TeXlive pretest. I sent a fix to the dev list. Wolfgang Thanks! -- Marco ___ 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] Footnote numbering pro page
Hello, ** Cecil Westerhof [2011-09-30 15:21:54 +0200]: A footnote is placed (at least the way I use it) on the same page as it is referred. But the numbering of the footnotes is continues. How can I make the footnote numbering reset to one at every page? Does \setupfootnotes[way=bypage] work? P.S. I found this on wiki.contextgarden.net. If this doesn't work wiki should be updated. --- WBR, Vladimir Lomov -- Be sociable. Speak to the person next to you in the unemployment line tomorrow. ___ 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] Footnote numbering pro page
On Fri, Sep 30, 2011 at 10:27:53PM +0900, Vladimir Lomov wrote: Hello, ** Cecil Westerhof [2011-09-30 15:21:54 +0200]: A footnote is placed (at least the way I use it) on the same page as it is referred. But the numbering of the footnotes is continues. How can I make the footnote numbering reset to one at every page? Does \setupfootnotes[way=bypage] work? It does not work in MkIV, I got no answer so far to my query about it a while ago. Regards, Khaled -- Khaled Hosny Egyptian Arab ___ 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] Footnote numbering pro page
Am 30.09.2011 um 16:45 schrieb Khaled Hosny: On Fri, Sep 30, 2011 at 10:27:53PM +0900, Vladimir Lomov wrote: Hello, ** Cecil Westerhof [2011-09-30 15:21:54 +0200]: A footnote is placed (at least the way I use it) on the same page as it is referred. But the numbering of the footnotes is continues. How can I make the footnote numbering reset to one at every page? Does \setupfootnotes[way=bypage] work? It does not work in MkIV, I got no answer so far to my query about it a while ago. core-two.lua: -function commands.findtwopassdata(id) local r = find (id) if r then context(r) end end +function commands.findtwopassdata(id,n) local r = find (id,n) if r then context(r) end end 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnote numbering broken ?
On Thu, 8 Feb 2007, Steffen Wolfrum wrote: Hi, shouldn't the following work? \starttext \setnumber[footnote]{3} test\footnote{x} \stoptext Steffen There seems to be a typo in core-not. The following works \unprotect \definenote[\v!footnote] \protect \starttext \setnumber[footnote]{3} test\footnote{x} \stoptext In core-not.tex the spaces should be removed from \definenote [\v!footnote ] \definenote [\v!endnote ] [\c!location=\v!none] % else no break Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote numbering broken ?
Aditya Mahajan wrote: On Thu, 8 Feb 2007, Steffen Wolfrum wrote: Hi, shouldn't the following work? \starttext \setnumber[footnote]{3} test\footnote{x} \stoptext Steffen There seems to be a typo in core-not. The following works \unprotect \definenote[\v!footnote] \protect \starttext \setnumber[footnote]{3} test\footnote{x} \stoptext In core-not.tex the spaces should be removed from \definenote [\v!footnote ] \definenote [\v!endnote ] [\c!location=\v!none] % else no break hm, these spaces are ignored, just try a\relax a a\relaxa -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote numbering broken ?
On Thu, 8 Feb 2007, Hans Hagen wrote: Aditya Mahajan wrote: On Thu, 8 Feb 2007, Steffen Wolfrum wrote: Hi, shouldn't the following work? \starttext \setnumber[footnote]{3} test\footnote{x} \stoptext Steffen There seems to be a typo in core-not. The following works \unprotect \definenote[\v!footnote] \protect \starttext \setnumber[footnote]{3} test\footnote{x} \stoptext In core-not.tex the spaces should be removed from \definenote [\v!footnote ] \definenote [\v!endnote ] [\c!location=\v!none] % else no break hm, these spaces are ignored, just try a\relax a a\relaxa Why does Steffen's code not work, while it works if I add \definenote[\v!footnote]? Another strange thing is that the following works \starttext \footnote{test} \setnumber[footnote]{3} x\footnote{test again} \stoptext But the footnote number is not incremented in \starttext \setnumber[footnote]{3} x\footnote{test} \stoptext Could it because of the loading order of file? Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [dev-context] RE: [NTG-context] footnote numbering
Idris Samawi Hamid wrote: {Title\footnote{test}} % 1 {Title\footnote{test}} % 2 \incrementnumber[footnote] %\setupnumber[footnote][start=3] % or %\setnumber[footnote]{3} % or Test\footnote{test} % 4? \stoptext keep in mind that start is only used when a number is reset (per page, chapter, etc) and that when you set a number, it will be incremented at the next usage (so indeed 3 is needed to get 4 next) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] footnote numbering
can someone tell me, how to set the counter of footnotes (e.g., one back, or to zero)? Play with this: == % output=pdf interface=en \starttext Test.\footnote{Test} Test.\footnote{Test} \resetnumber[footnote] Test.\footnote{Test} Test.\footnote{Test} \incrementnumber[footnote] Test.\footnote{Test} Test.\footnote{Test} \decrementnumber[footnote] \decrementnumber[footnote] \decrementnumber[footnote] Test.\footnote{Test} Test.\footnote{Test} \stoptext == Hans, can one add an option like \decrementnumber[2][footnote] to subract 2 instead of declaring the command three times? Best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[dev-context] RE: [NTG-context] footnote numbering
should be of interest to Albrecht and others... = Original Message From Adam Lindsay [EMAIL PROTECTED] = {Title\footnote{test}} % 1 {Title\footnote{test}} % 2 \incrementnumber[footnote] Test\footnote{test}% 4? Here is the trick: % output=pdf interface=en \setupfootnotes[way=bytext] % the key \starttext {Title\footnote{test}} % 1 {Title\footnote{test}} % 2 \incrementnumber[footnote] %\setupnumber[footnote][start=3] % or %\setnumber[footnote]{3} % or Test\footnote{test} % 4? \stoptext best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context