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

Bug#335717: latex-beamer: generate error toc for SOME chinese character



Package: latex-beamer
Version: 3.01-1
Severity: normal

`耳' is changed to `\kern 1ex' in toc file, some other chinese characters
(for example `中' do not have this bug.). use article instead of beamer
do not have this bug.

The following is coding in UTF8, test1 is a right example, test2 is an
example with bug. log file in attachment.

$ cat test2.tex
\documentclass[CJK]{beamer}
\usepackage{CJK}
\begin{document}
\begin{CJK*}{UTF8}{song}
  \section{耳}
  \begin{frame}
  \end{frame}
\end{CJK*}
\end{document}
$ pdflatex test2.tex > bug.log 2>&1
$ cat test2.toc
\beamer@endinputifotherversion {3.01pt}
\beamer@sectionintoc {1}{\kern 1ex}{1}{0}{1}

$ cat test1.tex
\documentclass[CJK]{beamer}
\usepackage{CJK}
\begin{document}
\begin{CJK*}{UTF8}{song}
  \section{中}
  \begin{frame}
  \end{frame}
\end{CJK*}
\end{document}
$ pdflatex test1.tex > right.log 2>&1
$ cat test1.toc
\beamer@endinputifotherversion {3.01pt}
\beamer@sectionintoc {1}{中}{1}{0}{1}



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)

Versions of packages latex-beamer depends on:
ii  latex-xcolor                  2.00-1     Easy driver-independent TeX class 
ii  pgf                           0.65-1     TeX Portable Graphic Format
hi  tetex-extra                   3.0-9      Additional library files of teTeX

latex-beamer recommends no packages.

-- no debconf information
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./test2.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/beamer/base/beamer.cls
(/usr/share/texmf/tex/latex/beamer/base/beamerbasercs.sty)
Document Class: beamer 2004/10/11 cvs version 3.01 A class for typesetting pres
entations (rcs-revision 1.55)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasemodes.sty
(/usr/share/texmf/tex/latex/beamer/base/beamerbasedecode.sty))
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseoptions.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty))
(/usr/share/texmf/tex/latex/pgf/pgf.sty
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/graphics/graphics.cfg)
(/usr/share/texmf/tex/latex/graphics/pdftex.def)))
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty
(/usr/share/texmf/tex/latex/graphics/color.cfg)))
(/usr/share/texmf/tex/latex/pgf/xxcolor.sty)
(/usr/share/texmf/tex/latex/amsfonts/amssymb.sty
(/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texmf/tex/latex/geometry/geometry.sty
(/usr/share/texmf/tex/latex/geometry/geometry.cfg))
(/usr/share/texmf/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf/tex/latex/hyperref/hyperref.cfg)
Implicit mode OFF; no redefinition of LaTeX internals
(/usr/share/texmf/tex/latex/url/url.sty)
Hyperref stopped early
)
*hyperref using default driver hpdftex*
(/usr/share/texmf/tex/latex/hyperref/hpdftex.def
(/usr/share/texmf/tex/latex/psnfss/pifont.sty
(/usr/share/texmf/tex/latex/psnfss/upzd.fd)
(/usr/share/texmf/tex/latex/psnfss/upsy.fd)))
(/usr/share/texmf/tex/latex/base/size11.clo)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasecompatibility.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasefont.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasemisc.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseoverlay.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetitle.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasesection.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseframe.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseverbatim.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseframesize.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseframecomponents.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasecolor.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasenotes.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetoc.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetemplates.sty
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseauxtemplates.sty
(/usr/share/texmf/tex/latex/pgf/pgfshade.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseboxes.sty)))
(/usr/share/texmf/tex/latex/beamer/base/beamerbaselocalstructure.sty
(/usr/share/texmf/tex/latex/tools/enumerate.sty))
(/usr/share/texmf/tex/latex/beamer/base/beamerbasenavigation.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetheorems.sty
(/usr/share/texmf/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texmf/tex/latex/amsmath/amstext.sty
(/usr/share/texmf/tex/latex/amsmath/amsgen.sty))
(/usr/share/texmf/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texmf/tex/latex/amsmath/amsopn.sty))
(/usr/share/texmf/tex/latex/amscls/amsthm.sty))
(/usr/share/texmf/tex/latex/beamer/base/beamerbasethemes.sty)
(/usr/share/texmf/tex/latex/beamer/themes/theme/beamerthemedefault.sty
(/usr/share/texmf/tex/latex/beamer/themes/font/beamerfontthemedefault.sty)
(/usr/share/texmf/tex/latex/beamer/themes/color/beamercolorthemedefault.sty)
(/usr/share/texmf/tex/latex/beamer/themes/inner/beamerinnerthemedefault.sty)
(/usr/share/texmf/tex/latex/beamer/themes/outer/beamerouterthemedefault.sty)))
(/usr/share/texmf/tex/latex/CJK/CJK.sty
(/usr/share/texmf/tex/latex/CJK/mule/MULEenc.sty)
(/usr/share/texmf/tex/latex/CJK/CJK.enc)) (./test2.aux)
(/usr/share/texmf/tex/context/base/supp-pdf.tex
(/usr/share/texmf/tex/context/base/supp-mis.tex
loading : Context Support Macros / Miscellaneous (2004.10.26)
)
loading : Context Support Macros / PDF (2004.03.26)
) (/usr/share/texmf/tex/latex/hyperref/nameref.sty) (./test2.out) (./test2.out)
(./test2.nav) (/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.bdg)
(/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.enc)
(/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.chr)

LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available
(Font)              size <5> substituted on input line 7.

[1] (./test2.aux)

LaTeX Font Warning: Size substitutions with differences
(Font)              up to 1.0pt have occurred.

 )
Output written on test2.pdf (1 page, 6372 bytes).
Transcript written on test2.log.
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./test1.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/beamer/base/beamer.cls
(/usr/share/texmf/tex/latex/beamer/base/beamerbasercs.sty)
Document Class: beamer 2004/10/11 cvs version 3.01 A class for typesetting pres
entations (rcs-revision 1.55)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasemodes.sty
(/usr/share/texmf/tex/latex/beamer/base/beamerbasedecode.sty))
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseoptions.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty))
(/usr/share/texmf/tex/latex/pgf/pgf.sty
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/graphics/graphics.cfg)
(/usr/share/texmf/tex/latex/graphics/pdftex.def)))
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty
(/usr/share/texmf/tex/latex/graphics/color.cfg)))
(/usr/share/texmf/tex/latex/pgf/xxcolor.sty)
(/usr/share/texmf/tex/latex/amsfonts/amssymb.sty
(/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texmf/tex/latex/geometry/geometry.sty
(/usr/share/texmf/tex/latex/geometry/geometry.cfg))
(/usr/share/texmf/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf/tex/latex/hyperref/hyperref.cfg)
Implicit mode OFF; no redefinition of LaTeX internals
(/usr/share/texmf/tex/latex/url/url.sty)
Hyperref stopped early
)
*hyperref using default driver hpdftex*
(/usr/share/texmf/tex/latex/hyperref/hpdftex.def
(/usr/share/texmf/tex/latex/psnfss/pifont.sty
(/usr/share/texmf/tex/latex/psnfss/upzd.fd)
(/usr/share/texmf/tex/latex/psnfss/upsy.fd)))
(/usr/share/texmf/tex/latex/base/size11.clo)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasecompatibility.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasefont.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasemisc.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseoverlay.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetitle.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasesection.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseframe.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseverbatim.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseframesize.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseframecomponents.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasecolor.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasenotes.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetoc.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetemplates.sty
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseauxtemplates.sty
(/usr/share/texmf/tex/latex/pgf/pgfshade.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseboxes.sty)))
(/usr/share/texmf/tex/latex/beamer/base/beamerbaselocalstructure.sty
(/usr/share/texmf/tex/latex/tools/enumerate.sty))
(/usr/share/texmf/tex/latex/beamer/base/beamerbasenavigation.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetheorems.sty
(/usr/share/texmf/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texmf/tex/latex/amsmath/amstext.sty
(/usr/share/texmf/tex/latex/amsmath/amsgen.sty))
(/usr/share/texmf/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texmf/tex/latex/amsmath/amsopn.sty))
(/usr/share/texmf/tex/latex/amscls/amsthm.sty))
(/usr/share/texmf/tex/latex/beamer/base/beamerbasethemes.sty)
(/usr/share/texmf/tex/latex/beamer/themes/theme/beamerthemedefault.sty
(/usr/share/texmf/tex/latex/beamer/themes/font/beamerfontthemedefault.sty)
(/usr/share/texmf/tex/latex/beamer/themes/color/beamercolorthemedefault.sty)
(/usr/share/texmf/tex/latex/beamer/themes/inner/beamerinnerthemedefault.sty)
(/usr/share/texmf/tex/latex/beamer/themes/outer/beamerouterthemedefault.sty)))
(/usr/share/texmf/tex/latex/CJK/CJK.sty
(/usr/share/texmf/tex/latex/CJK/mule/MULEenc.sty)
(/usr/share/texmf/tex/latex/CJK/CJK.enc)) (./test1.aux)
(/usr/share/texmf/tex/context/base/supp-pdf.tex
(/usr/share/texmf/tex/context/base/supp-mis.tex
loading : Context Support Macros / Miscellaneous (2004.10.26)
)
loading : Context Support Macros / PDF (2004.03.26)
) (/usr/share/texmf/tex/latex/hyperref/nameref.sty) (./test1.out) (./test1.out)
(./test1.nav) (/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.bdg)
(/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.enc)
(/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.chr)

LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available
(Font)              size <5> substituted on input line 7.

[1] (./test1.aux)

LaTeX Font Warning: Size substitutions with differences
(Font)              up to 1.0pt have occurred.

 )
Output written on test1.pdf (1 page, 6372 bytes).
Transcript written on test1.log.

Reply to: