[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: new packages for texlive-{base/exra/lang/doc}



Hi, Norbert,

At Wed, 14 Mar 2012 19:28:48 +0900,
Norbert Preining <preining@logic.at> wrote:
>
> I have uploaded new packages for the non-binary base/lang/doc/extra
> to people.debian.org, and soon to experimental. That shows blacklisting
> and generationof License file.

As I mentioned you on twitter, updmap-setup-kanji has some problem.
This script works well(great!!), however,

  $ updmap-setup-kanji status
  sh: 1: Syntax error: "(" unexpected
  WARNING: Currently selected map file cannot be found: otf-noEmbed (/etc/texmf/web2c/updmap.cfg).map
  Standby family : hiragino
  Standby family : ipa
  Standby family : ipaex

This cause may be GetStatus's return value, line 145 in the script.
Currently GetStatus's retun value is like:

  noEmbed (/etc/texmf/web2c/updmap.cfg)

However, the value $STATUS is used like "check_mapfile("otf-$STATUS.map")".
So, I think,  "(/etc/.../updmap.cfg)" should be removed. Is it right?

If it's right, I'll fix and commit it.

Best Wishes,
---
Youhei SASAKI <uwabami@gfd-dennou.org>
              <uwabami@debian.or.jp>
GPG fingerprint:
  4096/RSA: 66A4 EA70 4FE2 4055 8D6A C2E6 9394 F354 891D 7E07
--- updmap-setup-kanji.pl.bak	2012-03-15 03:14:09.349987504 +0900
+++ updmap-setup-kanji.pl	2012-03-15 02:57:58.675930721 +0900
@@ -147,8 +147,8 @@
   my $STATUS;
   if ($val =~ m/^kanjiEmbed=(.*)( \()?/) {
     $STATUS = $1;
+    $STATUS =~ s/\(.*\)$//;
     $STATUS =~ s/\s*$//;
-    $STATUS =~ s/^"(.*)"$/\1/;
   } else {
     printf STDERR "Cannot find status of current kanjiEmbed setting via updmap-sys --showoption!\n";
     exit 1;





Reply to: