Texmaker and TeXstudiocan't see images

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
fuchi8
Posts: 4
Joined: Wed Mar 19, 2008 6:16 pm

can't see images

Post by fuchi8 »

i've installed texlive 2007 but i've decided to use Tex maker as editor.
i'm using a mac power pc G4 with Mac os X 10.4.11.
For the configuration of Tex maker i've typed for every item on the terminal $which item$ and i've wrote down the path on the preferences menu.
ì've set PdfLateX in the quick build, i compile it but in the pdf there aren't the images.
I've got the package \usepackage[dvips]{graphicx} and for example:

\begin{sidewaysfigure}[htbp]
\centering
\scalebox{0.5}
{\includegraphics[bb=0 0 549 842, angle=-90]{abs.eps}}
\caption{ABS e sistema da vuoto}
\label{abs}
\end{sidewaysfigure}

what's wrong?

then if i type latex button i get: error could not start the command.

what should i do?
thanks valentina

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10319
Joined: Mon Mar 10, 2008 9:44 pm

Re: can't see images

Post by Stefan Kottwitz »

Hi valentina,

pdflatex cannot include eps-files directly. You should convert them with eps2pdf or epstopdf to pdf-format, then you can include them just using \includegraphics{abs}. Of course you may still give options to \includegraphics if you want. But write \usepackage{graphicx} without option dvips if you are using pdflatex.

Stefan
fuchi8
Posts: 4
Joined: Wed Mar 19, 2008 6:16 pm

Re: can't see images

Post by fuchi8 »

hi stefan, thanks for the reply.
i get the chance to ask you another thing.
if i choose in the quick build menu the command latex+dvips+ps2pdf+view Pdf to see the images that i put in the eps format the pdf file doesn't open.
can you help me?

thanks again,

valentina
User avatar
Stefan Kottwitz
Site Admin
Posts: 10319
Joined: Mon Mar 10, 2008 9:44 pm

Re: can't see images

Post by Stefan Kottwitz »

Hi valentina,

can you see the images in the created ps-file?
Was a dvi-file or ps-file or pdf file created? Do you get error messages?

That the pdf file doesn't open does not prove that it's not created correctly, it could even be a problem with the pdf reader.
If you attach the .log-file to a posting here, ist's possible that we could see the problem inside, if it's a LaTeX problem.

Stefan
fuchi8
Posts: 4
Joined: Wed Mar 19, 2008 6:16 pm

Re: can't see images

Post by fuchi8 »

i tried to write another document in latex where i put only an image eps and i send you everything.
thanks again...
valentina.

that's what i get as error:


************** SUMMARY ************** :
line 9 -> ! Undefined control sequence. \includegraphics
************** LOG FILE *************** :
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=pdflatex 2007.11.6) 20 MAR 2008 08:58
entering extended mode
%&-line parsing enabled.
**prova.tex
(./prova.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,
french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish,
turkish, ukenglish, ukrainian, loaded.
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size12.clo
File: size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2006/05/05 v1.1b Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/latin1.def
File: latin1.def 2006/05/05 v1.1b Input encoding file
))
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip43
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks16
\ex@=\dimen103
))
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen104
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count87
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count88
\leftroot@=\count89
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count90
\DOTSCASE@=\count91
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@size=\dimen105
LaTeX Font Info: Redeclaring font encoding OML on input line 567.
LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
\macc@depth=\count92
\c@MaxMatrixCols=\count93
\dotsspace@=\muskip10
\c@parentequation=\count94
\dspbrk@lvl=\count95
\tag@help=\toks17
\row@=\count96
\column@=\count97
\maxfields@=\count98
\andhelp@=\toks18
\eqnshift@=\dimen106
\alignsep@=\dimen107
\tagshift@=\dimen108
\tagwidth@=\dimen109
\totwidth@=\dimen110
\lineht@=\dimen111
\@envbody=\toks19
\multlinegap=\skip44
\multlinetaggap=\skip45
\mathdisplay@stack=\toks20
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2001/10/25 v2.2f
\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 132.
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2002/01/22 v2.2d
)
No file prova.aux.
\openout1 = `prova.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
! Undefined control sequence.
l.9 \includegraphics
[scale=1]{abs.eps}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
[1
{/usr/local/texlive/2007/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./prova.aux) )
Here is how much of TeX's memory you used:
1101 strings out of 94073
12327 string characters out of 1162984
60169 words of memory out of 1500000
4443 multiletter control sequences out of 10000+50000
3938 words of font info for 15 fonts, out of 1200000 for 2000
645 hyphenation exceptions out of 8191
27i,4n,22p,222b,111s stack positions out of 5000i,500n,6000p,200000b,5000s
</usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmr12
.pfb>
Output written on prova.pdf (1 page, 5760 bytes).
PDF statistics:
10 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 131072)
1 words of extra memory for PDF output out of 10000 (max. 10000000)


thanks again
Attachments
prova.pdf
(5.63 KiB) Downloaded 736 times
prova.tex
(491 Bytes) Downloaded 577 times
prova.log
(5.37 KiB) Downloaded 552 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

can't see images

Post by localghost »

Just omit the obsolete epsfig package in your preamble.

Some additional advices that are not related to the problem.
  1. The option dvips for the graphicx package can be omitted.
  2. You are loading the fontenc package twice.
  3. Replace the obsolete subfigure package by the subfig package.

Best regards
Thorsten¹
Post Reply