From b37e407715a35ab99bef96eba5e9c7b9f1ccceecac00b2a0610b1b1dc34073ec Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 4 Jul 2023 09:20:53 +0000 Subject: [PATCH] Rework lua(meta)tex/context resource findings OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-filesystem?expand=0&rev=174 --- texlive-filesystem.changes | 5 +++++ update.texlive | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/texlive-filesystem.changes b/texlive-filesystem.changes index 4e19660..b8ff363 100644 --- a/texlive-filesystem.changes +++ b/texlive-filesystem.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 4 09:16:37 UTC 2023 - Dr. Werner Fink + +- Rework lua(meta)tex/context resource findings + ------------------------------------------------------------------- Mon Jun 5 11:12:19 UTC 2023 - Dr. Werner Fink diff --git a/update.texlive b/update.texlive index 64f9f7d..2eb1313 100644 --- a/update.texlive +++ b/update.texlive @@ -523,6 +523,7 @@ make_context_fmts() LUATEXDIR=${TEXMFDIST}/scripts/context/lua \ TEXMFCACHE=${TEXMFVAR} \ TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \ + TEXMF=${TEXMFDIST} \ /usr/bin/context $fmt --make < /dev/null 1>&4 2>&4 let status+=$? done @@ -535,6 +536,7 @@ make_context_fmts() LUATEXDIR=${TEXMFDIST}/scripts/context/lua \ TEXMFCACHE=${TEXMFVAR} \ TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \ + TEXMF=${TEXMFDIST} \ /usr/bin/context $fmt --luatex --make < /dev/null 1>&4 2>&4 let status+=$? done @@ -542,6 +544,7 @@ make_context_fmts() LUATEXDIR=${TEXMFDIST}/scripts/context/lua \ TEXMFCACHE=${TEXMFVAR} \ TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \ + TEXMF=${TEXMFDIST} \ /usr/bin/mtxrun --script fonts --reload < /dev/null 1>&4 2>&4 let status+=$? @@ -558,6 +561,7 @@ if test -x /usr/bin/mtxrun ; then LUATEXDIR=${TEXMFDIST}/scripts/context/lua \ TEXMFCACHE=${TEXMFVAR} \ TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \ + TEXMF=${TEXMFDIST} \ /usr/bin/mtxrun --generate < /dev/null 1>&4 2>&4 let rc+=$? @@ -565,12 +569,14 @@ if test -x /usr/bin/mtxrun ; then LUATEXDIR=${TEXMFDIST}/scripts/context/lua \ TEXMFCACHE=${TEXMFVAR} \ TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \ + TEXMF=${TEXMFDIST} \ /usr/bin/context --luatex --generate < /dev/null 1>&4 2>&4 let rc+=$? LUATEXDIR=${TEXMFDIST}/scripts/context/lua \ TEXMFCACHE=${TEXMFVAR} \ TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \ + TEXMF=${TEXMFDIST} \ /usr/bin/mtxrun --script fonts --reload < /dev/null 1>&4 2>&4 let rc+=$? @@ -587,7 +593,7 @@ if test -x /usr/bin/mtxrun ; then TEXMFCACHE=${TEXMFVAR} \ TEXMFCNF=${TEXMFCNFFILE%/*} \ LUAINPUTS="$(kpsewhich --var-value=LUAINPUTS)" \ - /usr/bin/luaotfload-tool --update --prefer-texmf --formats=+afm --log=stdout < /dev/null 1>&4 2>&4 + /usr/bin/luaotfload-tool --update --force --log=stdout < /dev/null 1>&4 2>&4 let rc+=$? fi fi