diff options
author | Siep Kroonenberg <siepo@cybercomm.nl> | 2023-12-13 09:58:31 +0000 |
---|---|---|
committer | Siep Kroonenberg <siepo@cybercomm.nl> | 2023-12-13 09:58:31 +0000 |
commit | f84e1a4bb9038eb64830d3e23edf63f7695810c8 (patch) | |
tree | b6cffff8f0a34c4d4fa4b9d858dc203c2ff379b1 /Master/tlpkg | |
parent | a4581a7fe65ee79de0e0b7e5b3c9bd674b2a2f5d (diff) |
context-legacy
git-svn-id: svn://tug.org/texlive/trunk@69108 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rw-r--r-- | Master/tlpkg/tlpostcode/cont-cache.cmd | 8 | ||||
-rw-r--r-- | Master/tlpkg/tlpostcode/cont-cache.sh | 10 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-context.tlpsrc | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/context-legacy.tlpsrc | 39 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/context.tlpsrc | 97 |
5 files changed, 124 insertions, 32 deletions
diff --git a/Master/tlpkg/tlpostcode/cont-cache.cmd b/Master/tlpkg/tlpostcode/cont-cache.cmd new file mode 100644 index 00000000000..7d45f392d3c --- /dev/null +++ b/Master/tlpkg/tlpostcode/cont-cache.cmd @@ -0,0 +1,8 @@ +rem postaction for context +rem For context mkiv and lmtx, the filename database must be generated +rem at least once. Afterwards, it will be updated automatically, +rem possibly in a higher-priority location. + +mtxrun --generate +context --luatex --generate +context --luajittex --generate diff --git a/Master/tlpkg/tlpostcode/cont-cache.sh b/Master/tlpkg/tlpostcode/cont-cache.sh new file mode 100644 index 00000000000..4f83597402d --- /dev/null +++ b/Master/tlpkg/tlpostcode/cont-cache.sh @@ -0,0 +1,10 @@ +#!/usr/bin/sh + +# postaction for context +# For context mkiv and lmtx, the filename database must be generated +# at least once. Afterwards, it will be updated automatically, +# possibly in a higher-priority location. + +mtxrun --generate +context --luatex --generate +context --luajitex --generate diff --git a/Master/tlpkg/tlpsrc/collection-context.tlpsrc b/Master/tlpkg/tlpsrc/collection-context.tlpsrc index 19bcf5cb688..733c9c55319 100644 --- a/Master/tlpkg/tlpsrc/collection-context.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-context.tlpsrc @@ -6,6 +6,8 @@ longdesc Also includes third-party ConTeXt packages. depend collection-basic # depend context +depend luajittex +depend context-legacy depend jmn # # rest are contrib modules from the garden: diff --git a/Master/tlpkg/tlpsrc/context-legacy.tlpsrc b/Master/tlpkg/tlpsrc/context-legacy.tlpsrc new file mode 100644 index 00000000000..34ef7ca1a52 --- /dev/null +++ b/Master/tlpkg/tlpsrc/context-legacy.tlpsrc @@ -0,0 +1,39 @@ +depend context +depend metapost +depend pdftex +depend xetex + +# no action needed for the filename database, since mkii uses kpathsea. + +execute AddFormat name=cont-en engine=pdftex options="-8bit *cont-en.mkii" +execute AddFormat name=cont-en engine=xetex options="-8bit *cont-en.mkii" + +##### end of postprocessing specs + +runpattern +d texmf-dist/context/data/texfont + +# See longdesc in mptopdf.tlpsrc. +runpattern +!f texmf-dist/tex/context/base/mkii/supp-mis.mkii +runpattern +!f texmf-dist/tex/context/base/mkii/supp-mpe.mkii +runpattern +!f texmf-dist/tex/context/base/mkii/supp-pdf.mkii +runpattern +!f texmf-dist/tex/context/base/mkii/syst-tex.mkii +docpattern +!f texmf-dist/doc/context/scripts/mkii/mptopdf.man +depend mptopdf + +docpattern d texmf-dist/doc/context/scripts/mkii +docpattern f texmf-dist/doc/man/man1/texmfstart.* + +runpattern d texmf-dist/bibtex/bst/context/mkii +runpattern d texmf-dist/context/data/texfont +runpattern d texmf-dist/metapost/context/base/mpii +runpattern d texmf-dist/scripts/context/ruby +runpattern d texmf-dist/scripts/context/stubs +runpattern d texmf-dist/tex/context/base/mkii +runpattern d texmf-dist/tex/context/bib +runpattern d texmf-dist/tex/context/fonts/mkii +runpattern d texmf-dist/tex/context/interface/mkii +runpattern d texmf-dist/tex/context/modules/mkii +runpattern d texmf-dist/tex/context/patterns/mkii +runpattern d texmf-dist/tex/context/user + +binpattern f bin/${ARCH}/texmfstart diff --git a/Master/tlpkg/tlpsrc/context.tlpsrc b/Master/tlpkg/tlpsrc/context.tlpsrc index d17b45ec05b..093562cb71b 100644 --- a/Master/tlpkg/tlpsrc/context.tlpsrc +++ b/Master/tlpkg/tlpsrc/context.tlpsrc @@ -1,10 +1,10 @@ -# In order to be able to make formats, we no longer need -# metapost, pdftex or xetex. Everything is now done with luametatex and luatex +# The main context no longer needs metapost, pdftex or xetex. +# Everything is now done with luametatex and luatex + +depend context-texlive depend luatex +depend luajittex -# Explicit dependencies in this package are -# repeated in scheme-context, since package-to-package dependencies -# can't be relied upon. # Latin Modern is the default font (also needed for formats) # plus a few more font dependencies (amsfonts are only needed for advanced math) depend lm @@ -14,46 +14,79 @@ depend manfnt-font depend mflogo-font depend stmaryrd +# a filename database has to be explicitly generated once, under the +# texmf-var/lua[meta|jit]tex-caches directories, but will then be +# kept up to date automatically, although not necessarily in the +# same tree. +# OTOH, all context mkiv/lmtx formats will be generated as needed. -#execute AddFormat name=cont-en engine=context \ -# options="--make --autogenerate" fmttriggers=context -# does not work; rely on automatic format generation - -# contnav, hans, hans-sh fonts. -# addMap is not needed anymore for ConTeXt LMTX -#execute addMap original-context-symbol.map -# -runpattern +d texmf-dist/context/data -runpattern +d texmf-dist/fonts/cid/fontforge -runpattern +d texmf-dist/tex/generic/context +postaction script file=tlpkg/tlpostcode/cont-cache.sh \ + filew32=tlpkg/tlpostcode/cont-cache.cmd # -# See longdesc in mptopdf.tlpsrc +# contnav, hans, hans-sh fonts. +execute addMap original-context-symbol.map + +##### end of postprocessing specs + +runpattern f tlpkg/tlpostcode/cont-cache.* + +# autopatterns do not seem to work right, so, explicitly: +runpattern d texmf-dist/context +runpattern +!d texmf-dist/context/data/texfont +docpattern d texmf-dist/doc/context +docpattern +!d texmf-dist/doc/context/scripts/mkii +runpattern d texmf-dist/fonts/afm/hoekwater/context +runpattern d texmf-dist/fonts/cid/fontforge +runpattern d texmf-dist/fonts/enc/dvips/context +runpattern d texmf-dist/fonts/map/dvips/context +runpattern d texmf-dist/fonts/map/pdftex/context +runpattern d texmf-dist/fonts/misc/xetex/fontmapping/context +runpattern d texmf-dist/fonts/tfm/hoekwater/context +runpattern f texmf-dist/fonts/type1/hoekwater/context/contnav.pfb +runpattern d texmf-dist/metapost/context +runpattern +!d texmf-dist/metapost/context/base/mpii +runpattern d texmf-dist/scripts/context +runpattern +!d texmf-dist/scripts/context/stubs +runpattern +!d texmf-dist/scripts/context/ruby +runpattern d texmf-dist/tex/context runpattern +!d texmf-dist/tex/context/base/mkii +runpattern +!d texmf-dist/tex/context/bib +runpattern +!d texmf-dist/tex/context/fonts/mkii +runpattern +!d texmf-dist/tex/context/interface/mkii +runpattern +!d texmf-dist/tex/context/modules/mkii +runpattern +!d texmf-dist/tex/context/patterns/mkii +runpattern +!d texmf-dist/tex/context/user +runpattern d texmf-dist/tex/generic/context +runpattern !d texmf-dist/tex/generic/context/mptopdf +# +# See longdesc in mptopdf.tlpsrc. runpattern +!f texmf-dist/scripts/context/perl/mptopdf.pl runpattern +!f texmf-dist/tex/generic/context/mptopdf/mptopdf.tex -docpattern +!f texmf-dist/doc/context/scripts/mkii/mptopdf.man -#depend mptopdf - not anymore - +# # these have their own TL packages, and are not part of core context. runpattern +!d texmf-dist/tex/context/third runpattern +!d texmf-dist/tex/context/interface/third +runpattern +!d texmf-dist/tex/context/modules/third +runpattern +!d texmf-dist/tex/context/sample/third runpattern +!d texmf-dist/scripts/context/lua/third runpattern +!d texmf-dist/metapost/context/third -runpattern +!d texmf-dist/tex/context/texlive -# srcpattern +!d texmf-dist/source/context/third -# docpattern +!d texmf-dist/doc/context/third + +# context man pages where man expects them docpattern +f texmf-dist/doc/man/man1/context.* +docpattern +f texmf-dist/doc/man/man1/luatools.* docpattern +f texmf-dist/doc/man/man1/mtx-* docpattern +f texmf-dist/doc/man/man1/mtxrun.* + +#excluding some TL adaptations from package context-texlive +runpattern !d texmf-dist/tex/context/texlive # -# Not all platforms provide this. -tlpsetvar no_lmtx_platforms \ - i386-netbsd -# -binpattern f/!${no_lmtx_platforms} bin/${ARCH}/context -binpattern f/!${no_lmtx_platforms} bin/${ARCH}/context.lua -binpattern f/!${no_lmtx_platforms} bin/${ARCH}/luametatex -binpattern f/!${no_lmtx_platforms} bin/${ARCH}/mtxrun -binpattern f/!${no_lmtx_platforms} bin/${ARCH}/mtxrun.lua +binpattern f bin/${ARCH}/context +binpattern f bin/${ARCH}/contextjit +binpattern f bin/${ARCH}/context.lua +binpattern f bin/${ARCH}/luametatex +binpattern f bin/${ARCH}/luatools +binpattern f bin/${ARCH}/mtxrun +binpattern f bin/${ARCH}/mtxrunjit +binpattern f bin/${ARCH}/mtxrun.lua |