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

Bug#182125: marked as done (updmap fails on postinst)



Your message dated Wed, 26 Feb 2003 02:02:58 -0500
with message-id <E18nvak-0005Cz-00@auric.debian.org>
and subject line Bug#182125: fixed in tetex-base 2.0.1-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Feb 2003 07:34:46 +0000
>From sfllaw@engmail.uwaterloo.ca Sun Feb 23 01:34:44 2003
Return-path: <sfllaw@engmail.uwaterloo.ca>
Received: from engmail.uwaterloo.ca [129.97.50.62] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18mqep-0007OH-00; Sun, 23 Feb 2003 01:34:43 -0600
Received: (from sfllaw@localhost)
	by engmail.uwaterloo.ca (8.11.6/8.11.6) id h1N7YQS24913
	for submit@bugs.debian.org; Sun, 23 Feb 2003 02:34:26 -0500 (EST)
Date: Sun, 23 Feb 2003 02:34:26 -0500
From: Simon Law <sfllaw@engmail.uwaterloo.ca>
To: submit@bugs.debian.org
Subject: updmap fails on postinst
Message-ID: <[🔎] 20030223073426.GE3277@engmail.uwaterloo.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.3i
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-2.7 required=4.0
	tests=BALANCE_FOR_LONG_20K,BALANCE_FOR_LONG_40K,HAS_PACKAGE,
	      SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT
	version=2.44
X-Spam-Level: 

Package: tetex-base
Version: 2.0.1-2
Severity: important

updmap breaks on postinst.  This is because it calls the updmap command.

/usr/bin/updmap --cnffile ${MAPCFG} --outputdir=/etc/texmf/dvips 2> ${MAPTEMP}

If we run updmap with both -v and -x features, you get the included log
file.  Note the lines matching the regex /file=$/ and how kpsewhich
fails to detect the file (even though it exists.)  This causes the
script to stall on the fourth last line when it tries to grep stdin
instead of a .map file.

Simon

#!/bin/sh

###############################################################################
# updmap: utility to maintain map files for outline fonts.
#
# Thomas Esser, (C) 2002. Public domain.
# Usage: updmap [option] ... [command]
#
# Valid options:
#   --cnffile file             specify configuration file
#   --outputdir directory      specify output directory
#   --nohash                   do not run texhash
#   --nomkmap                  do not recreate map files
#   --quiet                    reduce verbosity
#
# Valid commands:
#   --edit                     edit $cnfFileShort file
#   --help                     show this message
#   --showoptions item         show alternatives for options
#   --setoption option value   set option where option is one
#                              of dvipsPreferOutline, LW35, dvipsDownloadBase35
#                              or pdftexDownloadBase14
#   --enable maptype mapfile   add or enable a Map or MixedMap
#   --disable mapfile          disable Map or MixedMap for mapfile
#   --listmaps                 list all active and inactive maps
#
###############################################################################

###############################################################################
# program history:
#   Mon Jan 27 22:38:44 CET 2003
#      don't call a function before processOptions; we may loose our
#      argument list with some broken shells
#   Mon Jan 27 06:55:28 CET 2003
#      fix unportable egrep / sed
#   Sat Jan 18 10:10:26 CET 2003
#      use $tmp8 in dvips2dvipdfm()
#   Thu Jan  2 23:14:34 CET 2003
#      add umask 022, so generated files are always world-readable
#   Sun Oct 27 11:33:04 CET 2002
#      write output in normalized format
#      add support for dvipdfm
#   Mon Sep 22 19:18:57 CEST 2002
#      fix typo: buildin -> builtin
#   Mon Sep  2 19:18:57 CEST 2002
#      fix condensed <-> narrow mapping
#   Sun Sep  1 15:02:28 CEST 2002
#      add dvipsDownloadBase35 / pdftexDownloadBase14 options
#   Wed May 22 20:00:13 CEST 2002
#      listmaps option added by Gerben Wierda
#   Tue May 21 05:27:37 CEST 2002
#      now removing map files before rewriting them; fixes permission problems
#   Tue May 21 05:05:34 CEST 2002:
#      cli options added: showoptions, setoption, enable, disable, nomkmap
#      now even more verbose; now reporting non-existing map files
#      fixing trap for MAC OS/X compatibility
#   Fri May 17 22:38:37 CEST 2002:
#      rewritten from teTeX-1.0 version; Completely new designed.
###############################################################################

test -f /bin/sh5 && test -z "$RUNNING_SH5" \
  && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \
  && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; }
+ test -f /bin/sh5
unset RUNNING_SH5
+ unset RUNNING_SH5

test -f /bin/bsh && test -z "$RUNNING_BSH" \
  && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \
  && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; }
+ test -f /bin/bsh
unset RUNNING_BSH
+ unset RUNNING_BSH

# hack around a bug in zsh:
test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
+ test -n ''

version=2.0
+ version=2.0

###############################################################################
# help()
#   display help message and exit
###############################################################################
help()
{
  cat <<eof
  exit
}

###############################################################################
# verboseMsg(msg)
#   print `msg' to stderr is $verbose is true
###############################################################################
verboseMsg() { $verbose && echo ${1+"$@"} >&2; }

###############################################################################
# warn(msg)
#   print `msg' to stderr
###############################################################################
warn()
{
  echo "$progname: $1." >&2
}

###############################################################################
# abort(errmsg)
#   print `errmsg' to stderr and exit with error code 1
###############################################################################
abort()
{
  echo "$progname: $1." >&2
  false  # some systems need this to set nonzero $?
  cleanup
  exit 1
}

###############################################################################
# cfgval(variable)
#   read variable ($1) from config file
###############################################################################
cfgval()
{
  cat $cnfFile | sed -n 's/^'"$1"'[	 =][	 =]*//p' | tail -1
}

###############################################################################
# setupSymlinks()
#   set symlink for psfonts.map according to dvipsPreferOutline variable
###############################################################################
setupSymlinks()
{
  rm -f $outputdir/psfonts.map
  if test "x$dvipsPreferOutline" = xtrue; then
    ln -s psfonts_t1.map $outputdir/psfonts.map
  else
    ln -s psfonts_pk.map $outputdir/psfonts.map
  fi

  rm -f $outputdir/pdftex.map
  if test "x$pdftexDownloadBase14" = xtrue; then
    ln -s pdftex_dl14.map $outputdir/pdftex.map
  else
    ln -s pdftex_ndl14.map $outputdir/pdftex.map
  fi
  rm -f $outputdir/dvipdfm.map
  if test "x$dvipdfmDownloadBase14" = xtrue; then
    ln -s dvipdfm_dl14.map $outputdir/dvipdfm.map
  else
    ln -s dvipdfm_ndl14.map $outputdir/dvipdfm.map
  fi
}

###############################################################################
# transLW35(args ...)
#   transform fontname and filenames according to transformation specified
#   by mode
###############################################################################
transLW35()
{
  case $mode in
    ""|URWkb)
      cat ${1+"$@"}
      ;;
    URW)
      fileURW ${1+"$@"}
      ;;
    ADOBE|ADOBEkb)
      psADOBE ${1+"$@"} | file$mode
      ;;
  esac  
}

###############################################################################
# catMaps(regex)
#   filter config file by regex for map lines and extract the map filenames.
#   These are then looked up (by kpsewhich in locateMap) and the content of
#   all map files is send to stdout.
###############################################################################
catMaps()
{
  egrep "$1" $cnfFile \
    | sed 's@#.*@@' \
       | awk '{print $2}' \
       | sort \
       | uniq \
       | grep . > $tmp4

  while read map; do
    file=`locateMap "$map"`

    # output the file; also output a newline, because the final newline
    # might be missing in the map file; Empty lines are filtered out later,
    # so it does not really hurt do do this here.
    test -n "$file" && { cat "$file"; echo; }
  done < $tmp4
}

###############################################################################
# configReplace(file, pattern, line)
#   The first line in file that matches pattern gets replaced by line.
#   line will be added at the end of the file if pattern does not match.
###############################################################################
configReplace()
{
  file=$1; pat=$2; line=$3

  if grep "$pat" "$file" >/dev/null; then
    ed "$file" >/dev/null 2>&1 <<-eof
  else
    echo "$line" >> $file
  fi
}

###############################################################################
# setOption (option, value)
#   sets option to value in the config file (replacing the existing setting
#   or by adding a new line to the config file).
###############################################################################
setOption()
{
  opt=$1
  val=$2
  case "$opt" in
    LW35)
      case "$val" in
        URWkb|URW|ADOBE|ADOBEkb)
          ;;
        *)
          abort "invalid value $val for option $opt"
          ;;
      esac
      ;;
    dvipsPreferOutline|dvipsDownloadBase35|pdftexDownloadBase14|dvipdfmDownloadBase14)
      case "$val" in
        true|false)
          ;;
        *)
          abort "invalid value $val for option $opt"
      esac
      ;;
    *)
      abort "unsupported option $opt"
      ;;
  esac

  configReplace "$cnfFile" "^$opt[ 	]" "$opt $val"
}

###############################################################################
# enableMap (type, map)
#   enables an entry in the config file for map with a given type.
###############################################################################
enableMap()
{
  case $1 in
    Map|MixedMap)
      ;;
    *)
      abort "invalid mapType $1"
      ;;
  esac

  # a map can only have one type, so we carefully disable everything
  # about map here:
  disableMap "$2"

  # now enable with the right type:
  configReplace "$cnfFile" "^#![ 	]*$1[ 	]*$2" "$1 $2"
}

###############################################################################
# disableMap (map)
#   disables map in config file (any type)
###############################################################################
disableMap()
{
  mapType=`awk '($1 == "MixedMap" || $1 == "Map") && $2 == map { print $1 }' \
             map=$1 <"$cnfFile" | sort | uniq`
  for type in $mapType; do
    configReplace "$cnfFile" "^$type[ 	]*$1" "#! $type $1"
  done
}

###############################################################################
# psADOBE()
#   transform fontnames from URW to Adobe
###############################################################################
psADOBE()
{
  sed \
    -e 's/ URWGothicL-Demi / AvantGarde-Demi /' \
    -e 's/ URWGothicL-DemiObli / AvantGarde-DemiOblique /' \
    -e 's/ URWGothicL-Book / AvantGarde-Book /' \
    -e 's/ URWGothicL-BookObli / AvantGarde-BookOblique /' \
    -e 's/ URWBookmanL-DemiBold / Bookman-Demi /' \
    -e 's/ URWBookmanL-DemiBoldItal / Bookman-DemiItalic /' \
    -e 's/ URWBookmanL-Ligh / Bookman-Light /' \
    -e 's/ URWBookmanL-LighItal / Bookman-LightItalic /' \
    -e 's/ NimbusMonL-Bold / Courier-Bold /' \
    -e 's/ NimbusMonL-BoldObli / Courier-BoldOblique /' \
    -e 's/ NimbusMonL-Regu / Courier /' \
    -e 's/ NimbusMonL-ReguObli / Courier-Oblique /' \
    -e 's/ NimbusSanL-Bold / Helvetica-Bold /' \
    -e 's/ NimbusSanL-BoldCond / Helvetica-Narrow-Bold /' \
    -e 's/ NimbusSanL-BoldItal / Helvetica-BoldOblique /' \
    -e 's/ NimbusSanL-BoldCondItal / Helvetica-Narrow-BoldOblique /' \
    -e 's/ NimbusSanL-Regu / Helvetica /' \
    -e 's/ NimbusSanL-ReguCond / Helvetica-Narrow /' \
    -e 's/ NimbusSanL-ReguItal / Helvetica-Oblique /' \
    -e 's/ NimbusSanL-ReguCondItal / Helvetica-Narrow-Oblique /' \
    -e 's/ CenturySchL-Bold / NewCenturySchlbk-Bold /' \
    -e 's/ CenturySchL-BoldItal / NewCenturySchlbk-BoldItalic /' \
    -e 's/ CenturySchL-Roma / NewCenturySchlbk-Roman /' \
    -e 's/ CenturySchL-Ital / NewCenturySchlbk-Italic /' \
    -e 's/ URWPalladioL-Bold / Palatino-Bold /' \
    -e 's/ URWPalladioL-BoldItal / Palatino-BoldItalic /' \
    -e 's/ URWPalladioL-Roma / Palatino-Roman /' \
    -e 's/ URWPalladioL-Ital / Palatino-Italic /' \
    -e 's/ StandardSymL / Symbol /' \
    -e 's/ NimbusRomNo9L-Medi / Times-Bold /' \
    -e 's/ NimbusRomNo9L-MediItal / Times-BoldItalic /' \
    -e 's/ NimbusRomNo9L-Regu / Times-Roman /' \
    -e 's/ NimbusRomNo9L-ReguItal / Times-Italic /' \
    -e 's/ URWChanceryL-MediItal / ZapfChancery-MediumItalic /' \
    -e 's/ Dingbats / ZapfDingbats /' \
    ${1+"$@"}
}

###############################################################################
# fileADOBEkb()
#   transform filenames from URW to ADOBE (both berry names)
###############################################################################
fileADOBEkb()
{
  sed \
    -e 's/\([^A-Za-z]\)uagd8a.pfb/\1pagd8a.pfb/' \
    -e 's/\([^A-Za-z]\)uagdo8a.pfb/\1pagdo8a.pfb/' \
    -e 's/\([^A-Za-z]\)uagk8a.pfb/\1pagk8a.pfb/' \
    -e 's/\([^A-Za-z]\)uagko8a.pfb/\1pagko8a.pfb/' \
    -e 's/\([^A-Za-z]\)ubkd8a.pfb/\1pbkd8a.pfb/' \
    -e 's/\([^A-Za-z]\)ubkdi8a.pfb/\1pbkdi8a.pfb/' \
    -e 's/\([^A-Za-z]\)ubkl8a.pfb/\1pbkl8a.pfb/' \
    -e 's/\([^A-Za-z]\)ubkli8a.pfb/\1pbkli8a.pfb/' \
    -e 's/\([^A-Za-z]\)ucrb8a.pfb/\1pcrb8a.pfb/' \
    -e 's/\([^A-Za-z]\)ucrbo8a.pfb/\1pcrbo8a.pfb/' \
    -e 's/\([^A-Za-z]\)ucrr8a.pfb/\1pcrr8a.pfb/' \
    -e 's/\([^A-Za-z]\)ucrro8a.pfb/\1pcrro8a.pfb/' \
    -e 's/\([^A-Za-z]\)uhvb8a.pfb/\1phvb8a.pfb/' \
    -e 's/\([^A-Za-z]\)uhvb8ac.pfb/\1phvb8an.pfb/' \
    -e 's/\([^A-Za-z]\)uhvbo8a.pfb/\1phvbo8a.pfb/' \
    -e 's/\([^A-Za-z]\)uhvbo8ac.pfb/\1phvbo8an.pfb/' \
    -e 's/\([^A-Za-z]\)uhvr8a.pfb/\1phvr8a.pfb/' \
    -e 's/\([^A-Za-z]\)uhvr8ac.pfb/\1phvr8an.pfb/' \
    -e 's/\([^A-Za-z]\)uhvro8a.pfb/\1phvro8a.pfb/' \
    -e 's/\([^A-Za-z]\)uhvro8ac.pfb/\1phvro8an.pfb/' \
    -e 's/\([^A-Za-z]\)uncb8a.pfb/\1pncb8a.pfb/' \
    -e 's/\([^A-Za-z]\)uncbi8a.pfb/\1pncbi8a.pfb/' \
    -e 's/\([^A-Za-z]\)uncr8a.pfb/\1pncr8a.pfb/' \
    -e 's/\([^A-Za-z]\)uncri8a.pfb/\1pncri8a.pfb/' \
    -e 's/\([^A-Za-z]\)uplb8a.pfb/\1pplb8a.pfb/' \
    -e 's/\([^A-Za-z]\)uplbi8a.pfb/\1pplbi8a.pfb/' \
    -e 's/\([^A-Za-z]\)uplr8a.pfb/\1pplr8a.pfb/' \
    -e 's/\([^A-Za-z]\)uplri8a.pfb/\1pplri8a.pfb/' \
    -e 's/\([^A-Za-z]\)usyr.pfb/\1psyr.pfb/' \
    -e 's/\([^A-Za-z]\)utmb8a.pfb/\1ptmb8a.pfb/' \
    -e 's/\([^A-Za-z]\)utmbi8a.pfb/\1ptmbi8a.pfb/' \
    -e 's/\([^A-Za-z]\)utmr8a.pfb/\1ptmr8a.pfb/' \
    -e 's/\([^A-Za-z]\)utmri8a.pfb/\1ptmri8a.pfb/' \
    -e 's/\([^A-Za-z]\)uzcmi8a.pfb/\1pzcmi8a.pfb/' \
    -e 's/\([^A-Za-z]\)uzdr.pfb/\1pzdr.pfb/' \
    ${1+"$@"}
}

###############################################################################
# fileURW()
#   transform filenames from URWkb (berry names) to URW (vendor names)
###############################################################################
fileURW()
{
  sed \
    -e 's/\([^A-Za-z]\)uagd8a.pfb/\1a010015l.pfb/' \
    -e 's/\([^A-Za-z]\)uagdo8a.pfb/\1a010035l.pfb/' \
    -e 's/\([^A-Za-z]\)uagk8a.pfb/\1a010013l.pfb/' \
    -e 's/\([^A-Za-z]\)uagko8a.pfb/\1a010033l.pfb/' \
    -e 's/\([^A-Za-z]\)ubkd8a.pfb/\1b018015l.pfb/' \
    -e 's/\([^A-Za-z]\)ubkdi8a.pfb/\1b018035l.pfb/' \
    -e 's/\([^A-Za-z]\)ubkl8a.pfb/\1b018012l.pfb/' \
    -e 's/\([^A-Za-z]\)ubkli8a.pfb/\1b018032l.pfb/' \
    -e 's/\([^A-Za-z]\)ucrb8a.pfb/\1n022004l.pfb/' \
    -e 's/\([^A-Za-z]\)ucrbo8a.pfb/\1n022024l.pfb/' \
    -e 's/\([^A-Za-z]\)ucrr8a.pfb/\1n022003l.pfb/' \
    -e 's/\([^A-Za-z]\)ucrro8a.pfb/\1n022023l.pfb/' \
    -e 's/\([^A-Za-z]\)uhvb8a.pfb/\1n019004l.pfb/' \
    -e 's/\([^A-Za-z]\)uhvb8ac.pfb/\1n019044l.pfb/' \
    -e 's/\([^A-Za-z]\)uhvbo8a.pfb/\1n019024l.pfb/' \
    -e 's/\([^A-Za-z]\)uhvbo8ac.pfb/\1n019064l.pfb/' \
    -e 's/\([^A-Za-z]\)uhvr8a.pfb/\1n019003l.pfb/' \
    -e 's/\([^A-Za-z]\)uhvr8ac.pfb/\1n019043l.pfb/' \
    -e 's/\([^A-Za-z]\)uhvro8a.pfb/\1n019023l.pfb/' \
    -e 's/\([^A-Za-z]\)uhvro8ac.pfb/\1n019063l.pfb/' \
    -e 's/\([^A-Za-z]\)uncb8a.pfb/\1c059016l.pfb/' \
    -e 's/\([^A-Za-z]\)uncbi8a.pfb/\1c059036l.pfb/' \
    -e 's/\([^A-Za-z]\)uncr8a.pfb/\1c059013l.pfb/' \
    -e 's/\([^A-Za-z]\)uncri8a.pfb/\1c059033l.pfb/' \
    -e 's/\([^A-Za-z]\)uplb8a.pfb/\1p052004l.pfb/' \
    -e 's/\([^A-Za-z]\)uplbi8a.pfb/\1p052024l.pfb/' \
    -e 's/\([^A-Za-z]\)uplr8a.pfb/\1p052003l.pfb/' \
    -e 's/\([^A-Za-z]\)uplri8a.pfb/\1p052023l.pfb/' \
    -e 's/\([^A-Za-z]\)usyr.pfb/\1s050000l.pfb/' \
    -e 's/\([^A-Za-z]\)utmb8a.pfb/\1n021004l.pfb/' \
    -e 's/\([^A-Za-z]\)utmbi8a.pfb/\1n021024l.pfb/' \
    -e 's/\([^A-Za-z]\)utmr8a.pfb/\1n021003l.pfb/' \
    -e 's/\([^A-Za-z]\)utmri8a.pfb/\1n021023l.pfb/' \
    -e 's/\([^A-Za-z]\)uzcmi8a.pfb/\1z003034l.pfb/' \
    -e 's/\([^A-Za-z]\)uzdr.pfb/\1d050000l.pfb/' \
    ${1+"$@"}
}

###############################################################################
# fileADOBE()
#   transform filenames from URWkb (berry names) to ADOBE (vendor names)
###############################################################################
fileADOBE()
{
  sed \
    -e 's/\([^A-Za-z]\)uagd8a.pfb/\1agd_____.pfb/' \
    -e 's/\([^A-Za-z]\)uagdo8a.pfb/\1agdo____.pfb/' \
    -e 's/\([^A-Za-z]\)uagk8a.pfb/\1agw_____.pfb/' \
    -e 's/\([^A-Za-z]\)uagko8a.pfb/\1agwo____.pfb/' \
    -e 's/\([^A-Za-z]\)ubkd8a.pfb/\1bkd_____.pfb/' \
    -e 's/\([^A-Za-z]\)ubkdi8a.pfb/\1bkdi____.pfb/' \
    -e 's/\([^A-Za-z]\)ubkl8a.pfb/\1bkl_____.pfb/' \
    -e 's/\([^A-Za-z]\)ubkli8a.pfb/\1bkli____.pfb/' \
    -e 's/\([^A-Za-z]\)ucrb8a.pfb/\1cob_____.pfb/' \
    -e 's/\([^A-Za-z]\)ucrbo8a.pfb/\1cobo____.pfb/' \
    -e 's/\([^A-Za-z]\)ucrr8a.pfb/\1com_____.pfb/' \
    -e 's/\([^A-Za-z]\)ucrro8a.pfb/\1coo_____.pfb/' \
    -e 's/\([^A-Za-z]\)uhvb8a.pfb/\1hvb_____.pfb/' \
    -e 's/\([^A-Za-z]\)uhvb8ac.pfb/\1hvnb____.pfb/' \
    -e 's/\([^A-Za-z]\)uhvbo8a.pfb/\1hvbo____.pfb/' \
    -e 's/\([^A-Za-z]\)uhvbo8ac.pfb/\1hvnbo___.pfb/' \
    -e 's/\([^A-Za-z]\)uhvr8a.pfb/\1hv______.pfb/' \
    -e 's/\([^A-Za-z]\)uhvr8ac.pfb/\1hvn_____.pfb/' \
    -e 's/\([^A-Za-z]\)uhvro8a.pfb/\1hvo_____.pfb/' \
    -e 's/\([^A-Za-z]\)uhvro8ac.pfb/\1hvno____.pfb/' \
    -e 's/\([^A-Za-z]\)uncb8a.pfb/\1ncb_____.pfb/' \
    -e 's/\([^A-Za-z]\)uncbi8a.pfb/\1ncbi____.pfb/' \
    -e 's/\([^A-Za-z]\)uncr8a.pfb/\1ncr_____.pfb/' \
    -e 's/\([^A-Za-z]\)uncri8a.pfb/\1nci_____.pfb/' \
    -e 's/\([^A-Za-z]\)uplb8a.pfb/\1pob_____.pfb/' \
    -e 's/\([^A-Za-z]\)uplbi8a.pfb/\1pobi____.pfb/' \
    -e 's/\([^A-Za-z]\)uplr8a.pfb/\1por_____.pfb/' \
    -e 's/\([^A-Za-z]\)uplri8a.pfb/\1poi_____.pfb/' \
    -e 's/\([^A-Za-z]\)usyr.pfb/\1sy______.pfb/' \
    -e 's/\([^A-Za-z]\)utmb8a.pfb/\1tib_____.pfb/' \
    -e 's/\([^A-Za-z]\)utmbi8a.pfb/\1tibi____.pfb/' \
    -e 's/\([^A-Za-z]\)utmr8a.pfb/\1tir_____.pfb/' \
    -e 's/\([^A-Za-z]\)utmri8a.pfb/\1tii_____.pfb/' \
    -e 's/\([^A-Za-z]\)uzcmi8a.pfb/\1zcmi____.pfb/' \
    -e 's/\([^A-Za-z]\)uzdr.pfb/\1zd______.pfb/' \
    ${1+"$@"}
}

base14RemovePSName()
{
  sed \
    -e '/^[^ 	]*[ 	]Courier[ 	]/s/[ 	][^ 	]*//' \
    -e '/^[^ 	]*[ 	]Courier-Bold[ 	]/s/[ 	][^ 	]*//' \
    -e '/^[^ 	]*[ 	]Courier-Oblique[ 	]/s/[ 	][^ 	]*//' \
    -e '/^[^ 	]*[ 	]Courier-BoldOblique[ 	]/s/[ 	][^ 	]*//' \
    -e '/^[^ 	]*[ 	]Helvetica[ 	]/s/[ 	][^ 	]*//' \
    -e '/^[^ 	]*[ 	]Helvetica-Bold[ 	]/s/[ 	][^ 	]*//' \
    -e '/^[^ 	]*[ 	]Helvetica-Oblique[ 	]/s/[ 	][^ 	]*//' \
    -e '/^[^ 	]*[ 	]Helvetica-BoldOblique[ 	]/s/[ 	][^ 	]*//' \
    -e '/^[^ 	]*[ 	]Symbol[ 	]/s/[ 	][^ 	]*//' \
    -e '/^[^ 	]*[ 	]Times-Roman[ 	]/s/[ 	][^ 	]*//' \
    -e '/^[^ 	]*[ 	]Times-Bold[ 	]/s/[ 	][^ 	]*//' \
    -e '/^[^ 	]*[ 	]Times-Italic[ 	]/s/[ 	][^ 	]*//' \
    -e '/^[^ 	]*[ 	]Times-BoldItalic[ 	]/s/[ 	][^ 	]*//' \
    -e '/^[^ 	]*[ 	]ZapfDingbats[ 	]/s/[ 	][^ 	]*//'
}

###############################################################################
# locateWeb2c (file ...)
#   apply kpsewhich with format 'web2c files'
###############################################################################
locateWeb2c()
{
  kpsewhich --format='web2c files' ${1+"$@"}
}

###############################################################################
# locateMap (file ...)
#   apply kpsewhich with format 'dvips config'
###############################################################################
locateMap()
{
  for map
  do
    file=`kpsewhich --format='dvips config' "$map"`
    if test -f "$file"; then
      verboseMsg "using map file \`$file'"
      echo "$file"
    else
      warn "map file \`$map' not found"
    fi
  done
}

###############################################################################
# cleanup()
#   clean up the temp area and exit with proper exit status
###############################################################################
cleanup()
{
  rc=$?
  $needsCleanup && test -n "$tmpdir" && test -d "$tmpdir" \
    && { rm -f "$tmpdir"/*; cd /; rmdir "$tmpdir"; }
  exit $rc
}

###############################################################################
# setupTmpDir()
#   set up a temp directory and a trap to remove it
###############################################################################
setupTmpDir()
{
  $needsCleanup && return

  trap 'cleanup' 1 2 3 7 13 15
  needsCleanup=true
  mkdir "$tmpdir" || abort "could not create directory \`$tmpdir'"
}

###############################################################################
# showOptions(item)
#   show Options for an item
###############################################################################
showOptions()
{
  item=$1

  case "$item" in
    LW35)
      echo "URWkb URW ADOBE ADOBEkb"
      ;;
    dvipsPreferOutline|pdftexDownloadBase14|dvipdfmDownloadBase14|dvipsDownloadBase35)
      echo "true false"
      ;;
    *)
      abort "Unknown item \"$item\". Choose one of LW35, dvipsPreferOutline, dvipsDownloadBase35, pdftexDownloadBase14 or dvipdfmDownloadBase14"
      ;;
  esac

  exit 0
}


###############################################################################
# setupDestDir()
#   find an output directory if none specified on cmd line. First choice is
#   $VARTEXMF/dvips/config (if VARTEXMF is set), next is relative to config
#   file location. Fallback is $TEXMFMAIN/dvips/config.
###############################################################################
setupDestDir()
{
  if test -z "$outputdir"; then

    # Try VARTEXMF tree. Use it if variable is set and dvips/config can
    # be written. Copy config file if it does not exist there.
    tf=`kpsewhich -expand-var='$VARTEXMF'`
    if test -n "$tf"; then
      $TEXMFMAIN/web2c/mktexdir "$tf/dvips/config" >/dev/null
      if test ! -d "$tf/dvips/config" || test ! -w "$tf/dvips/config"; then
        # forget about VARTEXMF tree...
        tf=
      fi
    fi
      
    # Try something relative to config file, fall back to $TEXMFMAIN.
    if test -z "$tf"; then
      tf=`echo $cnfFile | sed -n 's@/web2c/[^/]*$@@p'`
      test -z "$tf" && tf=$TEXMFMAIN
    fi

    outputdir=$tf/dvips/config
  fi

  $TEXMFMAIN/web2c/mktexdir "$outputdir"
  test -d "$outputdir" || abort "output directory \`$outputdir' does not exist"
  test -w "$outputdir" || abort "output directory \`$outputdir' is not writable"
  verboseMsg "using output directory $outputdir"
}

###############################################################################
# setupCfgFile()
#   find config file if none specified on cmd line.
###############################################################################
setupCfgFile()
{

  if test -z "$cnfFile"; then

    tf=`kpsewhich -expand-var='$VARTEXMF'`
    if test -n "$tf" && test ! -f "$tf/web2c/$cnfFileShort"; then
      test -d "$tf/web2c" || $TEXMFMAIN/web2c/mktexdir "$tf/web2c" 2>/dev/null
      if test -d "$tf/web2c" && test -w "$tf/web2c"; then
        rm -f "$tf/web2c/$cnfFileShort"
        cp $TEXMFMAIN/web2c/$cnfFileShort "$tf/web2c/$cnfFileShort"
        $TEXMFMAIN/web2c/mktexupd "$tf/web2c" "$cnfFileShort"
      fi
    fi

    cnfFile=`locateWeb2c $cnfFileShort`
    if test -n "$cnfFile"; then
      verboseMsg "using config file $cnfFile"
    else
      abort "config file $cnfFileShort not found"
    fi
  fi
}

###############################################################################
# processOptions()
#   process cmd line options
###############################################################################
processOptions()
{
  while
    case $1 in
      --quiet|-q)
          verbose=false;;
      --cnffile)
          cfgparam=1; cnfFile=$2; shift;;
      --cnffile=*)
          cfgparam=1; cnfFile=`echo "$1" | sed 's/--cnffile=//'`;;
      --outputdir)
          outputdirparam=1; outputdir=$2; shift;;
      --outputdir=*)
          outputdirparam=1; outputdir=`echo "$1" | sed 's/--outputdir=//'`;;
      --setoption)
          test $# -ge 3 || { abort "--setoption needs two parameters: option value"; }
          cmd=setoption; setoptionOpt=$2; setoptionVal=$3; shift; shift
          ;;
      --enable)
          test $# -ge 3 || { abort "--enable needs two parameters: mapType mapFile"; }
          cmd=enable; enableMapType=$2; enableMapFile=$3; shift; shift
          ;;
      --disable)
          cmd=disable; disableMapFile=$2; shift
          ;;
      --edit|-e)
          cmd=edit;;
      --listmaps|-l)
          cmd=listmaps;;
      --showoptions)
          cmd=showoptions; showoptionsItem=$2; shift;;
      --showoptions=*)
          cmd=showoptions; showoptionsItem=`echo "$1" | sed 's/--showoptions=//'`;;
      --nohash)
          texhashEnabled=false;;
      --nomkmap)
          mkmapEnabled=false;;
      --help|-help|-h)
          help;;
      "") break;;
      *) echo "$progname: unknown option \`$1' ignored." >&2;;
    esac
  do test $# -gt 0 && shift; done

  if test -n "$cfgparam"; then
    if test -z "$cnfFile" || test ! -f "$cnfFile"; then
      abort "config file \`$cnfFileShort' not found"
    fi
  fi

  if test -n "$outputdirparam"; then
    if test -z "$outputdir" || test ! -d "$outputdir"; then
      abort "output directory \`$1' not found"
    fi
  fi
}



###############################################################################
# listMaps()
#   list all maps mentioned in the config file
###############################################################################
listMaps()
{
  egrep '^(#! *)?(Mixed)?Map' $cnfFile
}

###############################################################################
# normalizeLines()
#   remove comments, whitespace is exactly one space, no empty lines,
#   no whitespace at end of line, one space before and after "
###############################################################################
normalizeLines()
{
  sed \
      -e '/^%/d' \
      -e 's@[ 	][ 	]*@ @g' \
      -e '/^ *$/d' \
      -e 's@ $@@' \
      -e 's@ *" *@ " @g' | sort | uniq
}

dvips2dvipdfm()
{
  sed -e 's@$@ %@' \
      -e 's@^\(\([^ ]*\).*\)@\1\2@' \
      -e 's@\(.*<\[* *\([^ ]*\)\.enc\(.*\)\)@\1 \2@' \
      -e '/%[^ ]*$/s@$@ default@' \
      -e 's@\(.*<<* *\([^ ]*\)\.pf[ab].*\)@\1 \2@' \
      -e '/%[^ ]* [^ ]*$/s@\( \([^ ]*\).*\)$@\1 \2@' \
      -e 's@\(.* \([.0-9-][.0-9-]*\) *ExtendFont.*\)@\1 -e \2@' \
      -e 's@\(.* \([.0-9-][.0-9-]*\) *SlantFont.*\)@\1 -s \2@' \
      -e 's@.*%@@' |
  awk '$1 == $3 && $2 == "default" {$2=""; $3=""} {print}' > $tmp8
 
  egrep '^(cm|eu|la|lc|line|msam|xy)' $tmp8 | sed 's@$@ -r@'
  egrep -v '^(cm|eu|la|lc|line|msam|xy)' $tmp8
}


###############################################################################
# mkMaps()
#   the main task of this script: create the output files
###############################################################################
mkMaps()
{
  mode=`cfgval LW35`
  dvipsPreferOutline=`cfgval dvipsPreferOutline`
  dvipsDownloadBase35=`cfgval dvipsDownloadBase35`
  pdftexDownloadBase14=`cfgval pdftexDownloadBase14`
  dvipdfmDownloadBase14=`cfgval dvipdfmDownloadBase14`

  # defaults
  test -z "$mode" && mode=URWkb
  test -z "$dvipsPreferOutline" && dvipsPreferOutline=true
  test -z "$dvipsDownloadBase35" && dvipsDownloadBase35=false
  test -z "$pdftexDownloadBase14" && pdftexDownloadBase14=false
  test -z "$dvipdfmDownloadBase14" && dvipdfmDownloadBase14=false

  $verbose && cat >&2 <<-eof

  verboseMsg
  verboseMsg "Scanning for LW35 support files"
  dvips35=`locateMap dvips35.map`
  pdftex35=`locateMap pdftex35.map`
  dvipdfm35=`locateMap dvipdfm35.map`
  ps2pk35=`locateMap ps2pk35.map`

  verboseMsg
  verboseMsg "Scanning for MixedMap entries:"
  catMaps '^MixedMap' > $tmp1

  verboseMsg
  verboseMsg "Scanning for Map entries:"
  catMaps '^Map' > $tmp2
  verboseMsg

  # files should be work-readable
  umask 022

  # Create psfonts_t1.map, psfonts_pk.map, ps2pk.map, pdftex.map and dvipdfm.map:
  for file in download35.map builtin35.map psfonts_t1.map psfonts_pk.map pdftex_dl14.map pdftex_ndl14.map dvipdfm_dl14.map dvipdfm_ndl14.map ps2pk.map; do
    rm -f "$outputdir/$file"
    cat > $outputdir/$file <<-eof
  done

  { transLW35 $ps2pk35; cat $tmp1 $tmp2; } \
    | normalizeLines >> $outputdir/ps2pk.map

  { transLW35 $ps2pk35; } \
    | normalizeLines >> $outputdir/download35.map
  { transLW35 $dvips35; } \
    | normalizeLines >> $outputdir/builtin35.map

  if test "x$dvipsDownloadBase35" = xtrue; then
    dftdvips=$ps2pk35
  else
    dftdvips=$dvips35
  fi
  { transLW35 $dftdvips; cat $tmp1 $tmp2; } \
    | normalizeLines >> $outputdir/psfonts_t1.map
  { transLW35 $dftdvips; cat $tmp2; } \
    | normalizeLines >> $outputdir/psfonts_pk.map

  # remove PaintType due to Sebastian's request
  { transLW35 $pdftex35; cat $tmp1 $tmp2; } \
    | egrep -v '(^%|PaintType)' | grep . > $tmp3
  { transLW35 $dvipdfm35; cat $tmp1 $tmp2; } \
    | egrep -v '(^%|PaintType)' | grep . > $tmp6
  { transLW35 $ps2pk35; cat $tmp1 $tmp2; } \
    | egrep -v '(^%|PaintType)' | grep . > $tmp7

  # remove PS-Fontname from ExtendFont / SlantFont lines (works around a
  # pdftex bug)
  { <$tmp3 egrep '".*[^A-Za-z](Slant|Extend)Font([^A-Za-z].*"|")' | sed 's@[ 	][^ 	]*@@'
    <$tmp3 egrep -v '".*[^A-Za-z](Slant|Extend)Font([^A-Za-z].*"|")'
  } | normalizeLines >> $outputdir/pdftex_ndl14.map
  { <$tmp7 egrep '".*[^A-Za-z](Slant|Extend)Font([^A-Za-z].*"|")' | sed 's@[ 	][^ 	]*@@'
    <$tmp7 egrep -v '".*[^A-Za-z](Slant|Extend)Font([^A-Za-z].*"|")'
  } | base14RemovePSName | normalizeLines >> $outputdir/pdftex_dl14.map
  <$tmp7 normalizeLines | dvips2dvipdfm | normalizeLines >> $outputdir/dvipdfm_dl14.map
  <$tmp6 normalizeLines | dvips2dvipdfm | normalizeLines >> $outputdir/dvipdfm_ndl14.map
  setupSymlinks
  $texhashEnabled && { $verbose && texhash || texhash >/dev/null 2>&1; }

  verboseMsg
  verboseMsg "Files generated in $outputdir:"
  $verbose && (cd $outputdir; ls -l dvipdfm.map dvipdfm_dl14.map dvipdfm_ndl14.map pdftex.map pdftex_dl14.map pdftex_ndl14.map ps2pk.map psfonts.map psfonts_pk.map psfonts_t1.map builtin35.map download35.map) >&2
  verboseMsg
}

###############################################################################
# main()
#   execution starts here
###############################################################################
main()
{
  # initialize global variables
  progname=updmap
  cmd=

  cfgparam=
  outputdirparam=
  texhashEnabled=true
  mkmapEnabled=true
  verbose=true
  needsCleanup=false

  cnfFileShort=updmap.cfg
  cnfFile=
  outputdir=
  TEXMFMAIN=`kpsewhich --expand-var='$TEXMFMAIN'`

  tmpdir=${TMP-/tmp}/$progname.$$
  tmp1=$tmpdir/a
  tmp2=$tmpdir/b
  tmp3=$tmpdir/c
  tmp4=$tmpdir/d
  tmp5=$tmpdir/e
  tmp6=$tmpdir/f
  tmp7=$tmpdir/g
  tmp8=$tmpdir/h

  processOptions ${1+"$@"}

  case "$cmd" in
    showoptions) showOptions "$showoptionsItem"; exit;;
    help)        help; exit;;
  esac

  setupCfgFile
  case "$cmd" in
    listmaps) listMaps; exit;;
  esac

  # keep a copy of config file, so that we can see if the file was modified
  setupTmpDir
  cp $cnfFile $tmp5

  case "$cmd" in
    edit)
      ${VISUAL-${EDITOR-vi}} $cnfFile;;
    setoption)
      setOption "$setoptionOpt" "$setoptionVal";;
    enable)
      enableMap "$enableMapType" "$enableMapFile";;
    disable)
      disableMap "$disableMapFile";;
  esac

  if test -n "$cmd" && cmp $cnfFile $tmp5 >/dev/null 2>&1; then
    verboseMsg "$cnfFile unchanged. Map files not recreated."
    return
  fi

  $mkmapEnabled || return
  setupDestDir
  mkMaps
}

main ${1+"$@"}
+ main --cnffile /etc/texmf/updmap.cfg --outputdir /etc/texmf/dvips
+ progname=updmap
+ cmd=
+ cfgparam=
+ outputdirparam=
+ texhashEnabled=true
+ mkmapEnabled=true
+ verbose=true
+ needsCleanup=false
+ cnfFileShort=updmap.cfg
+ cnfFile=
+ outputdir=
kpsewhich --expand-var='$TEXMFMAIN'
++ kpsewhich '--expand-var=$TEXMFMAIN'
+ TEXMFMAIN=
+ tmpdir=/tmp/updmap.2371
+ tmp1=/tmp/updmap.2371/a
+ tmp2=/tmp/updmap.2371/b
+ tmp3=/tmp/updmap.2371/c
+ tmp4=/tmp/updmap.2371/d
+ tmp5=/tmp/updmap.2371/e
+ tmp6=/tmp/updmap.2371/f
+ tmp7=/tmp/updmap.2371/g
+ tmp8=/tmp/updmap.2371/h
+ processOptions --cnffile /etc/texmf/updmap.cfg --outputdir /etc/texmf/dvips
+ cfgparam=1
+ cnfFile=/etc/texmf/updmap.cfg
+ shift
+ test 3 -gt 0
+ shift
+ outputdirparam=1
+ outputdir=/etc/texmf/dvips
+ shift
+ test 1 -gt 0
+ shift
+ break
+ test -n 1
+ test -z /etc/texmf/updmap.cfg
+ test '!' -f /etc/texmf/updmap.cfg
+ test -n 1
+ test -z /etc/texmf/dvips
+ test '!' -d /etc/texmf/dvips
+ setupCfgFile
+ test -z /etc/texmf/updmap.cfg
+ setupTmpDir
+ false
+ trap cleanup 1 2 3 7 13 15
+ needsCleanup=true
+ mkdir /tmp/updmap.2371
+ cp /etc/texmf/updmap.cfg /tmp/updmap.2371/e
+ test -n ''
+ true
+ setupDestDir
+ test -z /etc/texmf/dvips
+ /web2c/mktexdir /etc/texmf/dvips
/usr/bin/updmap: line 612: /web2c/mktexdir: No such file or directory
+ test -d /etc/texmf/dvips
+ test -w /etc/texmf/dvips
+ verboseMsg 'using output directory /etc/texmf/dvips'
+ true
+ echo 'using output directory /etc/texmf/dvips'
using output directory /etc/texmf/dvips
+ mkMaps
cfgval LW35
++ cfgval LW35
++ cat /etc/texmf/updmap.cfg
++ sed -n 's/^LW35[	 =][	 =]*//p'
++ tail -1
+ mode=URWkb
cfgval dvipsPreferOutline
++ cfgval dvipsPreferOutline
++ cat /etc/texmf/updmap.cfg
++ sed -n 's/^dvipsPreferOutline[	 =][	 =]*//p'
++ tail -1
+ dvipsPreferOutline=true
cfgval dvipsDownloadBase35
++ cfgval dvipsDownloadBase35
++ cat /etc/texmf/updmap.cfg
++ sed -n 's/^dvipsDownloadBase35[	 =][	 =]*//p'
++ tail -1
+ dvipsDownloadBase35=false
cfgval pdftexDownloadBase14
++ cfgval pdftexDownloadBase14
++ cat /etc/texmf/updmap.cfg
++ sed -n 's/^pdftexDownloadBase14[	 =][	 =]*//p'
++ tail -1
+ pdftexDownloadBase14=false
cfgval dvipdfmDownloadBase14
++ cfgval dvipdfmDownloadBase14
++ cat /etc/texmf/updmap.cfg
++ sed -n 's/^dvipdfmDownloadBase14[	 =][	 =]*//p'
++ tail -1
+ dvipdfmDownloadBase14=false
+ test -z URWkb
+ test -z true
+ test -z false
+ test -z false
+ test -z false
+ true
+ cat

updmap is creating new map files using the following configuration:
  prefer outlines: true
  texhash enabled: true
  download standard fonts (dvips): false
  download standard fonts (pdftex): false
  download standard fonts (dvipdfm): false
+ verboseMsg
+ true
+ echo

+ verboseMsg 'Scanning for LW35 support files'
+ true
+ echo 'Scanning for LW35 support files'
Scanning for LW35 support files
locateMap dvips35.map
++ locateMap dvips35.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' dvips35.map
++ file=/usr/share/texmf/dvips/config/dvips35.map
++ test -f /usr/share/texmf/dvips/config/dvips35.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/dvips35.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/dvips35.map'\'''
using map file `/usr/share/texmf/dvips/config/dvips35.map'
++ echo /usr/share/texmf/dvips/config/dvips35.map
+ dvips35=/usr/share/texmf/dvips/config/dvips35.map
locateMap pdftex35.map
++ locateMap pdftex35.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' pdftex35.map
++ file=/usr/share/texmf/dvips/config/pdftex35.map
++ test -f /usr/share/texmf/dvips/config/pdftex35.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/pdftex35.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/pdftex35.map'\'''
using map file `/usr/share/texmf/dvips/config/pdftex35.map'
++ echo /usr/share/texmf/dvips/config/pdftex35.map
+ pdftex35=/usr/share/texmf/dvips/config/pdftex35.map
locateMap dvipdfm35.map
++ locateMap dvipdfm35.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' dvipdfm35.map
++ file=
++ test -f ''
++ warn 'map file `dvipdfm35.map'\'' not found'
++ echo 'updmap: map file `dvipdfm35.map'\'' not found.'
updmap: map file `dvipdfm35.map' not found.
+ dvipdfm35=
locateMap ps2pk35.map
++ locateMap ps2pk35.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' ps2pk35.map
++ file=/usr/share/texmf/dvips/config/ps2pk35.map
++ test -f /usr/share/texmf/dvips/config/ps2pk35.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/ps2pk35.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/ps2pk35.map'\'''
using map file `/usr/share/texmf/dvips/config/ps2pk35.map'
++ echo /usr/share/texmf/dvips/config/ps2pk35.map
+ ps2pk35=/usr/share/texmf/dvips/config/ps2pk35.map
+ verboseMsg
+ true
+ echo

+ verboseMsg 'Scanning for MixedMap entries:'
+ true
+ echo 'Scanning for MixedMap entries:'
Scanning for MixedMap entries:
+ catMaps '^MixedMap'
+ egrep '^MixedMap' /etc/texmf/updmap.cfg
+ sed 's@#.*@@'
+ awk '{print $2}'
+ sort
+ uniq
+ grep .
+ read map
locateMap "$map"
++ locateMap bsr-interpolated.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' bsr-interpolated.map
++ file=/usr/share/texmf/dvips/config/bsr-interpolated.map
++ test -f /usr/share/texmf/dvips/config/bsr-interpolated.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/bsr-interpolated.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/bsr-interpolated.map'\'''
using map file `/usr/share/texmf/dvips/config/bsr-interpolated.map'
++ echo /usr/share/texmf/dvips/config/bsr-interpolated.map
+ file=/usr/share/texmf/dvips/config/bsr-interpolated.map
+ test -n /usr/share/texmf/dvips/config/bsr-interpolated.map
+ cat /usr/share/texmf/dvips/config/bsr-interpolated.map
+ echo
+ read map
locateMap "$map"
++ locateMap bsr.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' bsr.map
++ file=/usr/share/texmf/dvips/config/bsr.map
++ test -f /usr/share/texmf/dvips/config/bsr.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/bsr.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/bsr.map'\'''
using map file `/usr/share/texmf/dvips/config/bsr.map'
++ echo /usr/share/texmf/dvips/config/bsr.map
+ file=/usr/share/texmf/dvips/config/bsr.map
+ test -n /usr/share/texmf/dvips/config/bsr.map
+ cat /usr/share/texmf/dvips/config/bsr.map
+ echo
+ read map
locateMap "$map"
++ locateMap ccpl.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' ccpl.map
++ file=/usr/share/texmf/dvips/cc-pl/ccpl.map
++ test -f /usr/share/texmf/dvips/cc-pl/ccpl.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/cc-pl/ccpl.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/cc-pl/ccpl.map'\'''
using map file `/usr/share/texmf/dvips/cc-pl/ccpl.map'
++ echo /usr/share/texmf/dvips/cc-pl/ccpl.map
+ file=/usr/share/texmf/dvips/cc-pl/ccpl.map
+ test -n /usr/share/texmf/dvips/cc-pl/ccpl.map
+ cat /usr/share/texmf/dvips/cc-pl/ccpl.map
+ echo
+ read map
locateMap "$map"
++ locateMap cs.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' cs.map
++ file=/usr/share/texmf/dvips/config/cs.map
++ test -f /usr/share/texmf/dvips/config/cs.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/cs.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/cs.map'\'''
using map file `/usr/share/texmf/dvips/config/cs.map'
++ echo /usr/share/texmf/dvips/config/cs.map
+ file=/usr/share/texmf/dvips/config/cs.map
+ test -n /usr/share/texmf/dvips/config/cs.map
+ cat /usr/share/texmf/dvips/config/cs.map
+ echo
+ read map
locateMap "$map"
++ locateMap eurosym.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' eurosym.map
++ file=/usr/share/texmf/dvips/misc/eurosym.map
++ test -f /usr/share/texmf/dvips/misc/eurosym.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/misc/eurosym.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/misc/eurosym.map'\'''
using map file `/usr/share/texmf/dvips/misc/eurosym.map'
++ echo /usr/share/texmf/dvips/misc/eurosym.map
+ file=/usr/share/texmf/dvips/misc/eurosym.map
+ test -n /usr/share/texmf/dvips/misc/eurosym.map
+ cat /usr/share/texmf/dvips/misc/eurosym.map
+ echo
+ read map
locateMap "$map"
++ locateMap hoekwater.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' hoekwater.map
++ file=/usr/share/texmf/dvips/config/hoekwater.map
++ test -f /usr/share/texmf/dvips/config/hoekwater.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/hoekwater.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/hoekwater.map'\'''
using map file `/usr/share/texmf/dvips/config/hoekwater.map'
++ echo /usr/share/texmf/dvips/config/hoekwater.map
+ file=/usr/share/texmf/dvips/config/hoekwater.map
+ test -n /usr/share/texmf/dvips/config/hoekwater.map
+ cat /usr/share/texmf/dvips/config/hoekwater.map
+ echo
+ read map
locateMap "$map"
++ locateMap pl.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' pl.map
++ file=/usr/share/texmf/dvips/config/pl.map
++ test -f /usr/share/texmf/dvips/config/pl.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/pl.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/pl.map'\'''
using map file `/usr/share/texmf/dvips/config/pl.map'
++ echo /usr/share/texmf/dvips/config/pl.map
+ file=/usr/share/texmf/dvips/config/pl.map
+ test -n /usr/share/texmf/dvips/config/pl.map
+ cat /usr/share/texmf/dvips/config/pl.map
+ echo
+ read map
locateMap "$map"
++ locateMap ttcmex.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' ttcmex.map
++ file=/usr/share/texmf/dvips/config/ttcmex.map
++ test -f /usr/share/texmf/dvips/config/ttcmex.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/ttcmex.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/ttcmex.map'\'''
using map file `/usr/share/texmf/dvips/config/ttcmex.map'
++ echo /usr/share/texmf/dvips/config/ttcmex.map
+ file=/usr/share/texmf/dvips/config/ttcmex.map
+ test -n /usr/share/texmf/dvips/config/ttcmex.map
+ cat /usr/share/texmf/dvips/config/ttcmex.map
+ echo
+ read map
+ verboseMsg
+ true
+ echo

+ verboseMsg 'Scanning for Map entries:'
+ true
+ echo 'Scanning for Map entries:'
Scanning for Map entries:
+ catMaps '^Map'
+ egrep '^Map' /etc/texmf/updmap.cfg
+ sed 's@#.*@@'
+ awk '{print $2}'
+ sort
+ uniq
+ grep .
+ read map
locateMap "$map"
++ locateMap antp.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' antp.map
++ file=/usr/share/texmf/dvips/antp/antp.map
++ test -f /usr/share/texmf/dvips/antp/antp.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/antp/antp.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/antp/antp.map'\'''
using map file `/usr/share/texmf/dvips/antp/antp.map'
++ echo /usr/share/texmf/dvips/antp/antp.map
+ file=/usr/share/texmf/dvips/antp/antp.map
+ test -n /usr/share/texmf/dvips/antp/antp.map
+ cat /usr/share/texmf/dvips/antp/antp.map
+ echo
+ read map
locateMap "$map"
++ locateMap antt.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' antt.map
++ file=/usr/share/texmf/dvips/antt/antt.map
++ test -f /usr/share/texmf/dvips/antt/antt.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/antt/antt.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/antt/antt.map'\'''
using map file `/usr/share/texmf/dvips/antt/antt.map'
++ echo /usr/share/texmf/dvips/antt/antt.map
+ file=/usr/share/texmf/dvips/antt/antt.map
+ test -n /usr/share/texmf/dvips/antt/antt.map
+ cat /usr/share/texmf/dvips/antt/antt.map
+ echo
+ read map
locateMap "$map"
++ locateMap charter.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' charter.map
++ file=/usr/share/texmf/dvips/config/charter.map
++ test -f /usr/share/texmf/dvips/config/charter.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/charter.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/charter.map'\'''
using map file `/usr/share/texmf/dvips/config/charter.map'
++ echo /usr/share/texmf/dvips/config/charter.map
+ file=/usr/share/texmf/dvips/config/charter.map
+ test -n /usr/share/texmf/dvips/config/charter.map
+ cat /usr/share/texmf/dvips/config/charter.map
+ echo
+ read map
locateMap "$map"
++ locateMap cmcyr.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' cmcyr.map
++ file=/usr/share/texmf/dvips/config/cmcyr.map
++ test -f /usr/share/texmf/dvips/config/cmcyr.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/cmcyr.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/cmcyr.map'\'''
using map file `/usr/share/texmf/dvips/config/cmcyr.map'
++ echo /usr/share/texmf/dvips/config/cmcyr.map
+ file=/usr/share/texmf/dvips/config/cmcyr.map
+ test -n /usr/share/texmf/dvips/config/cmcyr.map
+ cat /usr/share/texmf/dvips/config/cmcyr.map
+ echo
+ read map
locateMap "$map"
++ locateMap context.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' context.map
++ file=/usr/share/texmf/dvips/config/context.map
++ test -f /usr/share/texmf/dvips/config/context.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/context.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/context.map'\'''
using map file `/usr/share/texmf/dvips/config/context.map'
++ echo /usr/share/texmf/dvips/config/context.map
+ file=/usr/share/texmf/dvips/config/context.map
+ test -n /usr/share/texmf/dvips/config/context.map
+ cat /usr/share/texmf/dvips/config/context.map
+ echo
+ read map
locateMap "$map"
++ locateMap lucidabr-o.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' lucidabr-o.map
++ file=
++ test -f ''
++ warn 'map file `lucidabr-o.map'\'' not found'
++ echo 'updmap: map file `lucidabr-o.map'\'' not found.'
updmap: map file `lucidabr-o.map' not found.
+ file=
+ test -n ''
+ read map
locateMap "$map"
++ locateMap lucidabr.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' lucidabr.map
++ file=/usr/share/texmf/dvips/config/lucidabr.map
++ test -f /usr/share/texmf/dvips/config/lucidabr.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/lucidabr.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/lucidabr.map'\'''
using map file `/usr/share/texmf/dvips/config/lucidabr.map'
++ echo /usr/share/texmf/dvips/config/lucidabr.map
+ file=/usr/share/texmf/dvips/config/lucidabr.map
+ test -n /usr/share/texmf/dvips/config/lucidabr.map
+ cat /usr/share/texmf/dvips/config/lucidabr.map
+ echo
+ read map
locateMap "$map"
++ locateMap lumath-o.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' lumath-o.map
++ file=
++ test -f ''
++ warn 'map file `lumath-o.map'\'' not found'
++ echo 'updmap: map file `lumath-o.map'\'' not found.'
updmap: map file `lumath-o.map' not found.
+ file=
+ test -n ''
+ read map
locateMap "$map"
++ locateMap lumath.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' lumath.map
++ file=
++ test -f ''
++ warn 'map file `lumath.map'\'' not found'
++ echo 'updmap: map file `lumath.map'\'' not found.'
updmap: map file `lumath.map' not found.
+ file=
+ test -n ''
+ read map
locateMap "$map"
++ locateMap marvosym.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' marvosym.map
++ file=/usr/share/texmf/dvips/config/marvosym.map
++ test -f /usr/share/texmf/dvips/config/marvosym.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/marvosym.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/marvosym.map'\'''
using map file `/usr/share/texmf/dvips/config/marvosym.map'
++ echo /usr/share/texmf/dvips/config/marvosym.map
+ file=/usr/share/texmf/dvips/config/marvosym.map
+ test -n /usr/share/texmf/dvips/config/marvosym.map
+ cat /usr/share/texmf/dvips/config/marvosym.map
+ echo
+ read map
locateMap "$map"
++ locateMap mathpi.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' mathpi.map
++ file=/usr/share/texmf/dvips/config/mathpi.map
++ test -f /usr/share/texmf/dvips/config/mathpi.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/mathpi.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/mathpi.map'\'''
using map file `/usr/share/texmf/dvips/config/mathpi.map'
++ echo /usr/share/texmf/dvips/config/mathpi.map
+ file=/usr/share/texmf/dvips/config/mathpi.map
+ test -n /usr/share/texmf/dvips/config/mathpi.map
+ cat /usr/share/texmf/dvips/config/mathpi.map
+ echo
+ read map
locateMap "$map"
++ locateMap mathpple.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' mathpple.map
++ file=/usr/share/texmf/dvips/config/mathpple.map
++ test -f /usr/share/texmf/dvips/config/mathpple.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/mathpple.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/mathpple.map'\'''
using map file `/usr/share/texmf/dvips/config/mathpple.map'
++ echo /usr/share/texmf/dvips/config/mathpple.map
+ file=/usr/share/texmf/dvips/config/mathpple.map
+ test -n /usr/share/texmf/dvips/config/mathpple.map
+ cat /usr/share/texmf/dvips/config/mathpple.map
+ echo
+ read map
locateMap "$map"
++ locateMap mt-plus.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' mt-plus.map
++ file=/usr/share/texmf/dvips/config/mt-plus.map
++ test -f /usr/share/texmf/dvips/config/mt-plus.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/mt-plus.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/mt-plus.map'\'''
using map file `/usr/share/texmf/dvips/config/mt-plus.map'
++ echo /usr/share/texmf/dvips/config/mt-plus.map
+ file=/usr/share/texmf/dvips/config/mt-plus.map
+ test -n /usr/share/texmf/dvips/config/mt-plus.map
+ cat /usr/share/texmf/dvips/config/mt-plus.map
+ echo
+ read map
locateMap "$map"
++ locateMap mt-yy.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' mt-yy.map
++ file=/usr/share/texmf/dvips/config/mt-yy.map
++ test -f /usr/share/texmf/dvips/config/mt-yy.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/mt-yy.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/mt-yy.map'\'''
using map file `/usr/share/texmf/dvips/config/mt-yy.map'
++ echo /usr/share/texmf/dvips/config/mt-yy.map
+ file=/usr/share/texmf/dvips/config/mt-yy.map
+ test -n /usr/share/texmf/dvips/config/mt-yy.map
+ cat /usr/share/texmf/dvips/config/mt-yy.map
+ echo
+ read map
locateMap "$map"
++ locateMap omega.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' omega.map
++ file=/usr/share/texmf/dvips/omega/omega.map
++ test -f /usr/share/texmf/dvips/omega/omega.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/omega/omega.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/omega/omega.map'\'''
using map file `/usr/share/texmf/dvips/omega/omega.map'
++ echo /usr/share/texmf/dvips/omega/omega.map
+ file=/usr/share/texmf/dvips/omega/omega.map
+ test -n /usr/share/texmf/dvips/omega/omega.map
+ cat /usr/share/texmf/dvips/omega/omega.map
+ echo
+ read map
locateMap "$map"
++ locateMap pazo.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' pazo.map
++ file=/usr/share/texmf/dvips/config/pazo.map
++ test -f /usr/share/texmf/dvips/config/pazo.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/pazo.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/pazo.map'\'''
using map file `/usr/share/texmf/dvips/config/pazo.map'
++ echo /usr/share/texmf/dvips/config/pazo.map
+ file=/usr/share/texmf/dvips/config/pazo.map
+ test -n /usr/share/texmf/dvips/config/pazo.map
+ cat /usr/share/texmf/dvips/config/pazo.map
+ echo
+ read map
locateMap "$map"
++ locateMap pxfonts.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' pxfonts.map
++ file=/usr/share/texmf/dvips/config/pxfonts.map
++ test -f /usr/share/texmf/dvips/config/pxfonts.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/pxfonts.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/pxfonts.map'\'''
using map file `/usr/share/texmf/dvips/config/pxfonts.map'
++ echo /usr/share/texmf/dvips/config/pxfonts.map
+ file=/usr/share/texmf/dvips/config/pxfonts.map
+ test -n /usr/share/texmf/dvips/config/pxfonts.map
+ cat /usr/share/texmf/dvips/config/pxfonts.map
+ echo
+ read map
locateMap "$map"
++ locateMap qbk.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' qbk.map
++ file=/usr/share/texmf/dvips/config/qbk.map
++ test -f /usr/share/texmf/dvips/config/qbk.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/qbk.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/qbk.map'\'''
using map file `/usr/share/texmf/dvips/config/qbk.map'
++ echo /usr/share/texmf/dvips/config/qbk.map
+ file=/usr/share/texmf/dvips/config/qbk.map
+ test -n /usr/share/texmf/dvips/config/qbk.map
+ cat /usr/share/texmf/dvips/config/qbk.map
+ echo
+ read map
locateMap "$map"
++ locateMap qcr.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' qcr.map
++ file=/usr/share/texmf/dvips/config/qcr.map
++ test -f /usr/share/texmf/dvips/config/qcr.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/qcr.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/qcr.map'\'''
using map file `/usr/share/texmf/dvips/config/qcr.map'
++ echo /usr/share/texmf/dvips/config/qcr.map
+ file=/usr/share/texmf/dvips/config/qcr.map
+ test -n /usr/share/texmf/dvips/config/qcr.map
+ cat /usr/share/texmf/dvips/config/qcr.map
+ echo
+ read map
locateMap "$map"
++ locateMap qhv.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' qhv.map
++ file=/usr/share/texmf/dvips/config/qhv.map
++ test -f /usr/share/texmf/dvips/config/qhv.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/qhv.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/qhv.map'\'''
using map file `/usr/share/texmf/dvips/config/qhv.map'
++ echo /usr/share/texmf/dvips/config/qhv.map
+ file=/usr/share/texmf/dvips/config/qhv.map
+ test -n /usr/share/texmf/dvips/config/qhv.map
+ cat /usr/share/texmf/dvips/config/qhv.map
+ echo
+ read map
locateMap "$map"
++ locateMap qpl.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' qpl.map
++ file=/usr/share/texmf/dvips/config/qpl.map
++ test -f /usr/share/texmf/dvips/config/qpl.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/qpl.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/qpl.map'\'''
using map file `/usr/share/texmf/dvips/config/qpl.map'
++ echo /usr/share/texmf/dvips/config/qpl.map
+ file=/usr/share/texmf/dvips/config/qpl.map
+ test -n /usr/share/texmf/dvips/config/qpl.map
+ cat /usr/share/texmf/dvips/config/qpl.map
+ echo
+ read map
locateMap "$map"
++ locateMap qtm.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' qtm.map
++ file=/usr/share/texmf/dvips/config/qtm.map
++ test -f /usr/share/texmf/dvips/config/qtm.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/qtm.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/qtm.map'\'''
using map file `/usr/share/texmf/dvips/config/qtm.map'
++ echo /usr/share/texmf/dvips/config/qtm.map
+ file=/usr/share/texmf/dvips/config/qtm.map
+ test -n /usr/share/texmf/dvips/config/qtm.map
+ cat /usr/share/texmf/dvips/config/qtm.map
+ echo
+ read map
locateMap "$map"
++ locateMap qzc.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' qzc.map
++ file=/usr/share/texmf/dvips/config/qzc.map
++ test -f /usr/share/texmf/dvips/config/qzc.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/qzc.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/qzc.map'\'''
using map file `/usr/share/texmf/dvips/config/qzc.map'
++ echo /usr/share/texmf/dvips/config/qzc.map
+ file=/usr/share/texmf/dvips/config/qzc.map
+ test -n /usr/share/texmf/dvips/config/qzc.map
+ cat /usr/share/texmf/dvips/config/qzc.map
+ echo
+ read map
locateMap "$map"
++ locateMap txfonts.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' txfonts.map
++ file=/usr/share/texmf/dvips/config/txfonts.map
++ test -f /usr/share/texmf/dvips/config/txfonts.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/txfonts.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/txfonts.map'\'''
using map file `/usr/share/texmf/dvips/config/txfonts.map'
++ echo /usr/share/texmf/dvips/config/txfonts.map
+ file=/usr/share/texmf/dvips/config/txfonts.map
+ test -n /usr/share/texmf/dvips/config/txfonts.map
+ cat /usr/share/texmf/dvips/config/txfonts.map
+ echo
+ read map
locateMap "$map"
++ locateMap xypic.map
kpsewhich --format='dvips config' "$map"
+++ kpsewhich '--format=dvips config' xypic.map
++ file=/usr/share/texmf/dvips/config/xypic.map
++ test -f /usr/share/texmf/dvips/config/xypic.map
++ verboseMsg 'using map file `/usr/share/texmf/dvips/config/xypic.map'\'''
++ true
++ echo 'using map file `/usr/share/texmf/dvips/config/xypic.map'\'''
using map file `/usr/share/texmf/dvips/config/xypic.map'
++ echo /usr/share/texmf/dvips/config/xypic.map
+ file=/usr/share/texmf/dvips/config/xypic.map
+ test -n /usr/share/texmf/dvips/config/xypic.map
+ cat /usr/share/texmf/dvips/config/xypic.map
+ echo
+ read map
+ verboseMsg
+ true
+ echo

+ umask 022
+ rm -f /etc/texmf/dvips/download35.map
+ cat
+ rm -f /etc/texmf/dvips/builtin35.map
+ cat
+ rm -f /etc/texmf/dvips/psfonts_t1.map
+ cat
+ rm -f /etc/texmf/dvips/psfonts_pk.map
+ cat
+ rm -f /etc/texmf/dvips/pdftex_dl14.map
+ cat
+ rm -f /etc/texmf/dvips/pdftex_ndl14.map
+ cat
+ rm -f /etc/texmf/dvips/dvipdfm_dl14.map
+ cat
+ rm -f /etc/texmf/dvips/dvipdfm_ndl14.map
+ cat
+ rm -f /etc/texmf/dvips/ps2pk.map
+ cat
+ transLW35 /usr/share/texmf/dvips/config/ps2pk35.map
+ cat /usr/share/texmf/dvips/config/ps2pk35.map
+ normalizeLines
+ sed -e '/^%/d' -e 's@[ 	][ 	]*@ @g' -e '/^ *$/d' -e 's@ $@@' -e 's@ *" *@ " @g'
+ sort
+ cat /tmp/updmap.2371/a /tmp/updmap.2371/b
+ uniq
+ transLW35 /usr/share/texmf/dvips/config/ps2pk35.map
+ cat /usr/share/texmf/dvips/config/ps2pk35.map
+ normalizeLines
+ sed -e '/^%/d' -e 's@[ 	][ 	]*@ @g' -e '/^ *$/d' -e 's@ $@@' -e 's@ *" *@ " @g'
+ sort
+ uniq
+ transLW35 /usr/share/texmf/dvips/config/dvips35.map
+ cat /usr/share/texmf/dvips/config/dvips35.map
+ normalizeLines
+ sed -e '/^%/d' -e 's@[ 	][ 	]*@ @g' -e '/^ *$/d' -e 's@ $@@' -e 's@ *" *@ " @g'
+ sort
+ uniq
+ test xfalse = xtrue
+ dftdvips=/usr/share/texmf/dvips/config/dvips35.map
+ transLW35 /usr/share/texmf/dvips/config/dvips35.map
+ cat /usr/share/texmf/dvips/config/dvips35.map
+ normalizeLines
+ sed -e '/^%/d' -e 's@[ 	][ 	]*@ @g' -e '/^ *$/d' -e 's@ $@@' -e 's@ *" *@ " @g'
+ sort
+ cat /tmp/updmap.2371/a /tmp/updmap.2371/b
+ uniq
+ transLW35 /usr/share/texmf/dvips/config/dvips35.map
+ cat /usr/share/texmf/dvips/config/dvips35.map
+ normalizeLines
+ sed -e '/^%/d' -e 's@[ 	][ 	]*@ @g' -e '/^ *$/d' -e 's@ $@@' -e 's@ *" *@ " @g'
+ sort
+ cat /tmp/updmap.2371/b
+ uniq
+ transLW35 /usr/share/texmf/dvips/config/pdftex35.map
+ cat /usr/share/texmf/dvips/config/pdftex35.map
+ egrep -v '(^%|PaintType)'
+ cat /tmp/updmap.2371/a /tmp/updmap.2371/b
+ grep .
+ transLW35
+ cat
+ egrep -v '(^%|PaintType)'
+ grep .

---------------------------------------
Received: (at 182125-close) by bugs.debian.org; 26 Feb 2003 07:08:22 +0000
>From katie@auric.debian.org Wed Feb 26 01:08:22 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18nvfy-0001dJ-00; Wed, 26 Feb 2003 01:08:22 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 18nvak-0005Cz-00; Wed, 26 Feb 2003 02:02:58 -0500
From: Atsuhito KOHDA <kohda@debian.org>
To: 182125-close@bugs.debian.org
X-Katie: $Revision: 1.32 $
Subject: Bug#182125: fixed in tetex-base 2.0.1-3
Message-Id: <E18nvak-0005Cz-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Wed, 26 Feb 2003 02:02:58 -0500
Delivered-To: 182125-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
tetex-base, which is due to be installed in the Debian FTP archive:

tetex-base_2.0.1-3.diff.gz
  to pool/main/t/tetex-base/tetex-base_2.0.1-3.diff.gz
tetex-base_2.0.1-3.dsc
  to pool/main/t/tetex-base/tetex-base_2.0.1-3.dsc
tetex-base_2.0.1-3_all.deb
  to pool/main/t/tetex-base/tetex-base_2.0.1-3_all.deb
tetex-doc_2.0.1-3_all.deb
  to pool/main/t/tetex-base/tetex-doc_2.0.1-3_all.deb
tetex-extra_2.0.1-3_all.deb
  to pool/main/t/tetex-base/tetex-extra_2.0.1-3_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 182125@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Atsuhito KOHDA <kohda@debian.org> (supplier of updated tetex-base package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 25 Feb 2003 07:36:24 +0900
Source: tetex-base
Binary: tetex-extra tetex-doc tetex-base
Architecture: source all
Version: 2.0.1-3
Distribution: unstable
Urgency: low
Maintainer: teTeX maintainers <debian-tetex-maint@lists.debian.org>
Changed-By: Atsuhito KOHDA <kohda@debian.org>
Description: 
 tetex-base - basic teTeX library files
 tetex-doc  - teTeX documentation
 tetex-extra - extra teTeX library files
Closes: 62271 182125
Changes: 
 tetex-base (2.0.1-3) unstable; urgency=low
 .
   * Fixed postinst; didn't call updmap any more.  [kohda]  (Closes: #182125)
   * Moved language.def, language.dat under /etc/texmf and now they were
     conffiles.  [kohda]  (Closes: #62271)
Files: 
 45dbf52922303b5561519fa1b35920ad 792 tex optional tetex-base_2.0.1-3.dsc
 363b32b858d341a2779c45fc754a9cf4 39812 tex optional tetex-base_2.0.1-3.diff.gz
 724ce23e5c7526e0d2321e618c13ab8a 13978768 tex optional tetex-base_2.0.1-3_all.deb
 9463ac5f08b16a7663b57d8969a68daa 10342416 tex optional tetex-extra_2.0.1-3_all.deb
 3ef54126db55ea85b6449dae3d1797e3 27238406 doc optional tetex-doc_2.0.1-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+XCyp1IXdL1v6kOwRAkbRAJ9dbewxUIIwERDXJJ+Gphj+GbLzuwCcD/WQ
22UPu7AwMRxENa5TbBReWKQ=
=nl2E
-----END PGP SIGNATURE-----



Reply to: