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

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



Your message dated Sun, 07 Mar 2010 11:38:55 +0000
with message-id <E1NoEox-0002Cy-Pb@ries.debian.org>
and subject line Bug#570901: fixed in texlive-base 2009-8
has caused the Debian Bug report #570901,
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.)


-- 
570901: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570901
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: texlive-base
Source-Version: 2009-8

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

texlive-base_2009-8.diff.gz
  to main/t/texlive-base/texlive-base_2009-8.diff.gz
texlive-base_2009-8.dsc
  to main/t/texlive-base/texlive-base_2009-8.dsc
texlive-base_2009-8_all.deb
  to main/t/texlive-base/texlive-base_2009-8_all.deb
texlive-common_2009-8_all.deb
  to main/t/texlive-base/texlive-common_2009-8_all.deb
texlive-fonts-recommended-doc_2009-8_all.deb
  to main/t/texlive-base/texlive-fonts-recommended-doc_2009-8_all.deb
texlive-fonts-recommended_2009-8_all.deb
  to main/t/texlive-base/texlive-fonts-recommended_2009-8_all.deb
texlive-full_2009-8_all.deb
  to main/t/texlive-base/texlive-full_2009-8_all.deb
texlive-generic-recommended_2009-8_all.deb
  to main/t/texlive-base/texlive-generic-recommended_2009-8_all.deb
texlive-latex-base-doc_2009-8_all.deb
  to main/t/texlive-base/texlive-latex-base-doc_2009-8_all.deb
texlive-latex-base_2009-8_all.deb
  to main/t/texlive-base/texlive-latex-base_2009-8_all.deb
texlive-latex-recommended-doc_2009-8_all.deb
  to main/t/texlive-base/texlive-latex-recommended-doc_2009-8_all.deb
texlive-latex-recommended_2009-8_all.deb
  to main/t/texlive-base/texlive-latex-recommended_2009-8_all.deb
texlive-luatex_2009-8_all.deb
  to main/t/texlive-base/texlive-luatex_2009-8_all.deb
texlive-metapost-doc_2009-8_all.deb
  to main/t/texlive-base/texlive-metapost-doc_2009-8_all.deb
texlive-metapost_2009-8_all.deb
  to main/t/texlive-base/texlive-metapost_2009-8_all.deb
texlive-omega_2009-8_all.deb
  to main/t/texlive-base/texlive-omega_2009-8_all.deb
texlive-pictures-doc_2009-8_all.deb
  to main/t/texlive-base/texlive-pictures-doc_2009-8_all.deb
texlive-pictures_2009-8_all.deb
  to main/t/texlive-base/texlive-pictures_2009-8_all.deb
texlive-xetex_2009-8_all.deb
  to main/t/texlive-base/texlive-xetex_2009-8_all.deb
texlive_2009-8_all.deb
  to main/t/texlive-base/texlive_2009-8_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 570901@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 texlive-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.8
Date: Sun, 07 Mar 2010 19:57:20 +0900
Source: texlive-base
Binary: texlive-base texlive-generic-recommended texlive-latex-base texlive-latex-recommended texlive-fonts-recommended texlive-pictures texlive-luatex texlive-metapost texlive-omega texlive-xetex texlive texlive-full texlive-common texlive-fonts-recommended-doc texlive-latex-base-doc texlive-latex-recommended-doc texlive-metapost-doc texlive-pictures-doc
Architecture: source all
Version: 2009-8
Distribution: unstable
Urgency: low
Maintainer: Debian TeX Maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description: 
 texlive    - TeX Live: A decent selection of the TeX Live packages
 texlive-base - TeX Live: Essential programs and files
 texlive-common - TeX Live: Base component
 texlive-fonts-recommended - TeX Live: Recommended fonts
 texlive-fonts-recommended-doc - TeX Live: Documentation files for texlive-fonts-recommended
 texlive-full - TeX Live: metapackage pulling in all components of TeX Live
 texlive-generic-recommended - TeX Live: Recommended generic packages
 texlive-latex-base - TeX Live: Basic LaTeX packages
 texlive-latex-base-doc - TeX Live: Documentation files for texlive-latex-base
 texlive-latex-recommended - TeX Live: LaTeX recommended packages
 texlive-latex-recommended-doc - TeX Live: Documentation files for texlive-latex-recommended
 texlive-luatex - TeX Live: LuaTeX packages
 texlive-metapost - TeX Live: MetaPost (and Metafont) drawing packages
 texlive-metapost-doc - TeX Live: Documentation files for texlive-metapost
 texlive-omega - TeX Live: Omega
 texlive-pictures - TeX Live: Graphics packages and programs
 texlive-pictures-doc - TeX Live: Documentation files for texlive-pictures
 texlive-xetex - TeX Live: XeTeX packages
Closes: 565646 566591 570901
Changes: 
 texlive-base (2009-8) unstable; urgency=low
 .
   * update pdftex.def to latest version to fix pdfxmltex breakage
     (Closes: #566591)
   * add texlive-base_cid-x.map_add-jis.patch from YOSHINO Yoshihito
     that adds jis maps to cid-x.map fixing the usage of jis fonts with
     ptex (Closes: #570901)
   * add patch epspdf-call-ruby-explicitely that make epspdf and epspdftk
     call the ruby implementations explicitely with ruby as interpreter
     to allow execution (Closes: #565646)
Checksums-Sha1: 
 4808996de050d7a0d0af4b9a6e1b54a6e9db4a7d 1572 texlive-base_2009-8.dsc
 30fcf7fb48b7267ead041eb36a5c356edbadafc5 679123 texlive-base_2009-8.diff.gz
 c8db3c135b8baaf29e4b8e4246652d1cb89a3275 14736414 texlive-base_2009-8_all.deb
 5ad6c5ebc0428793a1c62c77e0ee50f9ae9cb0dd 1725170 texlive-generic-recommended_2009-8_all.deb
 835a7e2eb93d69e5c880ddb4ce6e55370709ee02 1417394 texlive-latex-base_2009-8_all.deb
 029fc081c12f215879a6271dd3447dc50cbb985b 6764826 texlive-latex-recommended_2009-8_all.deb
 c8e7491dcd090775ea65a8db148d378a1bcfbddb 7251102 texlive-fonts-recommended_2009-8_all.deb
 3eb8151d2a5666da09a5f6ed29a58f6f3951caae 866904 texlive-pictures_2009-8_all.deb
 7a4442fee10e11096b2e1f698cd9d31b0648af66 986352 texlive-luatex_2009-8_all.deb
 ea0975d1e064d0b905167fbc52843c6f27a30bd0 434372 texlive-metapost_2009-8_all.deb
 cea997b38e33622056a8e1fe30cf0eb2e6748092 2263804 texlive-omega_2009-8_all.deb
 416e6b1b89d27b2856b8c53cdd5bfaca3a5a77e1 5734172 texlive-xetex_2009-8_all.deb
 942a47dcc528a7cec2761045d36d7c96d83d5c45 27586 texlive_2009-8_all.deb
 134c14cacee871fa18b942a1ad57fef9346430ae 27974 texlive-full_2009-8_all.deb
 1d0f36c60973cfc794efbb0a881b28777b55969c 98580 texlive-common_2009-8_all.deb
 1dbae0f574fc62ec0ea2e8069ab4ba2581fadc28 2411968 texlive-fonts-recommended-doc_2009-8_all.deb
 ebf6b58c491988b68cab9115e9fda1595313f370 40766060 texlive-latex-base-doc_2009-8_all.deb
 ef4f18c760c92e332da64e759e014e61ebc94918 15449518 texlive-latex-recommended-doc_2009-8_all.deb
 78814fb1179b22c23d584ae8a692bee9e8125a9b 9311300 texlive-metapost-doc_2009-8_all.deb
 799809ab1ca12b3e1d8134e8e72dc9a78e9c6576 11904874 texlive-pictures-doc_2009-8_all.deb
Checksums-Sha256: 
 746294aaa38cff74c21ba5c5416238ccd8664773321a28cb78d9aef9fc73cf9a 1572 texlive-base_2009-8.dsc
 485f5c7124a3a02077c7adbc55d20e45effbc92eba3cc6ec26c672a70ffbb77c 679123 texlive-base_2009-8.diff.gz
 c832bba0f619d9251938cd56a9a373f77cc7e6f24c02b97d242c87168de88d0a 14736414 texlive-base_2009-8_all.deb
 cbbebcd248330f881701d2c2c7d88c42f0a64a69832c147d40213881b06a62eb 1725170 texlive-generic-recommended_2009-8_all.deb
 c34cdc242b541a88bcf0ac51563999e25f467fdcca1e1f398f91cb38596f5be2 1417394 texlive-latex-base_2009-8_all.deb
 1a19dea4f1b7eeaabaa5a607213df4a196f96f870ae2e042f597399a69b95a6f 6764826 texlive-latex-recommended_2009-8_all.deb
 f7d87df7d468e79fbd0049026e56fbbe323419e21820101cc1bac6a781220890 7251102 texlive-fonts-recommended_2009-8_all.deb
 b47a938d6aa9c5062260f0620c7f4f38f33570e5dfb68ffe0c70e9bafa0aaddb 866904 texlive-pictures_2009-8_all.deb
 46a99f6eda7da1029a180a3e13500734badc00eac131015c38290d67f54a07b3 986352 texlive-luatex_2009-8_all.deb
 cfb4a301baa830dd54690658355b893b0a7c7727723e78c1e7e75d155ea34a91 434372 texlive-metapost_2009-8_all.deb
 1077acc8bb61d6c0fcc1cd026a5fb079d0b73773ba95b14feba71974d0e057fb 2263804 texlive-omega_2009-8_all.deb
 3d2e0f0ec92e1f51a69b681c29af92f94439e1f64f86b10b82d67d3a03159083 5734172 texlive-xetex_2009-8_all.deb
 ebee99e50deafad7f183f6887166b9d4d71bae796f90b8895fc280d151a35683 27586 texlive_2009-8_all.deb
 b21422ca74fc51f437a9702db64ed5fe88319bc281868890c9f4dc7ba22d2ad6 27974 texlive-full_2009-8_all.deb
 f7c135cde8144558be67fda812d115afbd70510093ca67ab2102cdf2c0987c3d 98580 texlive-common_2009-8_all.deb
 42ff86aac65e1c908095551323f210a86643e07f5411554d83527f4c27594983 2411968 texlive-fonts-recommended-doc_2009-8_all.deb
 aa5c68128bf9bb9fe0b67d3a452a7eb6348b93d8a3b6f0f723507dae1edb6a00 40766060 texlive-latex-base-doc_2009-8_all.deb
 e26fbb0f06bc4bb16ee5a741abf7a6787970573fce62e15e2f664c79780b180c 15449518 texlive-latex-recommended-doc_2009-8_all.deb
 4ebb4c9969488c70f74ab462871d0bc94853c320aadd3cfa422cea4efb14e27d 9311300 texlive-metapost-doc_2009-8_all.deb
 7295699dc0c9218497c9fe5cb659d6169666d9106c1c2640f35cd6b879f4c60d 11904874 texlive-pictures-doc_2009-8_all.deb
Files: 
 fb456d9a14e72c9394dc89f26852f9d2 1572 tex optional texlive-base_2009-8.dsc
 4eb22cc8258b3d3176dac114b20aa984 679123 tex optional texlive-base_2009-8.diff.gz
 9802f46b6178b971190ec7579f33a7ed 14736414 tex optional texlive-base_2009-8_all.deb
 3d79f4c90fd87f0c9f05723bb9cc0723 1725170 tex optional texlive-generic-recommended_2009-8_all.deb
 41ecab857fbeb629f20a5cab608bdbc0 1417394 tex optional texlive-latex-base_2009-8_all.deb
 a5bc2f08dfbdee948a944c9cf05bcaff 6764826 tex optional texlive-latex-recommended_2009-8_all.deb
 b03bf8a562c890520eae5b6216c27567 7251102 fonts optional texlive-fonts-recommended_2009-8_all.deb
 7da8a937be2fcacc82385ca6131991a8 866904 tex optional texlive-pictures_2009-8_all.deb
 e64484ca2c2390cbe395e473082ae05c 986352 tex optional texlive-luatex_2009-8_all.deb
 7e21f79bd9bc75e7afaca76246009dd0 434372 tex optional texlive-metapost_2009-8_all.deb
 7d6e6104ec2a279b359ce126cea4558a 2263804 tex optional texlive-omega_2009-8_all.deb
 56502e0c8a680d6158ebf94d94f5c094 5734172 tex optional texlive-xetex_2009-8_all.deb
 8e3e0a68ee40c14b25ffd8b0e4088c20 27586 tex optional texlive_2009-8_all.deb
 1e45aee500b3045eaa823808710dc62c 27974 tex optional texlive-full_2009-8_all.deb
 2bc08986114cff4e705a545f50fcaf5f 98580 tex optional texlive-common_2009-8_all.deb
 89fca1027c7c6f63f3ee10526d7a045d 2411968 doc optional texlive-fonts-recommended-doc_2009-8_all.deb
 fd20f2602ff61acbe11e3c45cea16560 40766060 doc optional texlive-latex-base-doc_2009-8_all.deb
 89d3a5185b61779dcac7f9fafb59f9fa 15449518 doc optional texlive-latex-recommended-doc_2009-8_all.deb
 7be7dcfdd794a576ca5eb39ae80bb201 9311300 doc optional texlive-metapost-doc_2009-8_all.deb
 761769144e19261afcfb0eaad0f288ad 11904874 doc optional texlive-pictures-doc_2009-8_all.deb

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

iD8DBQFLk4lN0r9KownFsJQRAiS5AKCJCKeK9oKxAEwhHERiV5wiHo0yjwCfR9cF
ZhoB4a+nQhbWr1uqSy7DOoA=
=wCMG
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: