summaryrefslogtreecommitdiff
blob: c6e754d627fef4b0a9369256921bd303820cc356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
We install texmfcnf.lua in a different location than TeX Live so default
heuristics fail. Help it.

Index: work/texmf-dist/scripts/context/lua/mtxrun.lua
===================================================================
--- work.orig/texmf-dist/scripts/context/lua/mtxrun.lua
+++ work/texmf-dist/scripts/context/lua/mtxrun.lua
@@ -15407,10 +15407,8 @@ if environment.default_texmfcnf then
 else
   resolvers.luacnfspec=concat ({
     "home:texmf/web2c",
-    "selfautoparent:/texmf-local/web2c",
-    "selfautoparent:/texmf-context/web2c",
-    "selfautoparent:/texmf-dist/web2c",
-    "selfautoparent:/texmf/web2c",
+    "selfautodir:local/share/texmf/web2c",
+    "selfautodir:share/texmf/web2c",
   },";")
 end
 local unset_variable="unset"
Index: work/texmf-dist/scripts/context/stubs/unix/mtxrun
===================================================================
--- work.orig/texmf-dist/scripts/context/stubs/unix/mtxrun
+++ work/texmf-dist/scripts/context/stubs/unix/mtxrun
@@ -15407,10 +15407,8 @@ if environment.default_texmfcnf then
 else
   resolvers.luacnfspec=concat ({
     "home:texmf/web2c",
-    "selfautoparent:/texmf-local/web2c",
-    "selfautoparent:/texmf-context/web2c",
-    "selfautoparent:/texmf-dist/web2c",
-    "selfautoparent:/texmf/web2c",
+    "selfautodir:local/share/texmf/web2c",
+    "selfautodir:share/texmf/web2c",
   },";")
 end
 local unset_variable="unset"
Index: work/texmf-dist/tex/context/base/mkiv/data-res.lua
===================================================================
--- work.orig/texmf-dist/tex/context/base/mkiv/data-res.lua
+++ work/texmf-dist/tex/context/base/mkiv/data-res.lua
@@ -136,10 +136,8 @@ if environment.default_texmfcnf then
 else
     resolvers.luacnfspec = concat ( {
         "home:texmf/web2c",
-        "selfautoparent:/texmf-local/web2c",
-        "selfautoparent:/texmf-context/web2c",
-        "selfautoparent:/texmf-dist/web2c",
-        "selfautoparent:/texmf/web2c",
+	"selfautodir:local/share/texmf/web2c",
+	"selfautodir:share/texmf/web2c",
     }, ";")
 end