[metapost] jobname in luamplib

Toby Thurston thurston at eml.cc
Fri Aug 4 12:02:56 CEST 2023


In plain MP with "mpost", the internal variable "jobname" resolves to the stem of the name of the current source file.

But if I use "luamplib" with "lualatex" it always resolves to "mpout" -- would it be possible to propagate the current source filename from the lualatex level down to the MP level please?

Or is there an alternative approach with lualatex?

thanks, Toby Thurston


More information about the metapost mailing list.