Bug#177040: dvips: dvips produces invalid postscript (according to gv)
reassign 177040 dvipsk-ja
severity 177040 grave
thanks
From: "Alexa M. Robinson" <amr99r@wimsey.ecs.soton.ac.uk>
Subject: Bug#177040: dvips: dvips produces invalid postscript (according to gv)
Date: Thu, 16 Jan 2003 20:26:27 +0000
> dvips produces invalid postscript (according to gv)
>
> This bug may be related to bug #63797, but I don't think it's the same
> bug.
No, this isn' the same bug.
Quick fix is to move /etc/texmf/texmf.d/70dvipsj to
/etc/texmf/texmf.d/70dvipsj.cnf and run "update-texmf"
as far as I can guess now.
> Then dvips
> >>>>>
> bash-2.05b$ dvips latex_test.dvi
> This is dvips(k) 5.90a p1.5g Copyright 1996-2002 ASCII
> Corp.(www-ptex@ascii.co.jp) based on dvips(k) 5.90a Copyright 2002
> Radical Eye Software
> (www.radicaleye.com)
This dvips is not of tetex-bin but of dvipsk-ja.
And with my quick investigation, dvipsk-ja handled
70dvipsj.cnf in a wrong way in its postinst.
if [ ! -f /etc/texmf/texmf.d/70dvipsj ] ; then
if [ -f /etc/texmf/texmf.d/70dvipsj.bak ] ; then
mv -f /etc/texmf/texmf.d/70dvipsj.bak /etc/texmf/texmf.d/70dvipsj
^^^^^^^^
this should be
mv -f /etc/texmf/texmf.d/70dvipsj.bak /etc/texmf/texmf.d/70dvipsj.cnf
at least.
More fundamentally, in postinst, it should do only
if [ ! -f /etc/texmf/texmf.d/70dvipsj.cnf ] ; then
cat > /etc/texmf/texmf.d/70dvipsj.cnf <<'EOF'
%
% Japanized DviPS
%
TEXPSHEADERS.dvips = .;$TEXMF/{dvipsj,dvips,pdftex,tex,fonts/type1}//
TEXCONFIG.dvips = .;$TEXMF/{dvipsj,dvips}//
EOF
fi
and fiddling with old 70dvipsj* and 70DviPSJ should be done
in preinst.
Thanks, 2003-1-17(Fri)
--
Debian Developer & Debian JP Developer - much more I18N of Debian
Atsuhito Kohda <kohda@debian.org>
Department of Math., Tokushima Univ.
Reply to: