[XeTeX] Many warnings when compile beamer presentation using XeLaTex

Steven Woody narkewoody at gmail.com
Tue Apr 8 07:19:56 CEST 2008


On Tue, Apr 8, 2008 at 4:10 AM, Bruno Voisin <bvoisin at mac.com> wrote:
> Le 7 avr. 08 à 19:04, Bruno Voisin a écrit :
>
>
>
> > The problem is these font declarations:
> >
> > \setromanfont[Mapping=tex-text,BoldFont=Adobe Heiti Std]{Adobe Song Std}
> > \setsansfont[Mapping=tex-text,BoldFont=Adobe Heiti Std]{AR PL ZenKai Uni}
> >
>
>  OK, I did an attempt replacing these font declarations by similar fonts
> from OS X:
>
>  \setromanfont[Mapping=tex-text,BoldFont=STHeiti]{STSong}
>  \setsansfont[Mapping=tex-text,BoldFont=STHeiti]{STKaiti}
>
>  It works: your document (copied from your first message in this thread)
> compiles successfully. The log contains a warning
>
>  Package hyperref Warning: Token not allowed in a PDFDocEncoded string,
>  (hyperref)                removing `\\' on input line 40.
>
>  but that doesn't seem to affect the output.
>
>  That said, I know nothing about Chinese, so my guesses about font
> replacement may make no sense at all.
>
>  My XeTeX install:
>
>  - texlive-2007-dev.dmg from early December 2007, as available for MacTeX at
> http://www.tug.org/mactex/morepackages.html (the main difference between
> this dev TeXLive and release TeXLive is, I think, an updated beamer).
>
>  - xetex compiled locally from source
> http://scripts.sil.org/svn-view/xetex/TRUNK.tar.gz
>
>  Below are the corresponding package versions, as returned by inserting
> \listfiles in the preamble of your document, together with PDF output
> (fingers crossed hoping the attachment won't be too big for this list).
>
>  Hope this helps,
>
>  Bruno
>
>
>  *File List*
>   beamer.cls    2007/03/11 cvs version 3.07 A class for typesetting
> presentatio
>  ns (rcs-revision 1.70)
>  beamerbasercs.sty    2007/01/28 (rcs-revision 1.4)
>  beamerbasemodes.sty    2007/01/28 (rcs-revision 1.22)
>  beamerbasedecode.sty    2007/01/28 (rcs-revision 1.20)
>  beamerbaseoptions.sty    2007/01/28 (rcs-revision 1.8)
>   keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
>   pgfcore.sty    2007/03/09 v1.18 (rcs-revision 1.5)
>  graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
>  graphics.sty    2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
>     trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
>  graphics.cfg    2005/10/12 v1.3b graphics configuration of teTeX/TeXLive,
> exten
>  ded for XeTeX
>    xetex.def    2006/08/10 v0.92 LaTeX color/graphics driver for XeTeX (RRM,
> mo
>  d. JK)
>   pgfsys.sty    2007/06/07 v1.18 (rcs-revision 1.24)
>   pgfrcs.sty    2007/06/08 v1.18 (rcs-revision 1.16)
>   pgfrcs.code.tex
>   pgfsys.code.tex
>  pgfsyssoftpath.code.tex    2007/02/19  (rcs-revision 1.5)
>  pgfsysprotocol.code.tex    2006/10/16  (rcs-revision 1.4)
>   xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
>    color.cfg    2005/10/12 v1.3b color configuration of teTeX/TeXLive,
> extended
>   for XeTeX
>   pgfcore.code.tex
>  pgfbaseimage.sty    2007/05/31 v1.18 (rcs-revision 1.7)
>  pgfbaseimage.code.tex
>   xxcolor.sty    2003/10/24 ver 0.1
>   amssymb.sty    2002/01/22 v2.2d
>  amsfonts.sty    2001/10/25 v2.2f
>  geometry.sty    2002/07/08 v3.2 Page Geometry
>  geometry.cfg
>  hyperref.sty    2007/05/29 v6.76g Hypertext links for LaTeX
>   hycolor.sty    2007/04/11 v1.1 Code for color options of hyperref/bookmark
> (HO
>  )
>   pd1enc.def    2007/05/29 v6.76g Hyperref: PDFDocEncoding definition (HO)
>  etexcmds.sty    2007/05/06 v1.0 Providing prefix for e-TeX command names
> (HO)
>  infwarerr.sty    2007/06/14 v1.1 Providing info/warning/message (HO)
>  hyperref.cfg    2006/06/07 v1.2b hyperref configuration of XeTeX
>  kvoptions.sty    2007/06/11 v2.7 Connects package keyval with LaTeX options
> (HO
>  )
>      url.sty    2006/04/12  ver 3.3  Verb mode for urls, etc.
>  hdvipdfm.def    2007/05/29 v6.76g Hyperref driver for dvipdfm
>   size11.clo    2005/09/16 v1.4f Standard LaTeX file (size option)
>  beamerbasecompatibility.sty    2007/01/28  (rcs-revision 1.63)
>  beamerbasefont.sty    2007/01/28  (rcs-revision 1.16)
>  beamerbasemisc.sty    2007/01/28  (rcs-revision 1.24)
>  beamerbasetwoscreens.sty    2007/01/28  (rcs-revision 1.7)
>  beamerbaseoverlay.sty    2007/01/28  (rcs-revision 1.50)
>  beamerbasetitle.sty    2007/01/28  (rcs-revision 1.25)
>  beamerbasesection.sty    2007/01/28  (rcs-revision 1.21)
>  beamerbaseframe.sty    2007/01/28  (rcs-revision 1.60)
>  beamerbaseverbatim.sty    2007/01/28  (rcs-revision 1.8)
>  beamerbaseframesize.sty    2007/01/28  (rcs-revision 1.18)
>  beamerbaseframecomponents.sty    2007/01/28  (rcs-revision 1.41)
>  beamerbasecolor.sty    2007/01/28  (rcs-revision 1.42)
>  beamerbasenotes.sty    2007/01/28  (rcs-revision 1.23)
>  beamerbasetoc.sty    2007/01/28  (rcs-revision 1.21)
>  beamerbasetemplates.sty    2007/01/28  (rcs-revision 1.51)
>  beamerbaseauxtemplates.sty    2007/01/28  (rcs-revision 1.28)
>  beamerbaseboxes.sty    2007/03/11  (rcs-revision 1.32)
>  beamerbaselocalstructure.sty    2007/01/28  (rcs-revision 1.53)
>  enumerate.sty    1999/03/05 v3.00 enumerate extensions (DPC)
>  beamerbasenavigation.sty    2007/01/28  (rcs-revision 1.36)
>  beamerbasetheorems.sty    2007/01/28  (rcs-revision 1.10)
>   amsmath.sty    2000/07/18 v2.13 AMS math features
>   amstext.sty    2000/06/29 v2.01
>   amsgen.sty    1999/11/30 v2.0
>   amsbsy.sty    1999/11/29 v1.2d
>   amsopn.sty    1999/12/14 v2.01 operator names
>   amsthm.sty    2004/08/06 v2.20
>  beamerbasethemes.sty    2007/01/28  (rcs-revision 1.10)
>  beamerthemedefault.sty    2007/01/28  (rcs-revision 1.7)
>  beamerfontthemedefault.sty    2007/01/28  (rcs-revision 1.13)
>  beamercolorthemedefault.sty    2007/01/28  (rcs-revision 1.28)
>  beamerinnerthemedefault.sty    2007/01/28  (rcs-revision 1.20)
>  beamerouterthemedefault.sty    2007/01/28  (rcs-revision 1.14)
>  beamerthemeFrankfurt.sty    2007/01/28  (rcs-revision 1.9)
>  beamerouterthemesmoothbars.sty    2007/01/28  (rcs-revision 1.6)
>  beamerinnerthemerounded.sty    2007/01/28  (rcs-revision 1.5)
>  beamercolorthemeorchid.sty    2007/01/28  (rcs-revision 1.3)
>  beamercolorthemewhale.sty    2007/01/28  (rcs-revision 1.4)
>  beamercolorthemeseahorse.sty    2007/01/28  (rcs-revision 1.4)
>  beamercolorthemerose.sty    2007/01/28  (rcs-revision 1.3)
>  beamerfontthemestructuresmallcapsserif.sty    2007/01/28  (rcs-revision
> 1.3)
>  beamerfontthemestructurebold.sty    2007/01/28  (rcs-revision 1.3)
>      pgf.sty    2007/01/01 v1.18 (rcs-revision 1.8)
>  pgfbaseshapes.sty    2007/06/07 v1.18 (rcs-revision 1.19)
>  pgfbaseshapes.code.tex
>  pgfbaseplot.sty    2007/05/02 v1.18 (rcs-revision 1.7)
>  pgfbaseplot.code.tex
>  pgfbaselayers.sty    2006/10/16 v1.18 (rcs-revision 1.5)
>  pgfbaselayers.code.tex
>  pgfbasesnakes.sty    2007/03/09 v1.18 (rcs-revision 1.11)
>  pgfbasesnakes.code.tex
>  pgfbasepatterns.sty    2007/02/05 v1.18 (rcs-revision 1.10)
>  pgfbasepatterns.code.tex
>  pgfbasematrix.sty    2007/03/09 v1.18 (rcs-revision 1.11)
>  pgfbasematrix.code.tex
>  pgfcomp-version-0-65.sty    2006/10/11 v1.18 (rcs-revision 1.4)
>  pgfarrows.sty    2006/10/11 v1.18 (rcs-revision 1.3)
>  pgfnodes.sty    2006/10/11 v1.18 (rcs-revision 1.3)
>  pgfautomata.sty    2006/10/11 v1.18 (rcs-revision 1.3)
>  pgfheaps.sty    2006/10/11 v1.18 (rcs-revision 1.3)
>  pgfshade.sty    2006/10/11 v1.18 (rcs-revision 1.3)
>  colortbl.sty    2001/02/13 v0.1j Color table columns (DPC)
>    array.sty    2005/08/23 v2.4b Tabular extension package (FMi)
>    babel.sty    2005/11/23 v3.8h The Babel package
>   english.ldf    2005/03/30 v3.3o English support from the babel system
>    times.sty    2005/04/12 PSNFSS-v9.2a (SPQR)
>  fontspec.sty    2007/09/01 v1.16 Advanced font selection for XeLaTeX
>   ifxetex.sty    2006/08/12 v0.2 Provides ifxetex conditional
>     calc.sty    2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
>   xkeyval.sty    2006/11/18 v2.5f package option processing (HA)
>   xkeyval.tex    2006/11/18 v2.5f key=value parser (HA)
>   fontenc.sty
>   eu1enc.def    2006/08/13 v0.1a Experimental unicode font encoding
>   eu1lmr.fd    2007/01/14 v1.3 Font defs for Latin Modern
>  fontspec.cfg
>  xunicode.sty    2008/02/08 v0.91 provides access to latin accents and many
> othe
>  r characters in Unicode lower plane
>   xltxtra.sty    2007/09/01 v0.3b Improvements for the "XeLaTeX" format
>     etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
>  fixltx2e.sty    2006/03/24 v1.1n fixes to LaTeX
>   eu1lmss.fd    2007/01/14 v1.3 Font defs for Latin Modern
>   nameref.sty    2007/05/29 v2.31 Cross-referencing by name of section
>  refcount.sty    2006/02/20 v3.0 Data extraction from references (HO)
>     test.out
>     test.out
>   eu1lmtt.fd    2007/01/14 v1.3 Font defs for Latin Modern
>     umsa.fd    2002/01/19 v2.2g AMS font definitions
>     umsb.fd    2002/01/19 v2.2g AMS font definitions
>     test.vrb
>     test.vrb
>     test.vrb
>     test.vrb
>  beamericonarticle.pdf    Graphic file (type QTm)
>  beamericonarticle.pdf    Graphic file (type QTm)
>   ***********
>
>

Thank you. I also replaced with other Chinese fonts, the warnings were
still there.  I am using TeXLive2007, and beamer package is come with
it.  Below are my file lists:

 *File List*
  beamer.cls    2005/10/23 cvs version 3.06 A class for typesetting presentatio
ns (rcs-revision 1.67)
beamerbasercs.sty    2004/10/07 (rcs-revision 1.3)
beamerbasemodes.sty    2004/12/09 (rcs-revision 1.21)
beamerbasedecode.sty    2005/05/09 (rcs-revision 1.18)
beamerbaseoptions.sty    2004/11/15 (rcs-revision 1.7)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
 pgfcore.sty    2008/01/15 v2.00 (rcs-revision 1.6)
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty    2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
   xetex.def    2006/08/10 v0.92 LaTeX color/graphics driver for XeTeX (RRM, mo
d. JK)
  pgfsys.sty    2008/02/07 v2.00 (rcs-revision 1.31)
  pgfrcs.sty    2008/02/20 v2.00 (rcs-revision 1.21)
  pgfrcs.code.tex
  pgfsys.code.tex
pgfsyssoftpath.code.tex    2008/01/23  (rcs-revision 1.6)
pgfsysprotocol.code.tex    2006/10/16  (rcs-revision 1.4)
  xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
 pgfcore.code.tex
pgfbaseimage.sty
 xxcolor.sty    2003/10/24 ver 0.1
 amssymb.sty    2002/01/22 v2.2d
amsfonts.sty    2001/10/25 v2.2f
geometry.sty    2002/07/08 v3.2 Page Geometry
geometry.cfg
hyperref.sty    2007/02/07 v6.75r Hypertext links for LaTeX
  pd1enc.def    2007/02/07 v6.75r Hyperref: PDFDocEncoding definition (HO)
hyperref.cfg    2002/06/06 v1.2 hyperref configuration of TeXLive
kvoptions.sty    2006/08/22 v2.4 Connects package keyval with LaTeX options (HO
)
     url.sty    2004/03/15  ver 3.1  Verb mode for urls, etc.
hdvipdfm.def    2007/02/07 v6.75r Hyperref driver for dvipdfm
  size11.clo    2005/09/16 v1.4f Standard LaTeX file (size option)
beamerbasecompatibility.sty    2005/01/25  (rcs-revision 1.60)
beamerbasefont.sty    2005/05/17  (rcs-revision 1.15)
beamerbasemisc.sty    2005/05/17  (rcs-revision 1.23)
beamerbasetwoscreens.sty    2005/10/14  (rcs-revision 1.6)
beamerbaseoverlay.sty    2005/05/18  (rcs-revision 1.49)
beamerbasetitle.sty    2005/10/23  (rcs-revision 1.23)
beamerbasesection.sty    2005/04/20  (rcs-revision 1.18)
beamerbaseframe.sty    2005/06/02  (rcs-revision 1.58)
beamerbaseverbatim.sty    2005/04/12  (rcs-revision 1.6)
beamerbaseframesize.sty    2005/06/09  (rcs-revision 1.17)
beamerbaseframecomponents.sty    2004/11/08  (rcs-revision 1.40)
beamerbasecolor.sty    2005/01/25  (rcs-revision 1.41)
beamerbasenotes.sty    2005/10/14  (rcs-revision 1.22)
beamerbasetoc.sty    2004/12/09  (rcs-revision 1.20)
beamerbasetemplates.sty    2004/10/07  (rcs-revision 1.50)
beamerbaseauxtemplates.sty    2005/06/09  (rcs-revision 1.27)
beamerbaseboxes.sty    2005/06/09  (rcs-revision 1.28)
beamerbaselocalstructure.sty    2005/04/20  (rcs-revision 1.51)
enumerate.sty    1999/03/05 v3.00 enumerate extensions (DPC)
beamerbasenavigation.sty    2005/06/01  (rcs-revision 1.34)
beamerbasetheorems.sty    2005/04/04  (rcs-revision 1.7)
 amsmath.sty    2000/07/18 v2.13 AMS math features
 amstext.sty    2000/06/29 v2.01
  amsgen.sty    1999/11/30 v2.0
  amsbsy.sty    1999/11/29 v1.2d
  amsopn.sty    1999/12/14 v2.01 operator names
  amsthm.sty    2004/08/06 v2.20
beamerbasethemes.sty    2004/10/07  (rcs-revision 1.9)
beamerthemedefault.sty    2004/10/07  (rcs-revision 1.6)
beamerfontthemedefault.sty    2005/03/15  (rcs-revision 1.12)
beamercolorthemedefault.sty    2005/03/15  (rcs-revision 1.27)
beamerinnerthemedefault.sty    2005/06/17  (rcs-revision 1.19)
beamerouterthemedefault.sty    2005/06/09  (rcs-revision 1.13)
beamerthemeFrankfurt.sty    2004/10/07  (rcs-revision 1.8)
beamerouterthemesmoothbars.sty    2004/10/14  (rcs-revision 1.5)
beamerinnerthemerounded.sty    2004/10/07  (rcs-revision 1.4)
beamercolorthemeorchid.sty    2004/10/07  (rcs-revision 1.2)
beamercolorthemewhale.sty    2004/10/07  (rcs-revision 1.3)
beamercolorthemeseahorse.sty    2004/10/07  (rcs-revision 1.3)
beamercolorthemerose.sty    2004/10/07  (rcs-revision 1.2)
beamerfontthemestructuresmallcapsserif.sty    2004/10/07  (rcs-revision 1.2)
beamerfontthemestructurebold.sty    2004/10/07  (rcs-revision 1.2)
     pgf.sty    2008/01/15 v2.00 (rcs-revision 1.12)
pgfcomp-version-0-65.sty    2007/07/03 v2.00 (rcs-revision 1.7)
pgfcomp-version-1-18.sty    2007/07/23 v2.00 (rcs-revision 1.1)
pgfarrows.sty    2006/10/11 v2.00 (rcs-revision 1.3)
pgfnodes.sty    2006/10/11 v2.00 (rcs-revision 1.3)
pgfautomata.sty    2006/10/11 v2.00 (rcs-revision 1.3)
pgfheaps.sty    2006/10/11 v2.00 (rcs-revision 1.3)
pgfshade.sty    2006/10/11 v2.00 (rcs-revision 1.3)
colortbl.sty    2001/02/13 v0.1j Color table columns (DPC)
   array.sty    2005/08/23 v2.4b Tabular extension package (FMi)
   babel.sty    2005/11/23 v3.8h The Babel package
 english.ldf    2005/03/30 v3.3o English support from the babel system
   times.sty    2005/04/12 PSNFSS-v9.2a (SPQR)
fontspec.sty    2006/12/24 v1.13 Advanced font selection for XeLaTeX
 ifxetex.sty    2006/08/21 v0.3 Provides ifxetex conditional
    calc.sty    2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
 xkeyval.sty    2006/11/18 v2.5f package option processing (HA)
 xkeyval.tex    2006/11/18 v2.5f key=value parser (HA)
 lmodern.sty    2007/01/14 v1.3 Latin Modern Fonts
 fontenc.sty
  eu1enc.def    2006/08/13 v0.1a Experimental unicode font encoding
  eu1lmr.fd    2007/01/14 v1.3 Font defs for Latin Modern
fontspec.cfg
xunicode.sty    2005/02/26 v0.5 provides access to latin accents and many other
 characters in Unicode lower plane
 xltxtra.sty    2006/06/13 v0.2 Improvements for the XeTeX/LaTeX format
    etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
fixltx2e.sty    2006/03/24 v1.1n fixes to LaTeX
 eu1lmss.fd    2007/01/14 v1.3 Font defs for Latin Modern
 nameref.sty    2006/12/27 v2.28 Cross-referencing by name of section
refcount.sty    2006/02/20 v3.0 Data extraction from references (HO)
euclid-prime.zh.out
euclid-prime.zh.out
 eu1lmtt.fd    2007/01/14 v1.3 Font defs for Latin Modern
  omllmm.fd    2007/01/14 v1.3 Font defs for Latin Modern
 omslmsy.fd    2007/01/14 v1.3 Font defs for Latin Modern
 omxlmex.fd    2007/01/14 v1.3 Font defs for Latin Modern
    umsa.fd    2002/01/19 v2.2g AMS font definitions
    umsb.fd    2002/01/19 v2.2g AMS font definitions
euclid-prime.zh.vrb
euclid-prime.zh.vrb
euclid-prime.zh.vrb
euclid-prime.zh.vrb
beamericonarticle.pdf    Graphic file (type QTm)
beamericonarticle.pdf    Graphic file (type QTm)
 ***********

LaTeX Font Info:    Some font shapes were not available, defaults substituted.
 )
Here is how much of TeX's memory you used:
 16287 strings out of 95463
 294614 string characters out of 1185432
 411080 words of memory out of 1500000
 18922 multiletter control sequences out of 10000+50000
 10945 words of font info for 66 fonts, out of 1200000 for 2000
 257 hyphenation exceptions out of 8191
 45i,20n,65p,382b,1071s stack positions out of 5000i,500n,6000p,200000b,5000s


More information about the XeTeX mailing list