Bug#686335: texlive-base: updmap.pl does not recognize option "dvipsDownloadBase35" set in updmap.cfg

2012-09-03 Thread Martin Zabel
Hi Norbert,

thanks for your reply and fixing the bug. I have applied your patch to
my installed file and it works as expected. I will check the package
content when the new version propagates from sid to testing.

Just some clarifications and notes:

Am 01.09.2012 01:12, schrieb Norbert Preining:
> Hi Martin,
>
> On Fri, 31 Aug 2012, Martin Zabel wrote:
>> Instead of if ($dvipsDownloadBase35) which checks for a non-empty
>> string, it must be if ($dvipsDownloadBase35 eq "true") to reach
>> the else case, if option is set to "false".
>
> Indeed, thanks for spotting that. Fortunately it failed on the safe
> side, i.e., by always including the fonts, which is anyway a good
> thing.
>

Always including the fonts does not work for me. Including the fonts
(called Nimbus*) and an EPS image (which refers to the original Adobe
font names) in the same TeX document leads to a broken image. I will
open a bug report on this issue later.

>> Same if-expression is also used for the other options in the
>> perl-script, e.g. dvipsPreferOutline.
>
> Really? I didn't find any other place where it is *wrongly* used?
> Let me know what you found, please!
>
Oops, my sentence was misinterpretative. I meant, I have looked up the
correct perl statement by studying the evaluation of the other options
(e.g. dvipsPreferOutline). The other options already work fine.

>> texmf/scripts/tetex/updmap.pl as indicated by the patch. The
>> wrong statement is at line 1026.
>
> There is actually another place, a few lines up:
Right, I missed that.

Greetings,
Martin


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#686335: texlive-base: updmap.pl does not recognize option "dvipsDownloadBase35" set in updmap.cfg

2012-08-31 Thread Martin Zabel
Package: texlive-base
Version: 2012.20120611-3
Severity: important
Tags: patch

Hello,
I have found a bug in /usr/bin/updmap (part of package texlive-binaries) which
is a symbolic link to /usr/share/texlive/texmf/scripts/tetex/updmap.pl
(part of texlive-base). A patch is attached.
I hope reportbug cancelled might first wrong bug report.

This program founds its configuration files as expected 
(e.g. /etc/texmf/web2c/updmap.cfg), but the option "dvipsDownloadBase35" is 
not recognized. The option can be set to the string values "true" and "false", 
but the "false" value is not recognized because the perl statement in 
line 1048 (version in binary package) is wrong. 
Instead of 
  if ($dvipsDownloadBase35)
which checks for a non-empty string, it must be
  if ($dvipsDownloadBase35 eq "true")
to reach the else case, if option is set to "false".

Same if-expression is also used for the other options in the perl-script, e.g.
dvipsPreferOutline.

In the source package texlive-base_2012.20120611.orig.tar.xz the filename is
texmf/scripts/tetex/updmap.pl as indicated by the patch. The wrong statement
is at line 1026.

Greetings,
Martin


-- Package-specific info:
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource. 

   *** The Debian TeX Team is *no* LaTeX Help Desk ***

If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.

Please run your example with
(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.

Don't forget to also include minimal examples of other files that are 
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.minimalbeispiel.de/mini-en.html (english)

or 

http://www.minimalbeispiel.de/mini.html (german)

##
minimal input file


##
other files

##
 List of ls-R files

-rw-r--r-- 1 root root 7020 Aug 31 11:01 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Jun 18 03:25 /usr/share/texmf/ls-R -> 
/var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Jun 26 00:39 /usr/share/texlive/texmf/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEMAIN
-rw-rw-r-- 1 root staff 1924 Aug  8 17:46 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 31 Jun 26 00:39 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Jun 26 00:39 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Jun 26 00:39 /usr/share/texlive/texmf/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEMAIN
##
 Config files
-rw-r--r-- 1 root root 475 Aug  8 10:43 /etc/texmf/web2c/texmf.cnf
-rw-r--r-- 1 root root 4048 Aug 30 22:28 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 54 Aug 31 10:09 /etc/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 3886 Aug 30 22:28 
/var/lib/texmf/tex/generic/config/language.dat
##
 Files in /etc/texmf/web2c/
total 16
-rw-r--r-- 1 root root 283 Jun 18 03:25 mktex.cnf
-rw-r--r-- 1 root root 475 Aug  8 10:43 texmf.cnf
-rw-r--r-- 1 root root  54 Aug 31 10:09 updmap.cfg
-rw-r--r-- 1 root root  55 Aug 31 10:09 updmap.cfg~
##
 md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages texlive-base depends on:
ii  debconf [debconf-2.0]  1.5.46
ii  dpkg   1.16.8
ii  install-info   4.13a.dfsg.1-10
ii  libpaper-utils 1.1.24+nmu2
ii  luatex 0.70.1.20120524-3
ii  tex-common 3.13
ii  texlive-binaries   2012.20120628-2
ii  texlive-common 2012.20120611-3
ii  texlive-doc-base   2012.20120611-1
ii  ucf3.0025+nmu3
ii  xdg-utils  1.1.0~rc1+git20111210-6

Versions of packages texlive-base recommends:
ii  lmodern  2.00