diff --git a/pst/typesetting/texlive.xml b/pst/typesetting/texlive.xml
index b68d40c7bb..0a84bc6283 100644
--- a/pst/typesetting/texlive.xml
+++ b/pst/typesetting/texlive.xml
@@ -348,60 +348,30 @@ fmtutil-sys --all
ln -svf $TEXLIVE_PREFIX/lib/libkpathsea.so{,.6} /usr/lib
-
- TeXLive includes some files for ConTeXt but the source of that is
- separate and has moved on from using luatex in the previous 'mkiv'
- version to using luametatex which can be pulled with git from github luametatex.
- LuaMetaTeX uses meson and ninja, but it does not fit easily into
- the BLFS layout of TeXLive.
-
-
-
- However, with a little extra work 'mkiv' files can still be processed
- using the files shipped in texmf.
+ TeXLive does not include the source for ConTeXt, only the items that
+ are at CTAN. Trying to build ConTeXt purely from source on a BLFS
+ TeXLive system is a niche usage and looks as if it will be more trouble
+ than it is worth.
- Fixes to use ConTeXt will be removed when the texlive source next
- has to be updated for either a vulnerability fix which requires backporting
- luatex changes, or for TeXLive 2024. If you are a BLFS user of ConTeXt you
- should be prepared to use the latest tag from github (the link is
- in first paragraph of this Note). Building and installing that to work with
- a BLFS install of TeXLive will not be a trivial exercise.
+ If you wish to use ConTeXt with luametatex (most of
+ the old MKII and MKIV code was removed from TeXLive 2023 by the ConTeXt
+ developer), starting with the binary (only installing ConTeXt) would
+ probably be the easiest way to bootstrep it. The source for
+ luametatex can be pulled with git from github
+ luametatex, compiled with meson and ninja, and installed by
+ copying to the correct program directory. This should avoid having to
+ fix all the symlinks etc and also avoid including the many unrelated
+
+ parts of texmf-dist.
+ See comments 1 to 5 of
+ #17823.
-
- The following steps, run as the
- root user, will create
- mtxrun and context.
-
-
-
-sed -e '/local template=\[\[--ini/s/\(primaryflags%\)\(.*\)/\1 --socket --shell-escape \2/' \
- -e '/local template=\[\[%primaryflags%/s/\(primaryflags%\)\(.*\)/\1 --socket --shell-escape \2/' \
- -i $TEXLIVE_PREFIX/texmf-dist/scripts/context/lua/mtxrun.lua &&
-
-mkdir -pv $TEXLIVE_PREFIX/texmf-var/luatex-cache/context/ &&
-
-ln -sfv /$TEXLIVE_PREFIX/texmf-dist/scripts/context/lua/mtxrun.lua \
- /$TEXLIVE_PREFIX/bin/$TEXARCH/mtxrun &&
-
-cat > $TEXLIVE_PREFIX/bin/$TEXARCH/context << EOF
-#!/bin/sh
-export TEXMF=$TEXLIVE_PREFIX/texmf-dist;
-export TEXMFCNF=$TEXLIVE_PREFIX/texmf-dist/web2c;
-export TEXMFCACHE=$TEXLIVE_PREFIX/texmf-var/luatex-cache/context/;
-$TEXLIVE_PREFIX/bin/$TEXARCH/mtxrun --script context "\$@"
-EOF
-chmod -v 0755 $TEXLIVE_PREFIX/bin/$TEXARCH/context
-
You can now proceed to ,
, and / or Command Explanations
-
- patch -Np1 -i ../texlive-&texlive-version;-source-security_fix-1.patch:
- this updates the luatex source to v1.17.0 to fix security issues.
-
-
-
- sed -e '/local template (...)' (...)mtxrun.lua: this makes a
- change in a texmf-dist script so that ConTeXt can now run with luatex-v1.17.0.
-
-
-C: create config.cache, this saves significant
time in a parallel build.
@@ -447,7 +407,7 @@ chmod -v 0755 $TEXLIVE_PREFIX/bin/$TEXARCH/context
href="../../xincludes/tex-xpdf.xml"/>-->
- --disable-dvisvgm: As noted above, the shipped version
+ --disable-dvisvgm: As noted above, the shipped version
of dvisvgm, which has modified configuration files, cannot be built with
shared system libraries.
@@ -485,12 +445,6 @@ chmod -v 0755 $TEXLIVE_PREFIX/bin/$TEXARCH/context
Metafont bases and Metapost mems.
-
- mkdir -pv $TEXLIVE_PREFIX/texmf-var/luatex-cache/context/:
- the context script created after this will not run correctly if this
- directory is not present.
-
-
: use this if you do not have Xorg installed.
diff --git a/pst/typesetting/tl-installer.xml b/pst/typesetting/tl-installer.xml
index ea70d210b0..cb3b3ac9cb 100644
--- a/pst/typesetting/tl-installer.xml
+++ b/pst/typesetting/tl-installer.xml
@@ -63,7 +63,7 @@
the old MKII and MKIV code was removed from TeXLive 2023 by the ConTeXt
developer), using the binary is probably the easiest option. The source
no-longer ships with TeXLive and is poorly adapted to building with
- systems excepti those running Mac and Windows. See comments 1 to 5 of
+ systems except those running Mac and Windows. See comments 1 to 5 of
#17823.