[NTG-context] footnotes in captions in floatcombinations
Henning Hraban Ramm
texml at fiee.net
Sun Sep 20 16:22:58 CEST 2020
> Am 20.09.2020 um 13:59 schrieb Henning Hraban Ramm <texml at fiee.net>:
>>>> In MkIV I get images and footnotes, but the width of the footnotes is always that of the image.
>>>>
>>>> In LMTX I don’t get anything.
>>> Current state (v. 2020.09.18 20:32):
>>> Some progress: Footnotes are still as wide as the image they belong to (in both versions), but in LMTX some footnotes are missing.
>> mwe missing
>
> Regarding the width it’s still the same MWE (slightly adapted), apparently not related to floatcombinations but a general problem of footnotes in captions; couldn’t reproduce “some missing” in an MWE yet.
I found another problem with captions in floatcombinations: They are always bottom-aligned to each other, so that the distance between image and caption differs. This is the same in current LMTX and MkIV.
Hraban
\usemodule[visual]
\definecolor[fakerulecolor][c=.2,m=.1,k=.2]
\useMPlibrary[dum]
\automigrateinserts % nop in LMTX
\showframe
\setupcaptions[
headstyle={\ss\bfx},
align={flushleft,high},
hang=yes,
]
\starttext
\fakewords{10}{30}
% Footnotes, but no combination
%\startplacefigure[location=none]
%\startfloatcombination[2*1]
\startplacefigure[title={\fakewords{5}{10}\footnote[f:1]{\fakewords{10}{30}}}]
\externalfigure[001][width=.34\textwidth]
\stopplacefigure
\startplacefigure[title={\fakewords{5}{10}\footnote[f:2]{\fakewords{10}{30}}}]
\externalfigure[002][width=.62\textwidth]
\stopplacefigure
%\stopfloatcombination
%\stopplacefigure
\fakewords{20}{30}
% both
\startplacefigure[location=none]
\startfloatcombination[2*1]
\startplacefigure[title={\fakewords{5}{10}\footnote[f:3]{\fakewords{10}{30}}}]
\externalfigure[003][width=.34\textwidth]
\stopplacefigure
\startplacefigure[title={\fakewords{5}{10}\footnote[f:4]{\fakewords{10}{30}}}]
\externalfigure[004][width=.62\textwidth]
\stopplacefigure
\stopfloatcombination
\stopplacefigure
\fakewords{10}{30}
% combination without footnotes
\startplacefigure[location=none]
\startfloatcombination[2*1]
\startplacefigure[title={\fakewords{5}{10}}]
\externalfigure[005][width=.34\textwidth]
\stopplacefigure
\startplacefigure[title={\fakewords{5}{10}}]
\externalfigure[006][width=.62\textwidth]
\stopplacefigure
\stopfloatcombination
\stopplacefigure
\fakewords{5}{10}
\stoptext
More information about the ntg-context
mailing list