summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-05-12 17:13:46 +0000
committerNorbert Preining <preining@logic.at>2010-05-12 17:13:46 +0000
commit6c2d3d4c8d16ce1ea5c0fa04088e09fe433497aa (patch)
treeb59a71cf61239653405431fa9afa9ea30075045f /Master/tlpkg/TeXLive
parent7a431533ca4d79f8150eaab8e4875b6ff897d00f (diff)
add support for execute action addLuaMap
git-svn-id: svn://tug.org/texlive/trunk@18212 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r--Master/tlpkg/TeXLive/TLPSRC.pm5
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm2
2 files changed, 7 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLPSRC.pm b/Master/tlpkg/TeXLive/TLPSRC.pm
index d5492e0f00c..b5f044402b0 100644
--- a/Master/tlpkg/TeXLive/TLPSRC.pm
+++ b/Master/tlpkg/TeXLive/TLPSRC.pm
@@ -782,6 +782,11 @@ enables the font map file I<font>C<.map> in the C<updmap.cfg> file.
enables the font map file I<font>C<.map> for Mixed mode in the
C<updmap.cfg> file.
+=item C<execute addLuaMap>
+
+triggers a call to mkluatexfontdb-sys (if available) which updates
+the font cache for luatex.
+
=item C<execute AddHyphen name=I<texlang> file=I<file> [I<var>...]>
activates the hyphenation pattern with name I<texlang> and load the file
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index ccba4cc9bf3..b416a008242 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -1738,6 +1738,8 @@ sub announce_execute_actions {
foreach my $e ($tlp->executes) {
if ($e =~ m/^add((Mixed)?Map)\s+([^\s]+)\s*$/) {
$::execute_actions{$type}{'maps'}{$3} = "$1";
+ } elsif ($e =~ m/^addLuaMap\s*$/) {
+ $::execute_actions{$type}{'luamaps'}{'run'} = 1;
} elsif ($e =~ m/^AddFormat\s+(.*)\s*$/) {
my %r = TeXLive::TLUtils::parse_AddFormat_line("$1");
if (defined($r{"error"})) {