[OS X TeX] incompatibility between dvipdfm and PNG images

Manuel Souto Pico m.soutopico at gmail.com
Wed Jan 19 22:40:15 CET 2011


Dear all,

Some time ago I created a tex document that contained text in several
writing systems (at least English, Arabic and Cyrillic). I can't
remember what each option does exactly, but it starts like this:

%!TEX TS-program = xelatex-xdvipdfmx
%!TEX encoding = UTF-8 Unicode
\documentclass[a4paper,10pt,avm,lingmacros,oneside,dvipdfm]{report}
\usepackage[catalan,spanish,british]{babel}

I've been using that file as a template to create other documents, and
all went fine always. However, now I need to include PNG images in a
new document, but found out that PNG files are incompatible with the
option dvipdfm that I had in the documentclass declaration.

The question is: what might I not be able to do without the dvipdfm
option, and whether removing it is the only thing that I can do (other
than converting PNG files to EPS with Gimp, not too practical).

I use XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009).

Thanks a lot in advance.

The full log below:
__________________________________________________________

This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009)
entering extended mode
(./TrNXT at UAB.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono
greek, greek, hungarian, icelandic, assamese, bengali, guajrati, hindi, assames
e, malayalam, marathi, oriya, panjabi, tamil, telugu, indonesian, interlingua,
irish, italian, kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc,
bokmal, nynorsk, polish, portuguese, romanian, russian, sanskrit, serbian, slov
ak, slovenian, spanish, swedish, turkish, turkmen, ukenglish, ukrainian, uppers
orbian, welsh, loaded.
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/report.cls
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2009/texmf-dist/tex/generic/babel/babel.sty
*************************************
* Local config file bblopts.cfg used
*
(/Users/souto/Library/texmf/tex/latex/arabi/latex/arabi/bblopts.cfg)
(/usr/local/texlive/2009/texmf-dist/tex/generic/babel/catalan.ldf
(/usr/local/texlive/2009/texmf-dist/tex/generic/babel/babel.def))
(/usr/local/texlive/2009/texmf-dist/tex/generic/babel/spanish.ldf))
(/usr/local/texlive/2009/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/local/texlive/2009/texmf/tex/latex/dvipdfm/dvipdfm.def)
(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/dvipsnam.def))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/latex/pgf/frontendlayer/tikz.sty
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/latex/pgf/basiclayer/pgf.sty
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/latex/pgf/utilities/pgfrcs.sty
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/utilities/pgfutil-co
mmon.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/utilities/pgfutil-la
tex.def)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/utilities/pgfrcs.cod
e.tex))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/latex/pgf/basiclayer/pgfcore.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/latex/pgf/systemlayer/pgfsys.sty

(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/systemlayer/pgfsys.c
ode.tex
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/systemlayer/pgf.cfg)

(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/systemlayer/pgfsys-d
vipdfm.def
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/systemlayer/pgfsys-c
ommon-pdf.def)))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/systemlayer/pgfsysso
ftpath.code.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/systemlayer/pgfsyspr
otocol.code.tex))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfcore.c
ode.tex
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/math/pgfmath.code.te
x
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/math/pgfmathcalc.cod
e.tex
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/math/pgfmathutil.cod
e.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/math/pgfmathparser.c
ode.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/math/pgfmathoperatio
ns.code.tex
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/math/pgfmathtrig.cod
e.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/math/pgfmathrnd.code
.tex))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/math/pgfmathbase.cod
e.tex)))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfcorepo
ints.code.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfcorepa
thconstruct.code.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfcorepa
thusage.code.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfcoresc
opes.code.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfcoregr
aphicstate.code.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfcoretr
ansformations.code.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfcorequ
ick.code.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfcoreob
jects.code.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfcorepa
thprocessing.code.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfcorear
rows.code.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfcoresh
ade.code.tex)))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/latex/pgf/basiclayer/pgfbaseshap
es.sty
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfbasesh
apes.code.tex))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/latex/pgf/basiclayer/pgfbaseplot
.sty
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfbasepl
ot.code.tex))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/latex/pgf/basiclayer/pgfbaseimag
e.sty
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfbaseim
age.code.tex))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/latex/pgf/basiclayer/pgfbaselaye
rs.sty
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfbasela
yers.code.tex))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/latex/pgf/basiclayer/pgfbasesnak
es.sty
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfbasesn
akes.code.tex))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/latex/pgf/basiclayer/pgfbasepatt
erns.sty
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfbasepa
tterns.code.tex))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/latex/pgf/basiclayer/pgfbasematr
ix.sty
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/basiclayer/pgfbasema
trix.code.tex))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/latex/pgf/compatibility/pgfcomp-
version-0-65.sty)) (/usr/local/texlive/2009/texmf-dist/tex/latex/tools/calc.sty
) (/Users/souto/Library/texmf/tex/latex/pgf-1.18/latex/pgf/utilities/pgffor.sty

(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/utilities/pgffor.cod
e.tex)) (/Users/souto/Library/texmf/tex/latex/xkeyval/run/xkeyval.sty
(/Users/souto/Library/texmf/tex/latex/xkeyval/run/xkeyval.tex))
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/frontendlayer/tikz.c
ode.tex
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/libraries/pgflibrary
plothandlers.code.tex)
(/Users/souto/Library/texmf/tex/latex/pgf-1.18/generic/pgf/libraries/pgflibrary
tikztopaths.code.tex)))
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2009/texmf-dist/tex/latex/amscls/amsthm.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/amsfonts.sty))

Package amsthm Warning: Unknown theoremstyle `margin' on input line 52.

(/usr/local/texlive/2009/texmf-dist/tex/xelatex/fontspec/fontspec.sty
(/usr/local/texlive/2009/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/euenc/eu1enc.def)
(/usr/local/texlive/2009/texmf-dist/tex/latex/euenc/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/local/texlive/2009/texmf-dist/tex/xelatex/fontspec/fontspec.cfg))
(/usr/local/texlive/2009/texmf-dist/tex/xelatex/xunicode/xunicode.sty)
(/usr/local/texlive/2009/texmf-dist/tex/xelatex/xltxtra/xltxtra.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/metalogo/metalogo.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/etex-pkg/etex.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/fixltx2e.sty))
(/usr/local/texlive/2009/texmf-dist/tex/latex/natbib/natbib.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/setspace/setspace.sty
Package: `setspace' 6.7 <2000/12/01>
) (/usr/local/texlive/2009/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix
<2008/02/07> (tvz))
(/usr/local/texlive/2009/texmf-dist/tex/latex/multirow/multirow.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/tools/multicol.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/tools/tabularx.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/tools/array.sty))
(/Users/souto/Library/texmf/tex/latex/gb4e/gb4e.sty
(/Users/souto/Library/texmf/tex/latex/gb4e/cgloss4e.sty))
(/Users/souto/Library/texmf/tex/latex/cgloss.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/soul/soul.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/etexcmds.sty))
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/pdfescape.sty
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifluatex.sty)))
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/hycolor.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty))
(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/letltxmacro.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/intcalc.sty)
(/usr/local/texlive/2009/texmf-dist/tex/xelatex/xetexconfig/hyperref.cfg)
(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
Implicit mode ON; LaTeX internals redefined
(/usr/local/texlive/2009/texmf-dist/tex/latex/url/url.sty)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/bitset.sty
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/bigintcalc.sty))
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/atbegshi.sty))

Package hyperref Warning: Wrong driver `hdvipdfm.def';
(hyperref)                XeTeX is running.
(hyperref)                Forcing driver `hxetex.def' for XeTeX.

* hyperref using driver hxetex *
(/usr/local/texlive/2009/texmf-dist/tex/latex/hyperref/hxetex.def
(/usr/local/texlive/2009/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/stringenc.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(/usr/local/texlive/2009/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/makeidx.sty)
Writing index file TrNXT at UAB.idx
(/Users/souto/Library/texmf/tex/latex/avm/avm.sty)
(/Users/souto/Library/texmf/tex/latex/tree-dvips/tree-dvips.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/cclicenses/cclicenses.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/rotating/rotating.sty
(/Users/souto/Library/texmf/tex/latex/ifthen.sty)))

LaTeX Warning: Unused global option(s):
    [avm,lingmacros].

(./TrNXT at UAB.aux)
(/usr/local/texlive/2009/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/refcount.sty)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(./TrNXT at UAB.out) (./TrNXT at UAB.out)

Package hyperref Warning: Rerun to get /PageLabels entry.

(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/se-ascii-print.def)
[1]

Package hyperref Warning: old toc file detected, not used; run LaTeX again.


Package spanish Warning: Replacing `EU1/Palatino(0)/m/sc' by
(spanish)                faked small caps on input line 292.

[2] (/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/umsb.fd)
Overfull \hbox (100.96667pt too wide) in alignment at lines 301--315
[] [] [] []

Package spanish Warning: Replacing `EU1/Palatino(0)/m/sc' by
(spanish)                faked small caps on input line 322.

[3] [1]
Cap\'{\i }tulo 1.
[2]
Cap\'{\i }tulo 2.
[3]

LaTeX Warning: Reference `ss:acceso' on page 4 undefined on input line 376.


LaTeX Warning: Reference `ss:acceso' on page 4 undefined on input line 376.

[4]

LaTeX Warning: Reference `ss:impo' on page 5 undefined on input line 388.


LaTeX Warning: Reference `ss:impo' on page 5 undefined on input line 388.

[5]

LaTeX Warning: Reference `tbl:flujo' on page 6 undefined on input line 438.


LaTeX Warning: Reference `tbl:flujo' on page 6 undefined on input line 438.

[6]

Package hyperref Warning: Difference (2) between bookmark levels is greater
(hyperref)                than one, level fixed on input line 451.

[7]
! LaTeX Error: Cannot determine size of graphic in ./images/logo.bb (no Boundin
gBox).

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.477 ... keepaspectratio=true]{./images/logo.png}

?
! LaTeX Error: File `./images/logo.bb' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.477 ... keepaspectratio=true]{./images/logo.png}

?

__________________________________________________________

Manuel Souto Pico
Galician linguist
Tel. +34-686846554 (CET)
Skype: xinalasnjicov
http://www.msoutopico.es



More information about the macostex-archives mailing list