summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2014-01-20 02:07:45 +0000
committerNorbert Preining <preining@logic.at>2014-01-20 02:07:45 +0000
commit30132bba61216808b09e84ebaa580001ef793462 (patch)
treeed39459fc82100dd6109e8a0e12644ab09deb64b /Master/texmf-dist/scripts
parenta0a162117b31f62a01b6f0d7805011d3e6ddb741 (diff)
jfontmaps update 20140120
git-svn-id: svn://tug.org/texlive/trunk@32722 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-xMaster/texmf-dist/scripts/jfontmaps/kanji-config-updmap-sys.sh9
-rwxr-xr-xMaster/texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl15
-rwxr-xr-xMaster/texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl6
3 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/scripts/jfontmaps/kanji-config-updmap-sys.sh b/Master/texmf-dist/scripts/jfontmaps/kanji-config-updmap-sys.sh
index 8ba3de7ab67..4d0944572a1 100755
--- a/Master/texmf-dist/scripts/jfontmaps/kanji-config-updmap-sys.sh
+++ b/Master/texmf-dist/scripts/jfontmaps/kanji-config-updmap-sys.sh
@@ -20,12 +20,5 @@ unset RUNNING_BSH
test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
export PATH
-v=`kpsewhich -var-value TEXMFSYSVAR`
-c=`kpsewhich -var-value TEXMFSYSCONFIG`
-
-TEXMFVAR="$v"
-TEXMFCONFIG="$c"
-export TEXMFVAR TEXMFCONFIG
-
-exec kanji-config-updmap ${1+"$@"}
+exec kanji-config-updmap --sys ${1+"$@"}
diff --git a/Master/texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl b/Master/texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl
index 642eed9ad9e..0b013f74c3e 100755
--- a/Master/texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl
+++ b/Master/texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl
@@ -1,11 +1,11 @@
#!/usr/bin/env perl
# kanji-config-updmap: setup Japanese font embedding
-# Version 20131120.0
+# Version 20140120.0
#
# formerly known as updmap-setup-kanji
#
# Copyright 2004-2006 by KOBAYASHI R. Taizo for the shell version (updmap-otf)
-# Copyright 2011-2013 by PREINING Norbert
+# Copyright 2011-2014 by PREINING Norbert
#
# This file is licensed under GPL version 3 or any later version.
# For copyright statements see end of file.
@@ -22,7 +22,7 @@ use Getopt::Long qw(:config no_autoabbrev ignore_case_always);
use strict;
my $prg = "kanji-config-updmap";
-my $version = "20131120.0";
+my $version = '20140120.0';
my $updmap_real = "updmap";
my $updmap = $updmap_real;
@@ -30,11 +30,13 @@ my $updmap = $updmap_real;
my $dry_run = 0;
my $opt_help = 0;
my $opt_jis = 0;
+my $opt_sys = 0;
if (! GetOptions(
"n|dry-run" => \$dry_run,
"h|help" => \$opt_help,
"jis2004" => \$opt_jis,
+ "sys" => \$opt_sys,
"version" => sub { print &version(); exit(0); }, ) ) {
die "Try \"$0 --help\" for more information.\n";
}
@@ -48,6 +50,10 @@ my $nul = (win32() ? 'nul' : '/dev/null') ;
if ($dry_run) {
$updmap = "echo updmap";
}
+if ($opt_sys) {
+ $updmap = "$updmap --sys" ;
+ $updmap_real = "$updmap_real --sys" ;
+}
if ($opt_help) {
Usage();
@@ -118,7 +124,8 @@ sub Usage {
Options:
-n, --dry-run do not actually run updmap
-h, --help show this message and exit
- -jis2004 use JIS2004 variants for default fonts of (u)pTeX
+ --jis2004 use JIS2004 variants for default fonts of (u)pTeX
+ --sys run in sys mode, i.e., call updmap-sys
--version show version information and exit
EOF
diff --git a/Master/texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl b/Master/texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl
index c95923bc796..90c5c25778c 100755
--- a/Master/texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl
+++ b/Master/texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl
@@ -1,8 +1,8 @@
#!/usr/bin/env perl
#
# kanji-fontmap-creator
-# (c) 2012-2013 Norbert Preining
-# Version: 20131120.0
+# (c) 2012-2014 Norbert Preining
+# Version: 20140120.0
# Licenced under the GPLv2 or any higher version
#
# gui to create map files for updmap(-setup-kanji)
@@ -41,7 +41,7 @@ my $opt_help = 0;
my $opt_version = 0;
my $prg = "kanji-fontmap-creator";
-my $version = "20131120.0";
+my $version = "20140120.0";
#
# global vars configuring operation