summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlpsrc/context.tlpsrc
blob: dabf92922e77b4d8cf5cfeeac1d9b9a0da0dc0c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# 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

# 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
depend lm-math
depend amsfonts
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.

# there are special cases in install-tl and tlmgr to create/update the
# context cache files when this package is updated. See the
# update_context_cache routine in TLUtils for the commands run.

# contnav, hans, hans-sh fonts.
execute addMap original-context-symbol.map

##### end of postprocessing specs

# 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 d texmf-dist/fonts/type1/hoekwater/context
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
#
# 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/scripts/context/lua/third
runpattern +!d texmf-dist/metapost/context/third
srcpattern +!d texmf-dist/source/context/third
docpattern +!d texmf-dist/doc/context/third
#
# although these are third-party, there is no package for them,
# so don't exclude them.
#runpattern +!d texmf-dist/tex/context/sample/third
# The whole sample/ directory should not be in the runtime, being
# full of random and short filenames, but live with it until complaints.

# 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 kept in package context-texlive.
runpattern !d texmf-dist/tex/context/texlive
#
# And not all platforms have an lmtx binary.
tlpsetvar no_lmtx_platforms \
  i386-netbsd
#
binpattern f/!${no_lmtx_platforms} bin/${ARCH}/context
binpattern f/!${no_lmtx_platforms} bin/${ARCH}/contextjit
binpattern f/!${no_lmtx_platforms} bin/${ARCH}/context.lua
binpattern f/!${no_lmtx_platforms} bin/${ARCH}/luametatex
binpattern f/!${no_lmtx_platforms} bin/${ARCH}/luatools
binpattern f/!${no_lmtx_platforms} bin/${ARCH}/mtxrun
binpattern f/!${no_lmtx_platforms} bin/${ARCH}/mtxrunjit
binpattern f/!${no_lmtx_platforms} bin/${ARCH}/mtxrun.lua