[metapost] Can luamplib inherit the -recorder option from luatex?

Dohyun Kim nomosnomos at gmail.com
Tue Apr 4 11:07:05 CEST 2023


2023년 4월 4일 (화) 오전 3:54, Toby Thurston <thurston at eml.cc>님이 작성:
>
> Sometimes it's useful to have a list of all the files used in compiling a Metapost drawing.  From my observations of making MP graphics using this template
>
>  \documentclass{standalone}
>  \usepackage{luamplib}
>  \begin{document}
>  \begin{mplibcode}
>  beginfig(1);
>
>  endfig;
>  \end{mplibcode}
>  \end{document}
>
> and running `lualatex` with the  `-recorder` option, I find that `lualatex` produces a .fls file that shows all the files that lualatex loaded at the TeX level but that does *not* show any files that are included with an MP `input` command inside the mplibcode block.
>
> Is there some option to make `luamplib` pass on the input and output file names to the "parent" process?
> Could this be enabled as an option?
>

Just uploaded a new version to CTAN.

Today I have found a function (kpse.record_input_file) in luatex
manual, and that seems to make it work.
Visit https://github.com/lualatex/luamplib to see the difference with
the previous version.

Thank You and Ernst for the suggestion.

-- 
Dohyun Kim
Seoul, Republic of Korea



More information about the metapost mailing list.