You can't use `lastsavedimageresourcepages' in vertical mode. error using TexLive 2018 on Linux
3
Update: Thanks for the comment below, adding the before lastsavedimageresourcepages in the MWE below worked! But why? I have thousands of places in all my latex files that uses this type of code without the in there and that always worked. So now I have go find and edit each place and add the there? I do not understand why this change was made that will break current latex code. Original question The MWE below gives this error when compiled with lualatex only on Linux Manjaro with fresh installation of TL 2018 on Vbox I did last night. The same file compiles with lualatex with no error on another Linux ubuntu but with TeXLive which I have no updated for may be one or 2 month. That is the only difference. So it seems something broke in latest TL 2018? Notice that this MWE is only meant to work...