
\setuphead[chapter][page=no]

\setupheadertexts[text][chapter][pagenumber]
\setupheader[text][state=start]

%\setupregister[index][%
%	n=2, balance=no, align=yes, alternative=A, indicator=yes, pagestyle=normal, location=right, style=type
%]

\defineregister[fidx]
\setupregister[fidx][%
	n=1, align=no,
	%alternative=B,
	compress=yes,
	indicator=no,
	distance=0.5em,
	before={},
	after={,},
	prefix=none,
]
\setupheadtext[fidx=Figures]

\setupnote[footnote][%
	way=bypage,% DOES NOTHING
	numberconversion=set 2]

\definehead[Kapitel][chapter]
\definehead[Abschnitt][section]


\starttext

%\writetoregister[fidx][Picasso]{Cover}

\dorecurse{20}{%
\expanded{\Kapitel{My chapter \recurselevel}}\fidx{Picasso}
\expanded{%
\placefigure[top][abb]{Caption \recurselevel}{{\externalfigure[koe][width=\textwidth]}}
\fidx{Fig.\recurselevel}
}
\expanded{\index{Index entry \recurselevel}}
\expanded{\section{My Zapf \recurselevel}}
\input zapf\expanded{\footnote{Zapf \recurselevel}}
\placefigure[left][abb]{Caption 0.\recurselevel}{{\externalfigure[koe][width=0.33\textwidth]}}
\fidx[spinoza]{Baruch Spinoza}
\expanded{\section{My Tufte \recurselevel}}
\input tufte\expanded{\footnote{Tufte \recurselevel}}
}

\completeindex % OK

\completecontent[criterium=all] % OK

\completefidx

\stoptext