app-text/context: update
This commit is contained in:
@@ -60,7 +60,8 @@ src_install(){
|
|||||||
doexe scripts/context/lua/context.lua
|
doexe scripts/context/lua/context.lua
|
||||||
doexe scripts/context/lua/mtxrun.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
|
doenvd "${T}"/99texmf-linux-context
|
||||||
|
|
||||||
dosym -r "${TEXMFBIN}"/luametatex "${TEXMFBIN}"/mtxrun
|
dosym -r "${TEXMFBIN}"/luametatex "${TEXMFBIN}"/mtxrun
|
||||||
@@ -69,8 +70,19 @@ src_install(){
|
|||||||
"${TEXMFROOT}"/texmf-context/web2c/texmfcnf.lua
|
"${TEXMFROOT}"/texmf-context/web2c/texmfcnf.lua
|
||||||
|
|
||||||
greadme_stdin <<-EOF
|
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
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user