Re: [NTG-context] footnotes in captions in floatcombinations
Thank you, Otared!
I updated to LMTX/MkIV 2020.09.15 18:11:
The images appear if I use --luatex (i.e. MkIV vs. LMTX),
but the footnotes use the width of the image.
The old MWE can’t show that.
Without \automigrateinserts I get both images and the short footnote, but not the long one.
\useMPlibrary[dum]
\automigrateinserts
\showframe
\starttext
\input lorem
\startplacefigure[location=none]
\startfloatcombination[2*1]
\startplacefigure[title={Left Image\footnote[f:3]{\input knuth }}]
\externalfigure[003][width=.48\textwidth]
\stopplacefigure
\startplacefigure[title={Right Image\footnote[f:4]{Anything}}]
\externalfigure[004][width=.48\textwidth]
\stopplacefigure
\stopfloatcombination
\stopplacefigure
\input tufte
\stoptext
Am 14.09.2020 um 22:43 schrieb Otared Kavian
Hi Hraban,
Your are right, your file is typeset correctly as expected with ConTeXt mkiv version 2020.06.25 10:55, but not with the current lmtx. (I am sending you the output with this message).
Best regards: Otared K.
On 14 Sep 2020, at 21:40, Henning Hraban Ramm
wrote: Hi, I got a problem with current LMTX as well as with other versions – while I’m sure it used to work at some point:
As soon as there’s a footnote in the caption of a placefigure within a floatcombination, the figure won’t get placed. There’s no problem outside of floatcombinations or with floatcombinations without footnotes.
Please let there be an easy fix...
Hraban
\useMPlibrary[dum] \automigrateinserts \showframe
\starttext
\input knuth
%\startplacefigure[location=none] %\startfloatcombination[2*1] \startplacefigure[title={Image with footnote\footnote[f:1]{foo bar baz}}] \externalfigure[001][width=.48\textwidth] \stopplacefigure \startplacefigure[title={Another image with footnote\footnote[f:2]{Something}}] \externalfigure[002][width=.48\textwidth] \stopplacefigure %\stopfloatcombination %\stopplacefigure
\input lorem
\startplacefigure[location=none] \startfloatcombination[2*1] \startplacefigure[title={Left Image\footnote[f:3]{doo be doo}}] \externalfigure[003][width=.48\textwidth] \stopplacefigure \startplacefigure[title={Right Image%\footnote[f:4]{Anything} }] \externalfigure[004][width=.48\textwidth] \stopplacefigure \stopfloatcombination \stopplacefigure
\startplacefigure[location=none] \startfloatcombination[2*1] \startplacefigure[title={Left Image}] \externalfigure[005][width=.48\textwidth] \stopplacefigure \startplacefigure[title={Right Image}] \externalfigure[006][width=.48\textwidth] \stopplacefigure \stopfloatcombination \stopplacefigure
\input tufte
\stoptext
___________________________________________________________________________________ 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 : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (1)
-
Henning Hraban Ramm