[OS X TeX] Problem with the "starred" includegraphics

Cédrick Fairon cedrick.fairon at uclouvain.be
Sat Jan 10 05:46:13 EST 2009


Hello,

Thanks a lot to Herb Schulz and Ross Moore. This is a follow-up to  
Ross' message.

>> But, if I remove the star... it works, the image file "cental.pdf"
>> is correctly inserted in my document.
>>
>> \usepackage{graphicx}
>>
>> \resizebox{!}{1.7cm}{\includegraphics*{cental}}
>   The '*' is still here; presumably you didn't copy this
> directly from your LaTeX source.

You're right, sorry...

> Please post a complete minimal example, and send also
> the .log file that is produced when you try running it.
> (The contents of the 'console' window from TeXshop may be
> enough.) There may be relevant messages in there,
> indicating some inconsistency with the packages and/or
> classes that you are using. This might also indicate
> old versions, or private variants, of some packages.


Well, in the meantime, I noticed that the problem seems linked somehow  
to the Beamer Package. The first program below works, but the second  
does not:

---- EX1: OK ----
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\section{Simple Test}
    \resizebox{!}{1.7cm}{\includegraphics*{cental}}
\end{document}

---- EX2: DOES NOT COMPILE ----
\documentclass{beamer}  % Comment for handouts
\usepackage{graphicx}
\begin{document}
\begin{frame}
    \resizebox{!}{1.7cm}{\includegraphics*{cental}}
\end{frame}
\end{document}

--- TexShop Consol output of EX2 (I will also attach the full log file  
to this email) ------

This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
  \write18 enabled.
  %&-line parsing enabled.
entering extended mode
(./Ngram-court.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax,  
dumylang, noh
yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, 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, indonesian, interlingua, irish,  
italian, la
tin, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish,  
portuguese, r
omanian, russian, sanskrit, serbian, slovak, slovenian, spanish,  
swedish, turki
sh, ukenglish, ukrainian, uppersorbian, welsh, loaded.
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/beamer.cls
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasercs.sty)
Document Class: beamer 2007/03/11 cvs version 3.07 A class for  
typesetting pres
entations (rcs-revision 1.70)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasemodes.sty
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasedecode.sty))
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbaseoptions
.sty (/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/keyval.sty))
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/latex/pgf/ 
basiclayer/pgfc
ore.sty (/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/ 
graphicx.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2008/texmf/tex/latex/config/graphics.cfg)
(/usr/local/texlive/2008/texmf-dist/tex/latex/pdftex-def/pdftex.def)))
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/latex/pgf/ 
systemlayer/pgfsys.sty
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/latex/pgf/ 
utilities/pgfrcs.sty
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
utilities/pgfrcs.code.tex))
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
systemlayer/pgfsys.code.tex
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
systemlayer/pgf.cfg)
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
systemlayer/pgfsys-pdftex.def
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
systemlayer/pgfsys-common-pdf.def)))
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
systemlayer/pgfsyssoftpath.code.tex)
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
systemlayer/pgfsysprotocol.code.tex))
(/usr/local/texlive/2008/../texmf-local/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2008/texmf/tex/latex/config/color.cfg))
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
basiclayer/pgfcore.code.tex
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
basiclayer/pgfcoremath.code.tex)
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
basiclayer/pgfcorepoints.code.tex)
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
basiclayer/pgfcorepathconstruct.code.tex)
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
basiclayer/pgfcorepathusage.code.tex)
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
basiclayer/pgfcorescopes.code.tex)
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
basiclayer/pgfcoregraphicstate.code.tex)
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
basiclayer/pgfcoretransformations.code.tex)
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
basiclayer/pgfcorequick.code.tex)
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
basiclayer/pgfcoreobjects.code.tex)
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
basiclayer/pgfcorepathprocessing.code.tex)
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
basiclayer/pgfcorearrows.code.tex)
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
basiclayer/pgfcoreshade.code.tex)))
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/latex/pgf/ 
basiclayer/pgfbaseimage.sty
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/generic/pgf/ 
basiclayer/pgfbaseimage.code.tex))
(/usr/local/texlive/2008/../texmf-local/tex/latex/pgf/latex/pgf/ 
utilities/xxcolor.sty) (/usr/local/texlive/2008/texmf-dist/tex/latex/ 
amsfonts/amssymb.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2008/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2008/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2008/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2008/texmf-dist/tex/xelatex/xetexconfig/ 
geometry.cfg))
(/usr/local/texlive/2008/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2008/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/oberdiek/hycolor.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/oberdiek/xcolor- 
patch.sty))
(/usr/local/texlive/2008/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2008/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2008/texmf-dist/tex/generic/oberdiek/infwarerr.sty))
(/usr/local/texlive/2008/texmf/tex/latex/config/hyperref.cfg)
(/usr/local/texlive/2008/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
Implicit mode OFF; no redefinition of LaTeX internals
(/usr/local/texlive/2008/texmf-dist/tex/latex/ltxmisc/url.sty)
(/usr/local/texlive/2008/texmf-dist/tex/generic/oberdiek/bitset.sty
(/usr/local/texlive/2008/texmf-dist/tex/generic/oberdiek/intcalc.sty)
(/usr/local/texlive/2008/texmf-dist/tex/generic/oberdiek/bigintcalc.sty
(/usr/local/texlive/2008/texmf-dist/tex/generic/oberdiek/ 
pdftexcmds.sty)))
(/usr/local/texlive/2008/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty)
(/usr/local/texlive/2008/texmf-dist/tex/generic/oberdiek/atbegshi.sty)

Package hyperref Warning: Option `pdfpagelabels' is turned off
(hyperref)                because \thepage is undefined.

Hyperref stopped early
)
*hyperref using default driver hpdftex*
(/usr/local/texlive/2008/texmf-dist/tex/latex/hyperref/hpdftex.def)
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/size11.clo)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasecompatibility.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasefont.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasemisc.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasetwoscreens.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbaseoverlay.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasetitle.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasesection.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbaseframe.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbaseverbatim.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbaseframesize.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbaseframecomponents.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasecolor.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasenotes.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasetoc.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasetemplates.sty
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbaseauxtemplates.sty
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbaseboxes.sty)))
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbaselocalst
ructure.sty (/usr/local/texlive/2008/texmf-dist/tex/latex/tools/ 
enumerate.sty))

(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasenavigation.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasetheorem
s.sty (/usr/local/texlive/2008/texmf-dist/tex/latex/translator/ 
translator.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/translator/translator- 
language-mappings.tex)) (/usr/local/texlive/2008/texmf-dist/tex/latex/ 
amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2008/texmf-dist/tex/latex/amscls/amsthm.sty))
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/base/ 
beamerbasethemes.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/themes/theme/ 
beamerthemedefault.sty
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/themes/font/ 
beamerfontthemedefault.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/themes/color/ 
beamercolorthemedefault.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/themes/inner/ 
beamerinnerthemedefault.sty)
(/usr/local/texlive/2008/../texmf-local/tex/latex/beamer/themes/outer/ 
beamerouterthemedefault.sty))) (./Ngram-court.aux)
(/usr/local/texlive/2008/texmf-dist/tex/context/base/supp-pdf.tex
[Loading MPS to PDF converter (version 2006.09.02).]
)
*geometry auto-detecting driver*
*geometry detected driver: pdftex*
(/usr/local/texlive/2008/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/oberdiek/refcount.sty))
(./Ngram-court.out) (./Ngram-court.out)
(/usr/local/texlive/2008/texmf-dist/tex/latex/translator/translator- 
theorem-dictionary-English.dict) (./Ngram-court.nav)

! LaTeX Error: File `*' not found.

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

l.7 \end{frame}

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

[1{/usr/local/texlive/2008/texmf-var/fonts/map/pdftex/updmap/ 
pdftex.map}]
(./Ngram-court.aux)

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

  )</usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/ 
cmss10.pfb>
Output written on Ngram-court.pdf (1 page, 8709 bytes).
SyncTeX written on Ngram-court.synctex.gz
Transcript written on Ngram-court.log.

-------------------------------------------------

Thanks !!

Céd

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ngram-court.log
Type: application/octet-stream
Size: 29902 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20090110/9d589ac9/attachment.obj>
-------------- next part --------------



Prof. Cédrick Fairon
cedrick.fairon at uclouvain.be

Directeur du CENTAL
Centre de traitement automatique du langage
Université catholique de Louvain
Place Blaise Pascal, 1
1348 Louvain-la-Neuve
Belgique
tel: +32 10 47 37 88
fax: +32 10 47 26 06

http://cental.fltr.ucl.ac.be
http://glossa.fltr.ucl.ac.be









More information about the MacOSX-TeX mailing list