diff options
Diffstat (limited to 'Master/texmf/scripts/tetex/updmap.pl')
-rwxr-xr-x | Master/texmf/scripts/tetex/updmap.pl | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf/scripts/tetex/updmap.pl b/Master/texmf/scripts/tetex/updmap.pl index 9d660d17297..09661e1beea 100755 --- a/Master/texmf/scripts/tetex/updmap.pl +++ b/Master/texmf/scripts/tetex/updmap.pl @@ -12,7 +12,7 @@ BEGIN { unshift (@INC, "$TEXMFROOT/tlpkg"); } -my $version = '$Id: updmap.pl 24448 2011-11-01 23:14:18Z preining $'; +my $version = '$Id: updmap.pl 24481 2011-11-04 00:53:08Z preining $'; use strict; use TeXLive::TLUtils qw(mkdirhier mktexupd win32); @@ -104,6 +104,7 @@ By default, the TeX filename database (ls-R) is also updated. Options: --cnffile FILE read FILE for the updmap configuration + --dvipdfmoutputdir DIR specify output directory (dvipdfm syntax) --dvipsoutputdir DIR specify output directory (dvips syntax) --pdftexoutputdir DIR specify output directory (pdftex syntax) --outputdir DIR specify output directory (for all files) @@ -127,7 +128,7 @@ Commands: --enable Map=MAPFILE add \"Map MAPFILE\" to updmap.cfg --enable MixedMap=MAPFILE add \"MixedMap MAPFILE\" to updmap.cfg --enable KanjiMap=MAPFILE add \"KanjiMap MAPFILE\" to updmap.cfg - --disable MAPFILE disable MAPFILE, whether Map or MixedMap, + --disable MAPFILE disable MAPFILE, whether Map, MixedMap, or KanjiMap --listmaps list all active and inactive maps --listavailablemaps same as --listmaps, but without @@ -800,9 +801,9 @@ sub listMaps { my @lines = grep { if ($what eq 'sync') { - $_ =~ m/^(Mixed)?Map/ + $_ =~ m/^(Mixed|Kanji)?Map/ } else { - $_ =~ m/^(\#! *)?(Mixed)?Map/ + $_ =~ m/^(\#! *)?(Mixed|Kanji)?Map/ } } &getLines($cnfFile); @@ -818,8 +819,8 @@ sub listMaps { # --listavailablemaps map { my $entry="$_"; - # why is that disabled? - # print "$entry\n" if (grep { $_ =~ m/\/$entry/ } @paths); + # that was disabled, but I don't understand why (NP) + print "$entry\n" if (grep { $_ =~ m/\/$entry/ } @paths); } @lines; } elsif ($what eq 'sync') { # --syncwithtrees |