diff options
author | Mojca Miklavec <mojca.miklavec@gmail.com> | 2023-03-11 21:33:05 +0000 |
---|---|---|
committer | Mojca Miklavec <mojca.miklavec@gmail.com> | 2023-03-11 21:33:05 +0000 |
commit | 8cd27101d38a4fb07cc5a0bc5a7905583361a87f (patch) | |
tree | 0f6a3fe8772abf7a020b265ed1e085acb6a774b9 /Master/bin/x86_64-linuxmusl | |
parent | 54ef7733709fd09f40245ded41a8fb23f7aaaf88 (diff) |
Replace context.lua script copies with symbolic links
git-svn-id: svn://tug.org/texlive/trunk@66562 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/x86_64-linuxmusl')
l---------[-rw-r--r--] | Master/bin/x86_64-linuxmusl/context.lua | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/Master/bin/x86_64-linuxmusl/context.lua b/Master/bin/x86_64-linuxmusl/context.lua index da2442d85ab..825f868ad88 100644..120000 --- a/Master/bin/x86_64-linuxmusl/context.lua +++ b/Master/bin/x86_64-linuxmusl/context.lua @@ -1,41 +1 @@ --- This file is a companion to "context(.exe)" and is effectively the same
--- as:
---
--- mtxrun -script context ...
---
--- which will locate "mtx-context.lua" and load that one. The binary is a
--- copy of "luametatex(.exe)" aka luatex 2.0 for context lmtx. In a similar
--- fashion "mtxrun(.exe)" will load the "mtrun.lua" script.
---
--- The installation of context should do this on Windows:
---
--- luametatex.exe -> tex/texmf-win64/bin/luatex.exe
--- luametatex.exe -> tex/texmf-win64/bin/mtxrun.exe
--- luametatex.exe -> tex/texmf-win64/bin/context.exe
--- mtxrun.lua -> tex/texmf-win64/bin/mtxrun.lua
--- context.lua -> tex/texmf-win64/bin/context.lua
---
--- and this on Unix:
---
--- luametatex -> tex/texmf-linux-64/bin/luatex
--- luametatex -> tex/texmf-linux-64/bin/mtxrun
--- luametatex -> tex/texmf-linux-64/bin/context
--- mtxrun.lua -> tex/texmf-linux-64/bin/mtxrun.lua
--- context.lua -> tex/texmf-linux-64/bin/context.lua
---
--- The static binary is smaller than 3MB so the few copies provide no real
--- overhead.
-
-local selfpath = os.selfpath
-
-if not arg or not selfpath then
- print("invalid stub")
- os.exit()
-end
-
-arg[0] = "mtxrun"
-
-table.insert(arg,1,"mtx-context")
-table.insert(arg,1,"--script")
-
-dofile(selfpath .. "/" .. "mtxrun.lua")
+../../texmf-dist/scripts/context/lua/context.lua
\ No newline at end of file |