problem with location={right,high} in latest LMTX
There seems to be a regression with sidefloats:
"""
\useMPlibrary[dum]
\starttext
\startplacefigure[title={problem},location={right,high}]
\externalfigure[dummy][width=.3\textwidth]
\stopplacefigure
\samplefile{ward}
\stoptext
"""
results in
tex error > tex error on line 8 in file
de/_tests/sidefloattest.tex: Missing number, treated as zero
<to be read again>
\global
<macro>
...80=>\global \c_strc_floats_rotation \commalistelement \relax
,270=>\global \c_strc_floats_rotation \commalistelement \relax ]\fi
\ifinset \v!paragraph \floatlocation \global \c_page_sides_force_shape
\conditionaltrue \else \global
\c_page_sides ...
<macro> \p_crossreference
...ation \floatlocationdefault \let \forcedfloatmethod
\floatlocationdefault } \donothing \fi \ifempty \forcedfloatmethod \let
\forcedfloatmethod \v!here \fi \fi \fi \strc_floats_check_extra_actions
\strc_floats_analyze_variables_two
\strc_floats_ ...
Henning Hraban Ramm schrieb am 14.08.2024 um 23:11:
There seems to be a regression with sidefloats:
""" \useMPlibrary[dum]
\starttext
\startplacefigure[title={problem},location={right,high}] \externalfigure[dummy][width=.3\textwidth] \stopplacefigure \samplefile{ward}
\stoptext """
Line 1154 in strc-flt.mkxl: \def\strc_floats_analyze_variables_two {... - \ifinset\v!high \floatlocation\global \plusone \fi + \ifinset\v!high \floatlocation\global\c_page_sides_skipmode \plusone \fi \ifinset\v!low \floatlocation\global\c_page_sides_skipmode \plustwo \fi \ifinset\v!fit \floatlocation\global\c_page_sides_skipmode \plusthree\fi \ifinset\v!tolerant \floatlocation\global\c_page_sides_tolerance\plusone \fi \ifinset\v!verytolerant\floatlocation\global\c_page_sides_tolerance\plustwo \fi ...} Wolfgang
Am 14.08.24 um 23:24 schrieb Wolfgang Schuster:
Line 1154 in strc-flt.mkxl:
\def\strc_floats_analyze_variables_two {... - \ifinset\v!high \floatlocation\global \plusone \fi + \ifinset\v!high \floatlocation\global\c_page_sides_skipmode \plusone \fi \ifinset\v!low \floatlocation\global\c_page_sides_skipmode \plustwo \fi \ifinset\v!fit \floatlocation\global\c_page_sides_skipmode \plusthree\fi \ifinset\v!tolerant \floatlocation\global\c_page_sides_tolerance\plusone \fi \ifinset\v!verytolerant\floatlocation\global\c_page_sides_tolerance\plustwo \fi ...}
Thank you, it works (of course). Hraban
participants (2)
-
Henning Hraban Ramm
-
Wolfgang Schuster