ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Footnotes in footnotes
@ 2016-08-31 20:39 Jose Luis Arellano
  2016-10-16 14:17 ` Saša Janiška
  2016-10-16 16:35 ` Otared Kavian
  0 siblings, 2 replies; 16+ messages in thread
From: Jose Luis Arellano @ 2016-08-31 20:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Dear list,
I want to report a possible bug (I think), when one try to put a footnote
into another footnote, here is MWE (from wiki):

\starttext
This\footnote{Or that\footnote{Or possibly even the other.}, if you
prefer.} is a sentence with a footnote.
\stoptext

As you can see, the second footnote is not placed in the page.

Thanks.

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Footnotes in footnotes
  2016-08-31 20:39 Footnotes in footnotes Jose Luis Arellano
@ 2016-10-16 14:17 ` Saša Janiška
  2016-10-16 16:35 ` Otared Kavian
  1 sibling, 0 replies; 16+ messages in thread
From: Saša Janiška @ 2016-10-16 14:17 UTC (permalink / raw)
  To: ntg-context

Jose Luis Arellano <jose.4rellano@gmail.com> writes:

> Dear list,
> I want to report a possible bug (I think), when one try to put a
> footnote into another footnote, here is MWE (from wiki):
>
> \starttext
> This\footnote{Or that\footnote{Or possibly even the other.}, if you
> prefer.} is a sentence with a footnote.
> \stoptext
>

While testing/evaluating different options/markups, the topic of using
“footnote within footnote” has appeared and I’ve tried to test it in the
ConTeXt, but, strangely-enoug, I can confirm that it does not work here
as reported by Jose.

Here is the console output:

$ context footnotetst.tex 

mtx-context     | run 1: luatex --fmt="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en" --jobname="footnotetst" --lua="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./footnotetst.tex" --c:input="./footnotetst.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
This is LuaTeX, Version 0.95.0 (TeX Live 2016/Debian) 
 system commands enabled.
open source     > 1 > 1 > /usr/share/texmf/tex/context/base/mkiv/cont-yes.mkiv

ConTeXt  ver: 2016.05.17 19:20 MKIV current  fmt: 2016.5.28  int: english/english

system          > 'cont-new.mkiv' loaded
open source     > 2 > 2 > /usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv
close source    > 2 > 2 > /usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv
system          > files > jobname 'footnotetst', input './footnotetst', result 'footnotetst'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > /home/gour/prj/hugo/footnotetst.tex
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
structure       > sectioning > section @ level 3 : 0.0.1 -> Footnote test
backend         > xmp > using file '/usr/share/texmf/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
close source    > 2 > 3 > /home/gour/prj/hugo/footnotetst.tex
close source    > 1 > 3 > /usr/share/texmf/tex/context/base/mkiv/cont-yes.mkiv

mkiv lua stats  > used config file: /usr/share/texmf/web2c/texmfcnf.lua;/usr/share/texlive/texmf-dist/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: readable: '/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442' | readable+writable: '/home/gour/.texlive2016/texmf-var/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442'
mkiv lua stats  > resource resolver: loadtime 0.059 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 12 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 387 modules (0.270 sec), 82 tables (0.009 sec), 469 chunks (0.279 sec)
mkiv lua stats  > traced context: maxstack: 1175, freed: 0, unreachable: 1175
mkiv lua stats  > cleaned up reserved nodes: 47 nodes, 9 lists of 444
mkiv lua stats  > node memory usage: 13 glue, 2 penalty, 41 attribute, 38 glue_spec, 12 attribute_list, 2 temp
mkiv lua stats  > node list callback tasks: 6 unique task lists, 5 instances (re)created, 87 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: 278 direct, 250 indirect, 528 total
mkiv lua stats  > randomizer: resumed with value 0.47685763401764
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > interactive elements: 0 references, 1 destinations
mkiv lua stats  > result saved in file: footnotetst.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats  > loaded fonts: 5 files: latinmodern-math.otf, lmroman10-regular.otf, lmroman12-regular.otf, lmroman6-regular.otf, lmroman8-regular.otf
mkiv lua stats  > font engine: otf 3.020, afm 1.512, tfm 1.000, 11 instances, 4 shared in backend, 0 common vectors, 4 common hashes, load time 0.239 seconds 
mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: usr
mkiv lua stats  > luatex banner: this is luatex, version 0.95.0 (tex live 2016/debian)
mkiv lua stats  > control sequences: 43857 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua, used memory: 86 MB (ctx: 86 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.636 seconds, 1 processed pages, 1 shipped pages, 1.572 pages/second

mtx-context     | run 2: luatex --fmt="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en" --jobname="footnotetst" --lua="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=2 --c:fulljobname="./footnotetst.tex" --c:input="./footnotetst.tex" --c:kindofrun=2 --c:maxnofruns=9 "cont-yes.mkiv"
This is LuaTeX, Version 0.95.0 (TeX Live 2016/Debian) 
 system commands enabled.
open source     > 1 > 1 > /usr/share/texmf/tex/context/base/mkiv/cont-yes.mkiv

ConTeXt  ver: 2016.05.17 19:20 MKIV current  fmt: 2016.5.28  int: english/english

system          > 'cont-new.mkiv' loaded
open source     > 2 > 2 > /usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv
close source    > 2 > 2 > /usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv
system          > files > jobname 'footnotetst', input './footnotetst', result 'footnotetst'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > /home/gour/prj/hugo/footnotetst.tex
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
structure       > sectioning > section @ level 3 : 0.0.1 -> Footnote test
backend         > xmp > using file '/usr/share/texmf/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
close source    > 2 > 3 > /home/gour/prj/hugo/footnotetst.tex
close source    > 1 > 3 > /usr/share/texmf/tex/context/base/mkiv/cont-yes.mkiv

mkiv lua stats  > used config file: /usr/share/texmf/web2c/texmfcnf.lua;/usr/share/texlive/texmf-dist/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: readable: '/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442' | readable+writable: '/home/gour/.texlive2016/texmf-var/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442'
mkiv lua stats  > resource resolver: loadtime 0.059 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 12 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 387 modules (0.273 sec), 82 tables (0.009 sec), 469 chunks (0.282 sec)
mkiv lua stats  > traced context: maxstack: 1175, freed: 0, unreachable: 1175
mkiv lua stats  > cleaned up reserved nodes: 47 nodes, 9 lists of 444
mkiv lua stats  > node memory usage: 13 glue, 2 penalty, 41 attribute, 38 glue_spec, 12 attribute_list, 2 temp
mkiv lua stats  > node list callback tasks: 6 unique task lists, 5 instances (re)created, 87 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: 278 direct, 250 indirect, 528 total
mkiv lua stats  > randomizer: resumed with value 0.47685763401764
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > interactive elements: 0 references, 1 destinations
mkiv lua stats  > result saved in file: footnotetst.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats  > loaded fonts: 5 files: latinmodern-math.otf, lmroman10-regular.otf, lmroman12-regular.otf, lmroman6-regular.otf, lmroman8-regular.otf
mkiv lua stats  > font engine: otf 3.020, afm 1.512, tfm 1.000, 11 instances, 4 shared in backend, 0 common vectors, 4 common hashes, load time 0.239 seconds 
mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: usr
mkiv lua stats  > luatex banner: this is luatex, version 0.95.0 (tex live 2016/debian)
mkiv lua stats  > control sequences: 43856 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua, used memory: 86 MB (ctx: 86 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.639 seconds, 1 processed pages, 1 shipped pages, 1.565 pages/second

system          | total runtime: 1.707 seconds

Do I (we) miss something?

Sincerely,
Gour

-- 
Not by merely abstaining from work can one achieve freedom
from reaction, nor by renunciation alone can one attain perfection.

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Footnotes in footnotes
  2016-08-31 20:39 Footnotes in footnotes Jose Luis Arellano
  2016-10-16 14:17 ` Saša Janiška
@ 2016-10-16 16:35 ` Otared Kavian
  2016-10-16 17:35   ` Saša Janiška
  1 sibling, 1 reply; 16+ messages in thread
From: Otared Kavian @ 2016-10-16 16:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Jose Luis,

Indeed the example you sent does not work as expected, but as far as I remember for nested footnotes one can use the following construction (I found this exmaple in my archives…):

%%%% begin nested-footnotes.tex
\starttext

This\footnote{Or that\note[footB], if you prefer.}%
\footnotetext[footB]{Or possibly even the other\note[footC].}%
\footnotetext[footC]{It could be something entirely different.}
is a sentence with nested footnotes.

\stoptext
%%%% end nested-footnotes.tex

Best regards: OK

> On 31 Aug 2016, at 22:39, Jose Luis Arellano <jose.4rellano@gmail.com> wrote:
> 
> Dear list,
> I want to report a possible bug (I think), when one try to put a footnote into another footnote, here is MWE (from wiki):
> 
> \starttext
> This\footnote{Or that\footnote{Or possibly even the other.}, if you prefer.} is a sentence with a footnote.
> \stoptext
> 
> As you can see, the second footnote is not placed in the page.
> 
> Thanks.
> ___________________________________________________________________________________
> 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://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Footnotes in footnotes
  2016-10-16 16:35 ` Otared Kavian
@ 2016-10-16 17:35   ` Saša Janiška
  0 siblings, 0 replies; 16+ messages in thread
From: Saša Janiška @ 2016-10-16 17:35 UTC (permalink / raw)
  To: ntg-context

Otared Kavian <otared@gmail.com> writes:

> Indeed the example you sent does not work as expected, but as far as I
> remember for nested footnotes one can use the following construction

It’s a bit convoluted, but, well…

Otoh, it’s interesting to note that in my static-site-generator which
uses Go’s Blackfriday markdown processor which does support some
extensions, one can use nested footnotes.


Sincerely,
Gour

-- 
A person is considered still further advanced when he regards honest
well-wishers, affectionate benefactors, the neutral, mediators, the envious,
friends and enemies, the pious and the sinners all with an equal mind.

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Footnotes in footnotes
  2001-01-30 13:42           ` Giuseppe Bilotta
@ 2001-01-31  9:18             ` Hans Hagen
  0 siblings, 0 replies; 16+ messages in thread
From: Hans Hagen @ 2001-01-31  9:18 UTC (permalink / raw)
  Cc: ConTeXt

At 02:42 PM 1/30/01 +0100, Giuseppe Bilotta wrote:

>>    \footnote then basically becomes
>> \def\footnote[#1]#2{\footnotetext[#1]{#2}\note[#1]}

Well, try this with 

bla \footnote{How do you say \TeX\footnote{in \TeX\ this is
keyed in as \type {\TeX, or \TeX\ or \TeX{}}}}

\def\xfootnote#1{\footnote{#1}}

bla \xfootnote{How do you say \TeX\xfootnote{in \TeX\ this is
keyed in as \type {\TeX, or \TeX\ or \TeX{}}}}

\end

and you will see why it fails. The footnote commands are rather complicated
because they need to take care of this and worse, formatting on the fly,
like double coolumn footnotes). 

Hans 
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


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

* Re: Footnotes in footnotes
  2001-01-28 19:13     ` Hans Hagen
@ 2001-01-30 13:45       ` Giuseppe Bilotta
  0 siblings, 0 replies; 16+ messages in thread
From: Giuseppe Bilotta @ 2001-01-30 13:45 UTC (permalink / raw)
  Cc: ConTeXt

Hans Hagen wrote

[about nested footnotes]

>
> Sure, that's one can be solved with one line [just did it].
>
> Till the next update use:
>
> \postponefootnotes\footnote
>

works like a charm :-) but only one level deep (that is, not for footnotes in
footnotes in footnotes ... but who's ever going to use footnotes nested so
deep?)

> in the inner note; this should work ok, although i would certainly try to
> avoid nested notes -)

I would too. But sometimes the need arises; and moreover I'm now typesetting a
little TeX ad, so I want to show some nice features :-)

Giuseppe Bilotta

Using Microsoft products is like having sex
without condoms--but less pleasurable


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

* Re: Footnotes in footnotes
  2001-01-29 11:20         ` Taco Hoekwater
@ 2001-01-30 13:42           ` Giuseppe Bilotta
  2001-01-31  9:18             ` Hans Hagen
  0 siblings, 1 reply; 16+ messages in thread
From: Giuseppe Bilotta @ 2001-01-30 13:42 UTC (permalink / raw)


>
> Hans Hagen wrote:
>
> > \footnotemark
> > \footnotetext
> >
> > the most natural names for this?
>

Taco Hoekwater answered

> Here is what I think is the most sensible approach, based on current
> context behaviour, which is:
>
> \footnote does three things:
>
> 1. typeset a reference in the text
> 2. typeset the number in front of the footnote
> 3. typeset the footnote text
>
> Parts 2 and 3 are done by one macro (\dostartfootnote), and it is
> currently not possible to change
> that behaviour.
>
> \note does only the first thing:
>
> 1. typeset a reference in the text
>
>
> LaTeX's \footnotemark/\footnotetext uses a somewhat different approach.
>
> Proposed extension:
>
> a) Make a new user command \footnotetext, that only does 2. and 3.
>
>    \footnote then basically becomes
> \def\footnote[#1]#2{\footnotetext[#1]{#2}\note[#1]}

...which allows for nested footnotes without having to worry about a
\postponefootnotes ... in the sense that \footnote itself should set a variable,
and if the variable is already set, it should automatically trigger
\postponefootnotes too.

Talking about weird request ... this also gave me the idea that you can let two
footnotes have the same number:

\starttext
Let's put a footnote\footnote[ref]{this is a footnote.} and another
footnote\note[ref] that is the same as the previous.
\stoptext

(ok, that's probably no news for anybody, but it is for me ... :-))

Giuseppe Bilotta

Using Microsoft products is like having sex
without condoms--but less pleasurable


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

* Re: Footnotes in footnotes
  2001-01-28 22:28       ` Hans Hagen
@ 2001-01-29 11:20         ` Taco Hoekwater
  2001-01-30 13:42           ` Giuseppe Bilotta
  0 siblings, 1 reply; 16+ messages in thread
From: Taco Hoekwater @ 2001-01-29 11:20 UTC (permalink / raw)
  Cc: ntg-context

Hans Hagen wrote:

> \footnotemark
> \footnotetext
> 
> the most natural names for this?

Here is what I think is the most sensible approach, based on current
context behaviour, which is:

\footnote does three things:

1. typeset a reference in the text
2. typeset the number in front of the footnote
3. typeset the footnote text

Parts 2 and 3 are done by one macro (\dostartfootnote), and it is
currently not possible to change
that behaviour. 

\note does only the first thing:

1. typeset a reference in the text 

LaTeX's \footnotemark/\footnotetext uses a somewhat different approach.

Proposed extension:

a) Make a new user command \footnotetext, that only does 2. and 3.

   \footnote then basically becomes
\def\footnote[#1]#2{\footnotetext[#1]{#2}\note[#1]}
   This allows 'non-marking' footnotes to appear at the bottom of the
page.

b) Add an option to suppress the footnote marker and/or indentation in
front of the 
   footnote's text. This allows 'global' footnotes that don't need a
symbol.

   (but keep the internal reference, just make it expand to nothing. I'd
like to
    be able to do: "see the footnote on page xxx". Only typesetting is
disabled
    by this option).

   The cleanest way (IMO) of implementing this is to split \footnotetext
in a part that
   typeset 2. and a part that typesets 3.

I hope this is clear enough.

-- 
groeten,

Taco


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

* Re: Footnotes in footnotes
  2001-01-27 11:50     ` Taco Hoekwater
  2001-01-27 22:47       ` Giuseppe Bilotta
@ 2001-01-28 22:28       ` Hans Hagen
  2001-01-29 11:20         ` Taco Hoekwater
  1 sibling, 1 reply; 16+ messages in thread
From: Hans Hagen @ 2001-01-28 22:28 UTC (permalink / raw)
  Cc: ntg-context

At 12:50 PM 1/27/01 +0100, Taco Hoekwater wrote:

>  This author has strange requests

I guess that you have the largest collection of funny requests -) I think
it would be very entertaining of you write an articles on all those cases. 

>In descriptive text: sometimes I *do* want a footnotemarker in the
>text but don't want the footnote itself to be marked, and sometimes
>I don't want a footnotemarker but *do* want the footnotes to be
>marked. Contexts \footnote[-]{..} cannot do this because the resulting
>footnote cannot be referenced to.

So, in case one, what should happen to the footnote text? Should is just
disappear? 

are 

\footnotemark
\footnotetext

the most natural names for this? 

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


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

* Re: Footnotes in footnotes
  2001-01-26 21:46   ` Giuseppe Bilotta
  2001-01-27 11:50     ` Taco Hoekwater
@ 2001-01-28 19:13     ` Hans Hagen
  2001-01-30 13:45       ` Giuseppe Bilotta
  1 sibling, 1 reply; 16+ messages in thread
From: Hans Hagen @ 2001-01-28 19:13 UTC (permalink / raw)
  Cc: ConTeXt

At 10:46 PM 1/26/01 +0100, Giuseppe Bilotta wrote:
>I wrote:
>> >As of subject. I browsed the past messages, and I've seen that Hans Hagen
>> was working on it ... so, is it somewhat possible? (maybe
>> >a decoupling of the command like \footnotemark/footnotetext in LaTeX?)
>>
>Hans wrote:
>> what exactly do you want to achieve? There is \note[ref] to refer to a
>> (previous) footnote.
>
>I want this:
>
>\starttext
>
>So this is what I want\footnote{I mean, this is a footnote\footnote{a
footnote
>is text put at the end of the page}, and there should be a footnote within
this
>footnote}.
>
>\stoptext
>
>The footnote created within the footnote gets the correct number (one more
than
>the top-level one), the numbers are increased (the next footnote in the
text is
>numbered one more than the nested footnote), but the nested footnote text
>doesn't appear (it should appear as a regular footnote text  right after the
>top-level-footnote-text).
>
>Hope I made myself clear.

Sure, that's one can be solved with one line [just did it]. 

Till the next update use: 

\postponefootnotes\footnote 

in the inner note; this should work ok, although i would certainly try to
avoid nested notes -) 

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


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

* Re: Footnotes in footnotes
  2001-01-27 11:50     ` Taco Hoekwater
@ 2001-01-27 22:47       ` Giuseppe Bilotta
  2001-01-28 22:28       ` Hans Hagen
  1 sibling, 0 replies; 16+ messages in thread
From: Giuseppe Bilotta @ 2001-01-27 22:47 UTC (permalink / raw)


Taco wrote:
>
> In LaTeX, this is why there are \footnotemark and \footnotetext
> commands.

Exactly. I hope to see this in ConTeXt soon. And better than the LaTeX one; in
LaTeX, it's hard to use \footenote[mark,text] more than once per time: you have
to manually set the numbers in cases like

rich\footnotemark text\footnotemark with\footnotemark lots of footnotes

then \footnotetext would only refer to the last footnotemark. In ConTeXt, this
could be made better with

rich\footnotemark[one] text\footnotemark[two] with\footnotemark[three]

and then

\footnotetext[one]{text for one}

etc.

Let's see what Hans Hagen thinks of it ...

Giuseppe Bilotta


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

* Re: Footnotes in footnotes
  2001-01-26 21:46   ` Giuseppe Bilotta
@ 2001-01-27 11:50     ` Taco Hoekwater
  2001-01-27 22:47       ` Giuseppe Bilotta
  2001-01-28 22:28       ` Hans Hagen
  2001-01-28 19:13     ` Hans Hagen
  1 sibling, 2 replies; 16+ messages in thread
From: Taco Hoekwater @ 2001-01-27 11:50 UTC (permalink / raw)


Hi Hans,

Giuseppe Bilotta wrote:

> I want this:
> 

And I want this:

===

  Taco Hoekwater*
  blablabla ....

  --
  This author has strange requests
====

as well as this:

==== page 1

  --
  1. This document was created ...
  2. Don't read past page 6.
==== page 6

  A footnote 2 already stated, you can stop reading now.

====

In descriptive text: sometimes I *do* want a footnotemarker in the
text but don't want the footnote itself to be marked, and sometimes
I don't want a footnotemarker but *do* want the footnotes to be
marked. Contexts \footnote[-]{..} cannot do this because the resulting
footnote cannot be referenced to.

In LaTeX, this is why there are \footnotemark and \footnotetext
commands.

Greetings, Taco


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

* Re: Footnotes in footnotes
  2001-01-26 13:05 ` Hans Hagen
@ 2001-01-26 21:46   ` Giuseppe Bilotta
  2001-01-27 11:50     ` Taco Hoekwater
  2001-01-28 19:13     ` Hans Hagen
  0 siblings, 2 replies; 16+ messages in thread
From: Giuseppe Bilotta @ 2001-01-26 21:46 UTC (permalink / raw)
  Cc: ConTeXt

I wrote:
> >As of subject. I browsed the past messages, and I've seen that Hans Hagen
> was working on it ... so, is it somewhat possible? (maybe
> >a decoupling of the command like \footnotemark/footnotetext in LaTeX?)
>
Hans wrote:
> what exactly do you want to achieve? There is \note[ref] to refer to a
> (previous) footnote.

I want this:

\starttext

So this is what I want\footnote{I mean, this is a footnote\footnote{a footnote
is text put at the end of the page}, and there should be a footnote within this
footnote}.

\stoptext

The footnote created within the footnote gets the correct number (one more than
the top-level one), the numbers are increased (the next footnote in the text is
numbered one more than the nested footnote), but the nested footnote text
doesn't appear (it should appear as a regular footnote text  right after the
top-level-footnote-text).

Hope I made myself clear.

Giuseppe Bilotta


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

* Re: Footnotes in footnotes
  2001-01-24 15:43 Giuseppe Bilotta
  2001-01-25  9:15 ` Taco Hoekwater
@ 2001-01-26 13:05 ` Hans Hagen
  2001-01-26 21:46   ` Giuseppe Bilotta
  1 sibling, 1 reply; 16+ messages in thread
From: Hans Hagen @ 2001-01-26 13:05 UTC (permalink / raw)
  Cc: ConTeXt

At 04:43 PM 1/24/01 +0100, Giuseppe Bilotta wrote:
>As of subject. I browsed the past messages, and I've seen that Hans Hagen
was working on it ... so, is it somewhat possible? (maybe
>a decoupling of the command like \footnotemark/footnotetext in LaTeX?)

what exactly do you want to achieve? There is \note[ref] to refer to a
(previous) footnote. 

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


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

* Re: Footnotes in footnotes
  2001-01-24 15:43 Giuseppe Bilotta
@ 2001-01-25  9:15 ` Taco Hoekwater
  2001-01-26 13:05 ` Hans Hagen
  1 sibling, 0 replies; 16+ messages in thread
From: Taco Hoekwater @ 2001-01-25  9:15 UTC (permalink / raw)


Giuseppe Bilotta wrote:
> 
> As of subject. I browsed the past messages, and I've seen that Hans Hagen was working on it ... so, is it somewhat possible? (maybe
> a decoupling of the command like \footnotemark/footnotetext in LaTeX?)

This decoupling would be a good idea in some other circumstances as
well. 

-- 
groeten,

Taco


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

* Footnotes in footnotes
@ 2001-01-24 15:43 Giuseppe Bilotta
  2001-01-25  9:15 ` Taco Hoekwater
  2001-01-26 13:05 ` Hans Hagen
  0 siblings, 2 replies; 16+ messages in thread
From: Giuseppe Bilotta @ 2001-01-24 15:43 UTC (permalink / raw)


As of subject. I browsed the past messages, and I've seen that Hans Hagen was working on it ... so, is it somewhat possible? (maybe
a decoupling of the command like \footnotemark/footnotetext in LaTeX?)

Giuseppe Bilotta


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

end of thread, other threads:[~2016-10-16 17:35 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-31 20:39 Footnotes in footnotes Jose Luis Arellano
2016-10-16 14:17 ` Saša Janiška
2016-10-16 16:35 ` Otared Kavian
2016-10-16 17:35   ` Saša Janiška
  -- strict thread matches above, loose matches on Subject: below --
2001-01-24 15:43 Giuseppe Bilotta
2001-01-25  9:15 ` Taco Hoekwater
2001-01-26 13:05 ` Hans Hagen
2001-01-26 21:46   ` Giuseppe Bilotta
2001-01-27 11:50     ` Taco Hoekwater
2001-01-27 22:47       ` Giuseppe Bilotta
2001-01-28 22:28       ` Hans Hagen
2001-01-29 11:20         ` Taco Hoekwater
2001-01-30 13:42           ` Giuseppe Bilotta
2001-01-31  9:18             ` Hans Hagen
2001-01-28 19:13     ` Hans Hagen
2001-01-30 13:45       ` Giuseppe Bilotta

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