From b821116421f0d942052ad225f4ea62aef2696817 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Mon, 13 Jul 2020 17:21:34 +0200 Subject: 2020-07-13 16:31:00 --- tex/context/base/mkiv/libs-imp-kpse.mkxl | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 tex/context/base/mkiv/libs-imp-kpse.mkxl (limited to 'tex/context/base/mkiv/libs-imp-kpse.mkxl') diff --git a/tex/context/base/mkiv/libs-imp-kpse.mkxl b/tex/context/base/mkiv/libs-imp-kpse.mkxl new file mode 100644 index 000000000..8a3d7826f --- /dev/null +++ b/tex/context/base/mkiv/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}{} + +\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 + + -- cgit v1.2.3