Jose Luis Arellano <jose.4rell...@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
___________________________________________________________________________________

Reply via email to