diff options
Diffstat (limited to 'tex/context/base/mkxl/libs-imp-kpse.mkxl')
-rw-r--r-- | tex/context/base/mkxl/libs-imp-kpse.mkxl | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/libs-imp-kpse.mkxl b/tex/context/base/mkxl/libs-imp-kpse.mkxl new file mode 100644 index 000000000..f76c99029 --- /dev/null +++ b/tex/context/base/mkxl/libs-imp-kpse.mkxl @@ -0,0 +1,38 @@ +%D \module +%D [ file=libs-imp-kpse, +%D version=2020.05.19, +%D title=\CONTEXT\ System Modules, +%D subtitle=KPSE File Searching, +%D author=Hans Hagen, +%D date=\currentdate, +%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] +%C +%C This module is part of the \CONTEXT\ macro||package and is +%C therefore copyrighted by \PRAGMA. See mreadme.pdf for +%C details. + +%D This is not really a module. It's more some left over from an experiment. Who +%D know when it comes in handy; probably never in a real run, but I might want to +%D make a \LUAMETATEX\ plain format one day, just for the fun of it. + +% \registerctxluafile{libs-imp-kpse}{autosuffix} + +\continueifinputfile{libs-imp-kpse.mkxl} + +\starttext + +\startTEXpage + \startluacode + local kpse = require("libs-imp-kpse") + + kpse.set_program_name("pdftex") + + local name = "context.mkii" + + context("%s: %s",name,kpse.find_file(name)) + \stopluacode +\stopTEXpage + +\stoptext + + |