[OS X TeX] Using eps files
facenda at us.es
facenda at us.es
Tue Mar 9 15:11:38 CET 2010
Hi again,
I have the option -shell -escape (as it installs by default mactex2009)
The console says
[Loading MPS to PDF converter (version 2006.09.02).]
)sh: epstopdf : command not found
This message appears on the notebook but in imac works fine, the installation is the same. I do not understand why.
The file is: (latex tempalte fron texshop)
\documentclass[11pt]{amsart}
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{letterpaper} % ... or a4paper or a5paper or ...
%\geometry{landscape} % Activate for for rotated page geometry
%\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{epstopdf}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}
\title{Brief Article}
\author{The Author}
%\date{} % Activate to display a given date or no date
\begin{document}
\maketitle
%\section{}
%\subsection{}
\includegraphics[]{figure}
\end{document}
and the log file:
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=pdflatex 2009.11.7) 9 MAR 2010 15:01
entering extended mode
\write18 enabled.
%&-line parsing enabled.
**sample.tex
(./sample.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, indonesian, interlingua, irish, italian, ku
rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po
lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span
ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.
(/usr/local/texlive/2009/texmf-dist/tex/latex/amscls/amsart.cls
Document Class: amsart 2009/07/02 v2.20.1
\linespacing=\dimen102
\normalparindent=\dimen103
\normaltopskip=\skip41
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip42
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks14
\ex@=\dimen104
))
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen105
)
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf at bad=\count79
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count80
\leftroot@=\count81
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count82
\DOTSCASE@=\count83
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox@=\box26
\strutbox@=\box27
\big at size=\dimen106
LaTeX Font Info: Redeclaring font encoding OML on input line 567.
LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
\macc at depth=\count84
\c at MaxMatrixCols=\count85
\dotsspace@=\muskip10
\c at parentequation=\count86
\dspbrk at lvl=\count87
\tag at help=\toks15
\row@=\count88
\column@=\count89
\maxfields@=\count90
\andhelp@=\toks16
\eqnshift@=\dimen107
\alignsep@=\dimen108
\tagshift@=\dimen109
\tagwidth@=\dimen110
\totwidth@=\dimen111
\lineht@=\dimen112
\@envbody=\toks17
\multlinegap=\skip43
\multlinetaggap=\skip44
\mathdisplay at stack=\toks18
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
LaTeX Font Info: Try loading font information for U+msa on input line 388.
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2009/06/22 v3.00 AMS symbols A
)
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 96.
)
\copyins=\insert233
\abstractbox=\box28
\listisep=\skip45
\c at part=\count91
\c at section=\count92
\c at subsection=\count93
\c at subsubsection=\count94
\c at paragraph=\count95
\c at subparagraph=\count96
\c at figure=\count97
\c at table=\count98
\abovecaptionskip=\skip46
\belowcaptionskip=\skip47
\captionindent=\dimen113
\thm at style=\toks19
\thm at bodyfont=\toks20
\thm at headfont=\toks21
\thm at notefont=\toks22
\thm at headpunct=\toks23
\thm at preskip=\skip48
\thm at postskip=\skip49
\thm at headsep=\skip50
\dth at everypar=\toks24
)
(/usr/local/texlive/2009/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2008/12/21 v4.2 Page Geometry
(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV at toks@=\toks25
)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2009/04/10 v2.0 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in pdf mode detected.
)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifvtex.sty
Package: ifvtex 2008/11/04 v1.4 Switches for detecting VTeX and its modes (HO)
Package ifvtex Info: VTeX not detected.
)
\Gm at cnth=\count99
\Gm at cntv=\count100
\c at Gm@tempcnt=\count101
\Gm at bindingoffset=\dimen114
\Gm at wd@mp=\dimen115
\Gm at odd@mp=\dimen116
\Gm at even@mp=\dimen117
\Gm at dimlist=\toks26
(/usr/local/texlive/2009/texmf-dist/tex/xelatex/xetexconfig/geometry.cfg))
(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/local/texlive/2009/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2009/08/28 v1.8 graphics configuration of TeX Live
)
Package graphics Info: Driver file: pdftex.def on input line 91.
(/usr/local/texlive/2009/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2009/08/25 v0.04m Graphics/color for pdfTeX
\Gread at gobject=\count102
))
\Gin at req@height=\dimen118
\Gin at req@width=\dimen119
)
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2009/06/22 v3.00
)
(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/epstopdf.sty
Package: epstopdf 2009/10/17 v2.4 Conversion with epstopdf on the fly (HO)
(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2009/10/17 v2.4 Base part for package epstopdf
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2007/09/09 v1.2 Providing info/warning/message (HO)
)
(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2007/09/30 v1.0 Managing graphics extensions (HO)
)
(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2009/08/13 v3.4 Keyval support for LaTeX options (HO)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2009/07/30 v1.5 Key value parser with default handler suppor
t (HO)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2007/12/12 v1.2 Prefix for e-TeX command names (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
)))
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2009/09/23 v0.6 LuaTeX support for pdfTeX utility functions
(HO)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2009/04/17 v1.2 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2009/08/05 v1.0 Some LaTeX kernel commands for general use (HO
)
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf at primitive is available.
Package pdftexcmds Info: \pdf at ifprimitive is available.
)
Package grfext Info: Graphics extension search list:
(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
G,.JBIG2,.JB2,.eps]
(grfext) \AppendGraphicsExtensions on input line 433.
(/usr/local/texlive/2009/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2009/10/26 v1.1 Configuration of epstopdf for TeX Live
)))
No file sample.aux.
\openout1 = `sample.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 15.
LaTeX Font Info: ... okay on input line 15.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 15.
LaTeX Font Info: ... okay on input line 15.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 15.
LaTeX Font Info: ... okay on input line 15.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 15.
LaTeX Font Info: ... okay on input line 15.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 15.
LaTeX Font Info: ... okay on input line 15.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 15.
LaTeX Font Info: ... okay on input line 15.
LaTeX Font Info: Try loading font information for U+msa on input line 15.
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2009/06/22 v3.00 AMS symbols A
)
LaTeX Font Info: Try loading font information for U+msb on input line 15.
(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2009/06/22 v3.00 AMS symbols B
)
*geometry auto-detecting driver*
*geometry detected driver: pdftex*
-------------------- Geometry parameters
paper: letterpaper
landscape: --
twocolumn: --
twoside: true
asymmetric: --
h-parts: 73.71613pt, 0.7\paperwidth , 110.57425pt (default)
v-parts: 95.39737pt, 0.7\paperheight , 143.09605pt (default)
hmarginratio: 2:3
vmarginratio: 2:3
lines: --
heightrounded: --
bindingoffset: 0.0pt
truedimen: --
includehead: --
includefoot: --
includemp: --
driver: pdftex
-------------------- Page layout dimensions and switches
\paperwidth 614.295pt
\paperheight 794.96999pt
\textwidth 430.00462pt
\textheight 556.47656pt
\oddsidemargin 1.44614pt
\evensidemargin 38.30426pt
\topmargin 1.12738pt
\headheight 8.0pt
\headsep 14.0pt
\footskip 12.0pt
\marginparwidth 90.0pt
\marginparsep 11.0pt
\columnsep 10.0pt
\skip\footins 7.0pt plus 11.0pt
\hoffset 0.0pt
\voffset 0.0pt
\mag 1000
\@twosidetrue \@mparswitchtrue
(1in=72.27pt, 1cm=28.45pt)
-----------------------
(/usr/local/texlive/2009/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count103
\scratchdimen=\dimen120
\scratchbox=\box29
\nofMPsegments=\count104
\nofMParguments=\count105
\everyMPshowfont=\toks27
\MPscratchCnt=\count106
\MPscratchDim=\dimen121
\MPnumerator=\count107
\everyMPtoPDFconversion=\toks28
)
Package epstopdf Info: Source file: <figure.eps>
(epstopdf) date: 2010-03-09 15:01:26
(epstopdf) size: 48325 bytes
(epstopdf) Output file: <figure-eps-converted-to.pdf>
(epstopdf) Command: <epstopdf --outfile=figure-eps-converted-to.pdf
figure.eps>
(epstopdf) \includegraphics on input line 20.
runsystem(epstopdf --outfile=figure-eps-converted-to.pdf figure.eps)...executed
.
Package epstopdf Info: Result file: <figure-eps-converted-to.pdf>.
! Package pdftex.def Error: File `figure-eps-converted-to.pdf' not found.
See the pdftex.def package documentation for explanation.
Type H <return> for immediate help.
...
l.20 \includegraphics[]{figure}
? s
OK, entering \scrollmode...
[1{/usr/local/texlive/2009/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./sample.aux) )
Here is how much of TeX's memory you used:
2965 strings out of 493848
38204 string characters out of 3149207
91588 words of memory out of 3000000
6039 multiletter control sequences out of 15000+200000
8462 words of font info for 33 fonts, out of 3000000 for 9000
875 hyphenation exceptions out of 8191
41i,4n,26p,345b,192s stack positions out of 5000i,500n,10000p,200000b,50000s
</usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts
/cm/cmbx10.pfb></usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/
cm/cmr8.pfb></usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/
cmr9.pfb></usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmt
t10.pfb>
Output written on sample.pdf (1 page, 40065 bytes).
PDF statistics:
22 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
Any help would be appreciated
José A. Facenda
----- Mensaje original -----
De: Herbert Schulz <herbs at wideopenwest.com>
Fecha: Martes, Marzo 9, 2010 2:15 pm
Asunto: Re: [OS X TeX] Using eps files
A: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> On Mar 9, 2010, at 3:16 AM, José A. Facenda Aguirre wrote:
>
> > Hi,
> > thanks for the answer.
> > I have installed MacTeX 2009 in a macbook pro and an imac i5.
> > I have the problem in the notebook; imac has no problem. The
> document contains these lines: (is latex template fron texshop)
> >
> > \documentclass[11pt]{amsart}
> > \usepackage{graphicx}
> > \usepackage{epstopdf}
> > \DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname
> #1`/`basename #1 .tif .png}
> > \begin{document}
> > \includegraphics[]{figure}
> > \end{document}
> > I have the file figure.eps
> > The macbook pro gives the mentioned error but the imac works well.
> What's the problem in the notebook?
> > Any help would be appreciated
> > José A. Facenda
> >
>
> Howdy,
>
> I have no problem compiling your document! This is with MacTEX-2009
> and TeXShop 2.33. Did you check that there is a --shell-escape option
> set for the pdflatex engine in
> TeXShop->Preferences->Engine->pdfTeX->Tex & Latex: the lines should
> look like
>
> pdftex --shell-escape --synctex=1 --file-line-error
>
> and
>
> pdflatex --shell-escape --synctex=1 --file-line-error
>
> respectively. The --shell-escape option is needed by the epstopdf
> package since it must access the command line from within your
> pdflatex run.
>
> One other thing, although it has nothing to do with your problem: the
> epstopdf package was updated for MacTeX(TeX Live)-2009 and the way
> your set up new conversions has changed. Instead of
>
> > \DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname
> #1`/`basename #1 .tif .png}
>
>
> you should use
>
> \epstopdfDeclareGraphicsRule{.tif}{png}{.png}{convert #1 \OutputFile}
> \PrependGraphicsExtensions{.tif}
>
> Note that the epstopdf package that comes with MacTeX-2009 also does a
> conversion figure.eps->figure-eps-converted-to.pdf rather than
> figure.eps->figure.pdf. It also appends. rather than prepends, the
> .eps extension to the list of extensions to look for. That means that
> if it finds a figure.pdf it will use it even if you want it ti use
> figure.eps. You can get back original behavior by creating a file
> named epstopdf-sys.cfg that contains the lines
>
> % to get old behavior foo.eps->foo.pdf as well as update,prepend
> \epstopdfsetup{program at epstopdf=epstopdf,verbose,update,prepend,prefersuffix=false,suffix=}
> % tif->png
> \epstopdfDeclareGraphicsRule{.tif}{png}{.png}{convert #1 \OutputFile}
> \PrependGraphicsExtensions{.tif}
>
> and place it in ~/Library/texmf/tex/latex/config/ (create necessary
> nested folders as needed and ~ is your HOME directory). With the file
> above the ability to convert tif->png will be loaded automatically too
> so you won't need it in your source file.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ:
> List Reminders and Etiquette:
> List Archive:
> TeX on Mac OS X Website:
> List Info:
>
More information about the macostex-archives
mailing list