diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-09-12 18:59:25 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-09-12 18:59:25 +0200 |
commit | e713d5aa882024dc438506c2f75eae6c5021a237 (patch) | |
tree | 28b00d15bb7d6c219d42deda996f6610747eca67 /tex/context/base/mkiv/core-sys.lua | |
parent | fbf22006525c920e93b9f671c2af3d4df2be902e (diff) | |
download | context-e713d5aa882024dc438506c2f75eae6c5021a237.tar.gz |
2016-09-12 18:31:00
Diffstat (limited to 'tex/context/base/mkiv/core-sys.lua')
-rw-r--r-- | tex/context/base/mkiv/core-sys.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/core-sys.lua b/tex/context/base/mkiv/core-sys.lua index 3e39fa9da..0dbe76685 100644 --- a/tex/context/base/mkiv/core-sys.lua +++ b/tex/context/base/mkiv/core-sys.lua @@ -40,6 +40,7 @@ function environment.initializefilenames() -- jobfilename = gsub(jobfilename, "^./","") -- inputfilename = gsub(inputfilename,"^./","") + environment.jobfilefullname = fulljobname environment.jobfilename = jobfilebase environment.jobfilesuffix = lower(suffixonly(jobfilebase)) @@ -60,6 +61,7 @@ end -- we could set a macro (but will that work when we're expanding? needs testing!) implement { name = "operatingsystem", actions = function() context(os.platform) end } +implement { name = "jobfilefullname", actions = function() context(environment.jobfilefullname) end } implement { name = "jobfilename", actions = function() context(environment.jobfilename) end } implement { name = "jobfilesuffix", actions = function() context(environment.jobfilesuffix) end } implement { name = "inputfilebarename", actions = function() context(environment.inputfilebarename) end } |