diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/pack-obj.mkiv')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/pack-obj.mkiv | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/pack-obj.mkiv b/Master/texmf-dist/tex/context/base/mkiv/pack-obj.mkiv index d08c664944f..aeb5cb4f412 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/pack-obj.mkiv +++ b/Master/texmf-dist/tex/context/base/mkiv/pack-obj.mkiv @@ -51,8 +51,7 @@ \newdimen\objectht \def\objectheight{\the\objectht} \newdimen\objectdp \def\objectdepth {\the\objectdp} -%D If I have time I will use the unreferenced variant for e.g. mp reuse. This can be -%D rewritten in \LUA\ anyway. +%D If I have time I will use the unreferenced variant for e.g. mp reuse. \unexpanded\def\setreferencedobject #1#2{\begingroup\synctexpause\objectoff\objectoffset\inobjecttrue\dowithnextbox{\pack_objects_set_yes{#1}{#2}}} \unexpanded\def\settightreferencedobject #1#2{\begingroup\synctexpause\objectoff\zeropoint \inobjecttrue\dowithnextbox{\pack_objects_set_yes{#1}{#2}}} @@ -66,8 +65,14 @@ \newconstant\c_pack_objects_offset_mode % 0=tex 1=box +\unexpanded\def\pack_objects_temp_check % this will go away + {\ifnum\texenginefunctionality<6401\relax + \c_pack_objects_offset_mode\zerocount + \fi} + \unexpanded\def\pack_objects_set_yes#1#2% - {\ifcase\c_pack_objects_offset_mode + {\pack_objects_temp_check % this will go away + \ifcase\c_pack_objects_offset_mode \ifzeropt\objectoff \pack_objects_package_nop\nextbox \else @@ -81,7 +86,8 @@ \endgroup} \unexpanded\def\pack_objects_set_nop#1#2% - {\ifcase\c_pack_objects_offset_mode + {\pack_objects_temp_check % this will go away + \ifcase\c_pack_objects_offset_mode \ifzeropt\objectoff \pack_objects_package_nop\nextbox \else |