app-text/context: update

This commit is contained in:
2025-06-14 08:49:20 +03:00
parent 5e6a38e852
commit cab7ad2cee

View File

@@ -60,7 +60,8 @@ src_install(){
doexe scripts/context/lua/context.lua
doexe scripts/context/lua/mtxrun.lua
echo PATH="${TEXMFBIN}" > "${T}"/99texmf-linux-context
echo "PATH=${TEXMFBIN}" > "${T}"/99texmf-linux-context
echo "OSFONTDIR=/usr/share/fonts" >> "${T}"/99texmf-linux-context
doenvd "${T}"/99texmf-linux-context
dosym -r "${TEXMFBIN}"/luametatex "${TEXMFBIN}"/mtxrun
@@ -69,8 +70,19 @@ src_install(){
"${TEXMFROOT}"/texmf-context/web2c/texmfcnf.lua
greadme_stdin <<-EOF
If you plan to use mkIV and its 'context' command to generate your documents,
you have to run 'mtxrun --generate' as normal user before first use.
You have to run 'mtxrun --generate' as normal user before first use.
It's very likely that you also want to use the system fonts. To do it
define env var: 'export OSFONTDIR=$HOME/.local/share/fonts:/usr/share/fonts' and run
'mtxrun --script fonts --reload'. Check available fonts for ConTeXt by running
'mtxrun --script fonts --list --all'
This package does not include fonts. You need install them manualy:
media-fonts/stix-fonts
media-fonts/sil-gentium
media-fonts/cm-unicode
media-fonts/dejavu
media-fonts/eb-garamond
media-fonts/ibm-plex
EOF
}