Hi, I'm trying to setup the path for images using environment variables but calling context.setupexternalfigures does not work for me. I am using the latest version 2018.10.08 17:44 on Windows. \directlua{ % This one works fine %context("\\setupexternalfigures[directory={images, " .. os.getenv('IMG_PATH'):gsub('\\', '/') .. "}]") % Those do not (state: unknown) context.setupexternalfigures({directory = {{'images', os.getenv('IMG_PATH'):gsub('\\', '/')}}}) context.setupexternalfigures {directory = {{'images', os.getenv('IMG_PATH'):gsub('\\', '/')}}} context.setupexternalfigures({'images', os.getenv('TEX_PATH'):gsub('\\', '/')}) } \starttext \externalfigure[cow] \stoptext Called with $env:IMG_PATH = 'D:\Applications\Context\tex\texmf-context\tex\context\sample\common'; context test.tex Additionally, using a path with non-ascii symbols in environment variables does not seem to work at all but this is not a big issue for me. How should I call context.setupexternalfigures? Best regards, Gilles