Package: dvipdfmx Version: 1:20080607-1 Severity: normal Hi,
I make Japanese presentation file using latex-beamer package. I use platex + dvipdfmx for creating pdf. In order to fix 'mojibake' issue inside PDF bookmark, I tend to use \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}} flag at the beginning of TeX file. This trick worked fine on etch machine but fails on lenny machine. You can reproduce this problem using attached TeX file. (You should use platex command in ptex-bin package) (Example program uses beamer documentclass from latex-beamer package) $ platex test.tex $ platex test.tex $ dvipdfmx test.dvi test.dvi -> test.pdf [1 ** WARNING ** Failed to load ToUnicode mapping: EUC-UCS2 ** WARNING ** Interpreting special command tounicode (pdf:) failed. ** WARNING ** >> at page="1" position="(72, 200.126)" (in PDF) ** WARNING ** >> xxx "pdf:tounicode EUC-UCS2" ] 5487 bytes written (Note that PDF is made but cannot read the sentence inside PDF bookmark) This is therefore a regression from etch. Is there a workaround for this? -- System Information: Debian Release: lenny/sid APT prefers testing-proposed-updates APT policy: (500, 'testing-proposed-updates'), (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/8 CPU cores) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dvipdfmx depends on: ii debconf [debconf-2.0] 1.5.23 Debian configuration management sy ii libc6 2.7-13 GNU C Library: Shared libraries ii libkpathsea4 2007.dfsg.2-3 TeX Live: path search library for ii libpaper1 1.1.23+nmu1 library for handling paper charact ii libpng12-0 1.2.27-1 PNG library - runtime ii texlive-base-bin 2007.dfsg.2-3 TeX Live: Essential binaries ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime dvipdfmx recommends no packages. dvipdfmx suggests no packages. -- no debconf information
\documentclass[dvipdfm]{beamer} \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}} \begin{document} \section{¤¢} \subsection{¤¤} \begin{frame} \frametitle{¤¦} ¤¨ \end{frame} \end{document} %%% Local Variables: %%% mode: japanese-latex %%% coding: euc-jp %%% TeX-master: t %%% End: