summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2011-11-04 00:53:08 +0000
committerNorbert Preining <preining@logic.at>2011-11-04 00:53:08 +0000
commitc16a1563c3774237e58f698f686a272703bff97c (patch)
tree0f069d4f201318d10d745626bbee023f517ba3b5 /Build
parent63e82beb74c9a4462482ca7ed0fd72569b37327b (diff)
* updmap.pl: small fixes to documentation of updmap.pl, and fixes
to --syncwithtrees and --listavail, patch from Hironori Kitagawa git-svn-id: svn://tug.org/texlive/trunk@24481 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/tetex/ChangeLog5
-rwxr-xr-xBuild/source/texk/tetex/updmap.pl11
2 files changed, 11 insertions, 5 deletions
diff --git a/Build/source/texk/tetex/ChangeLog b/Build/source/texk/tetex/ChangeLog
index 6193a0ea11c..e547a136887 100644
--- a/Build/source/texk/tetex/ChangeLog
+++ b/Build/source/texk/tetex/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-04 Norbert Preining <preining@logic.at>
+
+ * updmap.pl: small fixes to documentation of updmap.pl, and fixes
+ to --syncwithtrees and --listavail, patch from Hironori Kitagawa
+
2011-11-02 Norbert Preining <preining@logic.at>
* updmap.pl: apply patch from Hironori Kitagawa that fixes
diff --git a/Build/source/texk/tetex/updmap.pl b/Build/source/texk/tetex/updmap.pl
index 3db2918828c..0635a5a6dc1 100755
--- a/Build/source/texk/tetex/updmap.pl
+++ b/Build/source/texk/tetex/updmap.pl
@@ -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