Hello there,

I recently upgraded to  ConTeXt  ver: 2018.04.04 00:51 MKIV  and found that
the following simple code gives an error, where as it compiled without
complaining in ver: 2017.05.15 21:48.


\setupexternalfigures[location={local,default}]

\starttext
\input ward

\placefigure[left,none]{}{\externalfigure[cow][width=3cm]}

\input ward
\stoptext

The error happens when the location of placefigure is left or right, but not
with center. The error is the following:

context test.tex
resolvers       | trees | analyzing 'home:.texlive2018/texmf-config'
mtx-context     | run 1: luatex
--fmt="/home/philippe/.texlive2018/texmf-var/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/lua
tex/cont-en" --jobname="test"
--lua="/home/philippe/.texlive2018/texmf-var/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luate
x/cont-en.lui" --no-parse-first-line --c:currentrun=1
--c:fulljobname="./test.tex" --c:input="./test.tex" --c:kindofrun=1
--c:maxnofruns=9 "co
nt-yes.mkiv"

This is LuaTeX, Version 1.07.0 (TeX Live 2019/dev/Debian)
 system commands enabled.

resolvers       > trees > analyzing 'home:.texlive2018/texmf-config'
open source     > level 1, order 1, name
'/usr/share/texmf/tex/context/base/mkiv/cont-yes.mkiv'
system          >
system          > ConTeXt  ver: 2018.04.04 00:51 MKIV beta  fmt: 2019.9.25  int:
english/english
system          >
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name
'/usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv'
close source    > level 2, order 2, name
'/usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'test', input './test', result 'test'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name '/home/philippe/test.tex'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
open source     > level 3, order 4, name
'/usr/share/texmf/tex/context/sample/common/ward.tex'
close source    > level 3, order 4, name
'/usr/share/texmf/tex/context/sample/common/ward.tex'
floatblocks     > '1' placed (left)

tex error       > tex error on line 6 in file /home/philippe/test.tex: !
Illegal unit of measure (pt inserted)

<to be read again>
\global
\strc_floats_wrap_free_region ->\global
                                        \setbox \floatbox \hpack {\ifconditi...
\strc_floats_mark_as_free ...ats_wrap_free_region
                                                  \anch_mark_tagged_box_free...
\strc_floats_mark_par_as_free ...sides_bottomskip
                                                  \or \strc_floats_mark_as_f...
\page_sides_push_float_inline ...mark_par_as_free
                                                  \ifcase \c_page_sides_floa...
\page_sides_place_float ...des_place_float_normal
                                                  \fi \par \kern -\d_page_si...
...
l.6 ...left,none]{}{\externalfigure[cow][width=3cm]}


 1     \setupexternalfigures[location={local,default}]
 2
 3     \starttext
 4     \input ward
 5
 6 >>  \placefigure[left,none]{}{\externalfigure[cow][width=3cm]}
 7
 8     \input ward


I am running a freshly installed Ubuntu 19.04. Has anybody run into this issues,
is there a known workaround ?

 thanks in advance,

   Philippe


___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to