[XeTeX] Many warnings when compile beamer presentation using XeLaTex

Bruno Voisin bvoisin at mac.com
Mon Apr 7 22:10:24 CEST 2008


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)
  ***********

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pdf
Type: application/pdf
Size: 252585 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080407/b5e673d2/attachment-0001.pdf 
-------------- next part --------------



More information about the XeTeX mailing list