* [NTG-context] problem with location={right,high} in latest LMTX
@ 2024-08-14 21:11 Henning Hraban Ramm
2024-08-14 21:24 ` [NTG-context] " Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2024-08-14 21:11 UTC (permalink / raw)
To: mailing list for ConTeXt users
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_ ...
<line 3.8>
\stopplacefigure
1
2 \useMPlibrary[dum]
3
4 \starttext
5
6 \startplacefigure[title={problem},location={right,high}]
7 \externalfigure[dummy][width=.3\textwidth]
8 >> \stopplacefigure
9 \samplefile{ward}
10
11 \stoptext
12
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: problem with location={right,high} in latest LMTX
2024-08-14 21:11 [NTG-context] problem with location={right,high} in latest LMTX Henning Hraban Ramm
@ 2024-08-14 21:24 ` Wolfgang Schuster
2024-08-15 11:08 ` Henning Hraban Ramm
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2024-08-14 21:24 UTC (permalink / raw)
To: mailing list for ConTeXt users, Henning Hraban Ramm
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: problem with location={right,high} in latest LMTX
2024-08-14 21:24 ` [NTG-context] " Wolfgang Schuster
@ 2024-08-15 11:08 ` Henning Hraban Ramm
0 siblings, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2024-08-15 11:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-15 11:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-14 21:11 [NTG-context] problem with location={right,high} in latest LMTX Henning Hraban Ramm
2024-08-14 21:24 ` [NTG-context] " Wolfgang Schuster
2024-08-15 11:08 ` Henning Hraban Ramm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).