[NTG-context] \placenamedfloat and \setuphead[aftersection=...] broken?
Benjamin Buchmuller
benjamin.buchmuller at gmail.com
Thu Apr 2 19:29:25 CEST 2020
Potentially on the same lines, placing delayed element seems currently not to work properly (or the syntax has changed?).
I think these features of MkIV are very elegant and useful. I’m just wondering if they are/were temporarily not working (tried on 2019.12.27 16:34 MKIV beta and the Wiki’s ConTeXt online) or have been disabled/changed for some reason?
Thanks!
Benjamin
(1) palcenamedfloat
---------------
This is the example from the Wiki:
\starttext
test
\placefigure[somewhere:alpha][whatever]{alpha}{}
test
\placefigure[somewhere:beta] [whatever]{beta}{}
test
\placefigure[somewhere:gamma][whatever]{gamma}{}
test
\placefigure[somewhere:delta][whatever]{delta}{}
test
\placefigure{}{}
in
\in{figure}[whatever]
bla bla
\placenamedfloat[figure][*l*]
\placenamedfloat[figure][gamma]
\placenamedfloat[figure][beta]
\stoptext
(2) Footnotes at the end of each chapter
------------------------------------
Also an example from the Wiki:
\startsetups
chapter:after
\ifcase\rawcountervalue[footnote]\relax
\or
\startsubject[title=Footnote]
\placefootnotes
\stopsubject
\else
\startsubject[title=Footnotes]
\placefootnotes
\stopsubject
\fi
\stopsetups
\setupnotes[location=none]
\setupnotation[way=bychapter]
\setuphead[chapter][aftersection=\setups{chapter:after}]
More information about the ntg-context
mailing list