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

Bug#572921: marked as done (texlive-binaries: dvipdfmx does not produce PDF with some CJK DVI files)



Your message dated Fri, 18 Jun 2010 03:32:29 +0000
with message-id <E1OPSJh-0004RO-1L@ries.debian.org>
and subject line Bug#572921: fixed in tex-common 2.08
has caused the Debian Bug report #572921,
regarding texlive-binaries: dvipdfmx does not produce PDF with some CJK DVI  files
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
572921: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572921
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: texlive-binaries,texlive-base,tex-common
Version: 2009-5
Severity: important
Tags: patch

Hello,

dvipdfmx shipped in this package does not work with some DVI files, for
example, an attached one, with a following error

    $ dvipdfmx test.dvi
    test.dvi -> test.pdf

    ** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
    ** WARNING ** Failed to load AGL file "glyphlist.txt"...
    [1
    kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+555/600
--dpi 555 rml-jis
    mktexpk: don't know how to create bitmap font for rml-jis.
    kpathsea: Appending font creation commands to missfont.log.

    ** WARNING ** Could not locate a virtual/physical font for TFM "rml-jis".
    ** WARNING ** >> There are no valid font mapping entry for this font.
    ** WARNING ** >> Font file name "rml-jis" was assumed but failed
to locate that font.
    ** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...

    Output file removed.

where the DVI file uses a jis font "rml-jis". In Japanese pTeX environment
this is specified by /etc/texmf/dvipdfm/jis-cjk.map in ptex-jisfonts package.
In Debian's old dvipdfmx package, dvipdfmx configuration to look for the
jis-cjk.map file was done using /etc/texmf/dvipdfm/fontmapsx file, which is
generated by the packages (like ptex-jisfonts) needed to add another map file
to dvipdfmx's configuration. fontmapsx was introduced since dvipdfmx does not
have "update-dvipdfmx" or something for multiple configuration files; see
#351525, which has been closed but I think still applies to this package.
(I'm not sure other Chinese/Korean packages currently generate fontmapsx,
though.) However, Debian-specific fontmapsx support has been dropped when
dvipdfmx was integrated into TeX Live. So the errors above occur. Appending
a map file entry to /etc/texmf/dvipdfmx/dvipdfmx.cfg like

    f  jis-cjk.map

fixes this problem. If other packages generate additional fontmapsx entries,
they also need to be appended to dvipdfmx.cfg. Note that dvipdfmx users who
do not use jis fonts will get a following warning, but not an error, nothing
will be broken and a normal PDF file will be produced:

    ** WARNING ** Couldn't open font map file "jis-cjk.map".

Attached a patch to texlive-base to fix dvipdfmx.cfg.


In addition, /etc/texmf/texmf.d/80DVIPDFMx.cnf which was shipped in the old
dvipdfmx package has also been dropped. This file adds a directory
/usr/share/fonts/cmap for dvipdfmx to look for cmap files which are installed
by Debian's cmap-adobe-* packages. So even if cmap-adobe-* packages are
installed (and the previously mentioned problem addressed) some DVI files
using CJK characters will get, for example, a following error:

    $ dvipdfmx test.dvi
    test.dvi -> test.pdf

    ** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
    ** WARNING ** Failed to load AGL file "glyphlist.txt"...
    [1
    ** ERROR ** Could not find encoding file "H".

    Output file removed.

Restoring the 80DVIPDFMx.cnf and call update-texmf will fix this problem.
Attached a patch to tex-common to fix 80DVIPDFMx.cnf.

Regards,

-- 
YOSHINO Yoshihito <yy.y.ja.jp@gmail.com>

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'),
(1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages texlive-binaries depends on:
ii  libc6                   2.10.2-6         Embedded GNU C Library: Shared lib
ii  libfontconfig1          2.8.0-2          generic font configuration library
ii  libfreetype6            2.3.11-1         FreeType 2 font engine, shared lib
ii  libgcc1                 1:4.4.3-2        GCC support library
ii  libkpathsea5            2009-5           TeX Live: path search library for
ii  libncurses5             5.7+20090803-2   shared libraries for terminal hand
ii  libpng12-0              1.2.42-2         PNG library - runtime
ii  libpoppler5             0.12.2-2.1       PDF rendering library
ii  libstdc++6              4.4.3-2          The GNU Standard C++ Library v3
ii  libx11-6                2:1.3.3-1        X11 client-side library
ii  libxaw7                 2:1.0.7-1        X11 Athena Widget library
ii  libxmu6                 2:1.0.5-1        X11 miscellaneous utility library
ii  libxpm4                 1:3.5.8-1        X11 pixmap library
ii  libxt6                  1:1.0.7-1        X11 toolkit intrinsics library
ii  tex-common              2.06             common infrastructure for building
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

texlive-binaries recommends no packages.

texlive-binaries suggests no packages.

-- no debconf information

Attachment: test.dvi
Description: TeX dvi file

diff -urN texlive-base-2009/debian/patches/dvipdfmx-add-jis-cjk texlive-base-2009.new/debian/patches/dvipdfmx-add-jis-cjk
--- texlive-base-2009/debian/patches/dvipdfmx-add-jis-cjk	1970-01-01 09:00:00.000000000 +0900
+++ texlive-base-2009.new/debian/patches/dvipdfmx-add-jis-cjk	2010-02-22 12:19:10.000000000 +0900
@@ -0,0 +1,8 @@
+--- texlive-base-2009.orig/texmf/dvipdfmx/dvipdfmx.cfg	2009-09-06 02:11:24.000000000 +0900
++++ texlive-base-2009/texmf/dvipdfmx/dvipdfmx.cfg	2010-02-22 12:16:54.000000000 +0900
+@@ -190,3 +190,5 @@
+ 
+ %% Put additonal fontmap files here (usually for Type0 fonts)
+ f  cid-x.map
++
++f  jis-cjk.map
diff -urN texlive-base-2009/debian/patches/series texlive-base-2009.new/debian/patches/series
--- texlive-base-2009/debian/patches/series	2010-02-22 12:23:11.000000000 +0900
+++ texlive-base-2009.new/debian/patches/series	2010-02-22 12:20:41.000000000 +0900
@@ -9,6 +9,7 @@
 fix-info-dir-sections
 fix-pgf2pdf-script
 dvipdfm-config-no-rungs
+dvipdfmx-add-jis-cjk
 fix-xyframe.tex.patch
 texdoc-update
 texdoc-viewer-use-see
diff -urN tex-common-2.06/conf/texmf.d/80DVIPDFMx.cnf tex-common-2.06.new/conf/texmf.d/80DVIPDFMx.cnf
--- tex-common-2.06/conf/texmf.d/80DVIPDFMx.cnf	1970-01-01 09:00:00.000000000 +0900
+++ tex-common-2.06.new/conf/texmf.d/80DVIPDFMx.cnf	2010-02-22 04:36:32.000000000 +0900
@@ -0,0 +1,3 @@
+% dvipdfmx
+CMAPINPUTS = .;/usr/share/fonts/cmap//
+
diff -urN tex-common-2.06/debian/common.variables tex-common-2.06.new/debian/common.variables
--- tex-common-2.06/debian/common.variables	2009-05-10 22:38:40.000000000 +0900
+++ tex-common-2.06.new/debian/common.variables	2010-02-22 12:54:36.000000000 +0900
@@ -26,7 +26,7 @@
 EOL
 $TEXMF_CNF="/etc/texmf/texmf.cnf";
 @TEXMF_PARTS=qw(05TeXMF 15Plain 45TeXinputs 55Fonts 65BibTeX 75DviPS
-		85Misc 90TeXDoc 95NonPath);
+		80DVIPDFMx 85Misc 90TeXDoc 95NonPath);
 @TEXMF_PARTS_FULLNAME = map { "texmf.d/$_.cnf"; } @TEXMF_PARTS;
 $TEX_COMMON_UCF_FILES="@TEXMF_PARTS_FULLNAME updmap.d/00updmap.cfg";
 #$confstatedir="/var/lib/tetex";
diff -urN tex-common-2.06/debian/md5sums/80DVIPDFMx.cnf.md5sum tex-common-2.06.new/debian/md5sums/80DVIPDFMx.cnf.md5sum
--- tex-common-2.06/debian/md5sums/80DVIPDFMx.cnf.md5sum	1970-01-01 09:00:00.000000000 +0900
+++ tex-common-2.06.new/debian/md5sums/80DVIPDFMx.cnf.md5sum	2010-02-22 04:59:01.000000000 +0900
@@ -0,0 +1 @@
+7ae52efac46feb97010986e57877d12e  1:20050831-0.1

--- End Message ---
--- Begin Message ---
Source: tex-common
Source-Version: 2.08

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

tex-common_2.08.dsc
  to main/t/tex-common/tex-common_2.08.dsc
tex-common_2.08.tar.gz
  to main/t/tex-common/tex-common_2.08.tar.gz
tex-common_2.08_all.deb
  to main/t/tex-common/tex-common_2.08_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 572921@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated tex-common 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.8
Date: Wed, 09 Jun 2010 01:32:21 +0900
Source: tex-common
Binary: tex-common
Architecture: source all
Version: 2.08
Distribution: unstable
Urgency: low
Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description: 
 tex-common - common infrastructure for building and installing TeX
Closes: 536343 572921
Changes: 
 tex-common (2.08) unstable; urgency=low
 .
   * include again 80DVIPDFMx.cnf and replace dvipdfmx (if it is still there)
     to make it search for cmaps (Closes: #572921)
     (patch by YOSHINO Yoshihito)
   * put TeX-on-Debian into doc-base section Typesetting (Closes: #536343)
Checksums-Sha1: 
 9b6214976af641f58ca91d3b44fb6b65ebe16ccc 1130 tex-common_2.08.dsc
 92e03393811fa72c28a651ceaa4312ed2e0c2ebf 807597 tex-common_2.08.tar.gz
 97a2ea5a7f6773d4b1e173b6ac06a55c504f3353 724350 tex-common_2.08_all.deb
Checksums-Sha256: 
 e8980e6be90142b7b3d8fc573401e863ff67a17afe58ab34f88f5161971b8a74 1130 tex-common_2.08.dsc
 327793d491fcdcb431c150bfc9d5a8f3d0aea2f19b38b6240fd4e54fe910dd24 807597 tex-common_2.08.tar.gz
 3bef07e9fdd52739bafb76f5fcb05b3b1db1aa5bafebbfb0b4d7c5ad5c3c4029 724350 tex-common_2.08_all.deb
Files: 
 3b74b16b9f0fb0aeb745d32f837e91f9 1130 tex optional tex-common_2.08.dsc
 503ff1adf7122201ea2963618c951acd 807597 tex optional tex-common_2.08.tar.gz
 c4dd41526c45e9d12e14f611074557b3 724350 tex optional tex-common_2.08_all.deb

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

iD8DBQFMDnNM0r9KownFsJQRAvLHAKCSJuCVhSR74VKj0H0VtbC/uWJc/ACcCQEq
JaGFCarHcIg0WClCCVo1z34=
=dcrW
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: