summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-01-08 22:56:30 +0000
committerKarl Berry <karl@freefriends.org>2023-01-08 22:56:30 +0000
commite4d456bebb37720520a4f5fa790b3e629ffdd754 (patch)
tree72b962f8d2643f803bb4f934b283beeb56f53d32 /Master/tlpkg
parent2da6a527e2a8190efb953f2276c82c556959879c (diff)
tlc3-examples (5jan23)
git-svn-id: svn://tug.org/texlive/trunk@65496 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds17
-rw-r--r--Master/tlpkg/tlpsrc/collection-langenglish.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/tlc3-examples.tlpsrc0
4 files changed, 16 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 4770de9c066..27cfc36a884 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -816,7 +816,7 @@ my @TLP_working = qw(
tiscreen titlecaps titlefoot titlepages titlepic titleref titlesec titling
tkz-base tkz-berge tkz-doc tkz-euclide tkz-fct tkz-graph tkz-tab
tkz-orm tkzexample
- tlc-article tlc2 tlcockpit tlmgr-intro-zh-cn tlmgrbasics
+ tlc-article tlc2 tlc3-examples tlcockpit tlmgr-intro-zh-cn tlmgrbasics
to-be-determined tocbibind tocdata tocloft tocvsec2 todo todonotes
tokcycle tokenizer tonevalue toolbox tools
topfloat topiclongtable topletter toptesi
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 6e7752e1a8d..0f8f0582339 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1785,6 +1785,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`);
'tipa-de' => '&POST_rmsymlink',
'tkz-berge' => '&POSTtkz_berge',
'tlcockpit' => '&POST_do_man',
+ 'tlc3-examples' => '&POSTtlc3_examples',
'tudscr' => '&POSTtudscr',
'unimath-plain-xetex' => '&POSTunimath_plain_xetex',
'uplatex' => '&POST_preserve_man',
@@ -4816,8 +4817,8 @@ sub runjob {
# xymtex), if KILLPATT starts with a directory path (e.g., doc/), we cd
# to that directory before globbing (and cd back at the end).
#
-# The NOTCTAN argument is used for microtype, where we have to removed
-# derived files, which don't exist on CTAN.
+# The NOTCTAN argument is used for microtype, where we have to remove
+# derived files which don't exist on CTAN.
#
# (Switching all the kill patterns to globs, so we could just use the
# glob function, seemed too ugly. And removing the file in a posthook
@@ -4875,7 +4876,7 @@ EOF
chomp (my $ctan_dir = `tlpkginfo --ctan-dir $packagedir`);
if (not $?) {
$ctan_dir =~ s!$ctan_root/!!;
- $ctan_url = " at\n\thttp://mirror.ctan.org/$ctan_dir";
+ $ctan_url = " at\n\thttps://mirror.ctan.org/$ctan_dir";
}
print <<CTAN;
You can find these files on CTAN$ctan_url.
@@ -7451,6 +7452,16 @@ sub POSTtkz_berge {
&mv_with_mkdir ("latex/*", "$DEST/tex/latex/$package");
}
+sub POSTtlc3_examples {
+ print "POST$package - just sources, not pdfs\n";
+ &SYSTEM ("$RM -r book-pdfs"); # 90mb of pdfs is too much
+ open (RTL, ">README.TEXLIVE") || warn "open(>README.TEXLIVE) failed: $!";
+ print RTL <<"EOF";
+For reasons of space, the generated pdfs have been omitted from TeX Live.
+You can get them from https://ctan.org/pkg/tlc3-examples.
+EOF
+}
+
sub POSTtudscr {
print "POST$package - subdirs\n";
&xchdir (".."); # cd back from the prehook
diff --git a/Master/tlpkg/tlpsrc/collection-langenglish.tlpsrc b/Master/tlpkg/tlpsrc/collection-langenglish.tlpsrc
index 26adfeff21f..deb61ffdc6c 100644
--- a/Master/tlpkg/tlpsrc/collection-langenglish.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-langenglish.tlpsrc
@@ -67,6 +67,7 @@ depend texbytopic
depend texonly
depend titlepages
depend tlc2
+depend tlc3-examples
depend tlmgrbasics
depend undergradmath
depend visualfaq
diff --git a/Master/tlpkg/tlpsrc/tlc3-examples.tlpsrc b/Master/tlpkg/tlpsrc/tlc3-examples.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/tlc3-examples.tlpsrc