summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/pdflatex-preserve-pdf12
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds2
2 files changed, 12 insertions, 2 deletions
diff --git a/Master/tlpkg/bin/pdflatex-preserve-pdf b/Master/tlpkg/bin/pdflatex-preserve-pdf
index f9d70b1e571..befbc364301 100755
--- a/Master/tlpkg/bin/pdflatex-preserve-pdf
+++ b/Master/tlpkg/bin/pdflatex-preserve-pdf
@@ -15,8 +15,18 @@
# Authors are sometimes responsive to supporting an alternate method for
# running the dtx that does not remake the doc (e.g., \ifpdf), but not
# always. So we need this workaround.
+#
+# With a first arg --engine, the second arg is the name of the program
+# to invoke, instead of pdflatex.
+
+if test x"$1" = x--engine; then
+ shift
+ engine=$1; shift
+else
+ engine=pdflatex
+fi
basefile=`echo "$1" | sed 's/\.[^.]*$//'`
mv "$basefile.pdf" save.pdf
-pdflatex "$@"
+$engine "$@" </dev/null
mv save.pdf "$basefile.pdf"
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index be2dc81ef32..932d7fe84ef 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1117,7 +1117,6 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'thesis', "die 'skipping, contradictory licenses'", # texdev.net/2016/12/18/tex-on-windows-tex-live-versus-miktex-revisited/
'thesis-titlepage-fhAC',"die 'skipping, use ...fhac'",
'thsmc', "die 'skipping, requires nonfree font'",
- 'thucoursework', "die 'skipping, cannot derive files'",
'ticket', "&MAKEflatten",
'ticollege', "&MAKEflatten",
'tikz-kalender',"&MAKEflatten",
@@ -2563,6 +2562,7 @@ my $core_latex = "$Master/texmf-dist/tex/latex";
'svn-multi' => 'latex', # interaction for .pl
'teubner' => 'latex', # interaction
'termlist' => 'tex', # interaction for .pl
+ 'thucoursework' => 'pdflatex-preserve-pdf --engine xelatex',
'thumb' => 'latex -translate-file=empty.tcx', # no 8-bit
'tikz-page' => 'tex -8bit', # no doc remake, 8-bit name
'todonotes' => 'latex', # requires interaction