Re: Can luamplib inherit the -recorder option from luatex?
Dohyun Kim <[email protected]> Tue, 4 Apr 2023 18:07:05 +0900
| Newsgroups | gmane.comp.tex.metapost |
|---|---|
| Message-ID | <CAFzmAm217HTipmkxvEKZ_oadFUsjZABTB2aCVgXO6yD24cMzOA@mail.gmail.com> |
2023년 4월 4일 (화) 오전 3:54, Toby Thurston <[email protected]>님이 작성: > > 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 -- http://tug.org/metapost/