Texmaker and TeXstudio ⇒ Texmaker won't display images in build
Texmaker won't display images in build
This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5) (preloaded format=pdflatex 2007.2.1) 13 DEC 2007 03:47
entering extended mode
**trilinability.tex
(trilinability.tex
LaTeX2e <2005/12/01>
Babel <v3.8g> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
("C:\Program Files\MiKTeX 2.5\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Program Files\MiKTeX 2.5\tex\latex\base\size11.clo"
File: size11.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
)
("C:\Program Files\MiKTeX 2.5\tex\latex\base\inputenc.sty"
Package: inputenc 2006/05/05 v1.1b Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
("C:\Program Files\MiKTeX 2.5\tex\latex\base\latin1.def"
File: latin1.def 2006/05/05 v1.1b Input encoding file
))
("C:\Program Files\MiKTeX 2.5\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.
("C:\Program Files\MiKTeX 2.5\tex\latex\amsmath\amstext.sty"
Package: amstext 2000/06/29 v2.01
("C:\Program Files\MiKTeX 2.5\tex\latex\amsmath\amsgen.sty"
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks16
\ex@=\dimen103
))
("C:\Program Files\MiKTeX 2.5\tex\latex\amsmath\amsbsy.sty"
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen104
)
("C:\Program Files\MiKTeX 2.5\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.
)
("C:\Program Files\MiKTeX 2.5\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.
)
("C:\Program Files\MiKTeX 2.5\tex\latex\amsfonts\amssymb.sty"
Package: amssymb 2002/01/22 v2.2d
)
("C:\Program Files\MiKTeX 2.5\tex\latex\base\makeidx.sty"
Package: makeidx 2000/03/29 v1.0m Standard LaTeX package
)
("C:\Program Files\MiKTeX 2.5\tex\latex\hyperref\hyperref.sty"
Package: hyperref 2006/09/06 v6.75e Hypertext links for LaTeX
("C:\Program Files\MiKTeX 2.5\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks21
)
\@linkdim=\dimen112
\Hy@linkcounter=\count99
\Hy@pagecounter=\count100
("C:\Program Files\MiKTeX 2.5\tex\latex\hyperref\pd1enc.def"
File: pd1enc.def 2006/09/06 v6.75e Hyperref: PDFDocEncoding definition (HO)
)
("C:\Program Files\MiKTeX 2.5\tex\latex\00miktex\hyperref.cfg"
File: hyperref.cfg 2006/02/14 v1.1 MiKTeX 'hyperref' configuration
)
("C:\Program Files\MiKTeX 2.5\tex\latex\oberdiek\kvoptions.sty"
Package: kvoptions 2006/08/22 v2.4 Connects package keyval with LaTeX options (
HO)
)
Package hyperref Info: Hyper figures OFF on input line 2123.
Package hyperref Info: Link nesting OFF on input line 2128.
Package hyperref Info: Hyper index ON on input line 2131.
Package hyperref Info: Plain pages OFF on input line 2138.
Package hyperref Info: Backreferencing OFF on input line 2143.
Implicit mode ON; LaTeX internals redefined
Package hyperref Info: Bookmarks ON on input line 2273.
("C:\Program Files\MiKTeX 2.5\tex\latex\ltxmisc\url.sty"
\Urlmuskip=\muskip11
Package: url 2005/06/27 ver 3.2 Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 2428.
\Fld@menulength=\count101
\Field@Width=\dimen113
\Fld@charsize=\dimen114
\Choice@toks=\toks22
\Field@toks=\toks23
Package hyperref Info: Hyper figures OFF on input line 2906.
Package hyperref Info: Link nesting OFF on input line 2911.
Package hyperref Info: Hyper index ON on input line 2914.
Package hyperref Info: backreferencing OFF on input line 2921.
Package hyperref Info: Link coloring OFF on input line 2926.
\Hy@abspage=\count102
\c@Item=\count103
\c@Hfootnote=\count104
)
*hyperref using default driver hpdftex*
("C:\Program Files\MiKTeX 2.5\tex\latex\hyperref\hpdftex.def"
File: hpdftex.def 2006/09/06 v6.75e Hyperref driver for pdfTeX
\Fld@listcount=\count105
)
("C:\Program Files\MiKTeX 2.5\tex\latex\float\float.sty"
Package: float 2001/11/08 v1.3d Float enhancements (AL)
\c@float@type=\count106
\float@exts=\toks24
\float@box=\box28
\@float@everytoks=\toks25
\@floatcapt=\box29
)
("C:\Program Files\MiKTeX 2.5\tex\latex\xcolor\xcolor.sty"
Package: xcolor 2005/12/21 v2.09 LaTeX color extensions (UK)
("C:\Program Files\MiKTeX 2.5\tex\latex\00miktex\color.cfg"
File: color.cfg 2005/12/29 v1.1 MiKTeX 'color' configuration
)
Package xcolor Info: Driver file: pdftex.def on input line 220.
("C:\Program Files\MiKTeX 2.5\tex\latex\graphics\pdftex.def"
File: pdftex.def 2006/08/14 v0.03t Graphics/color for pdfTeX
\Gread@gobject=\count107
)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1328.
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1332.
Package xcolor Info: Model `RGB' extended on input line 1344.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1346.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1347.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1348.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1349.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1350.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1351.
)
(trilinability.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
Package hyperref Info: Link coloring OFF on input line 10.
("C:\Program Files\MiKTeX 2.5\tex\latex\hyperref\nameref.sty"
Package: nameref 2006/08/15 v2.26 Cross-referencing by name of section
("C:\Program Files\MiKTeX 2.5\tex\latex\oberdiek\refcount.sty"
Package: refcount 2006/02/20 v3.0 Data extraction from references (HO)
)
\c@section@level=\count108
)
LaTeX Info: Redefining \ref on input line 10.
LaTeX Info: Redefining \pageref on input line 10.
(trilinability.out) (trilinability.out)
\@outlinefile=\write3
("C:\Program Files\MiKTeX 2.5\tex\context\base\supp-pdf.tex"
("C:\Program Files\MiKTeX 2.5\tex\context\base\supp-mis.tex"
loading : Context Support Macros / Miscellaneous (2004.10.26)
\protectiondepth=\count109
\scratchcounter=\count110
\scratchtoks=\toks26
\scratchdimen=\dimen115
\scratchskip=\skip46
\scratchmuskip=\muskip12
\scratchbox=\box30
\scratchread=\read1
\scratchwrite=\write4
\zeropoint=\dimen116
\onepoint=\dimen117
\onebasepoint=\dimen118
\minusone=\count111
\thousandpoint=\dimen119
\onerealpoint=\dimen120
\emptytoks=\toks27
\nextbox=\box31
\nextdepth=\dimen121
\everyline=\toks28
\!!counta=\count112
\!!countb=\count113
\recursecounter=\count114
)
loading : Context Support Macros / PDF (2004.03.26)
\nofMPsegments=\count115
\nofMParguments=\count116
\MPscratchCnt=\count117
\MPscratchDim=\dimen122
\MPnumerator=\count118
\everyMPtoPDFconversion=\toks29
)
! Undefined control sequence.
<recently read> \includegraphics
l.13 \includegraphics
{C:/Documents and Settings/Cory/My Documents/My Pictu...
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.
LaTeX Font Info: Try loading font information for U+msa on input line 16.
("C:\Program Files\MiKTeX 2.5\tex\latex\amsfonts\umsa.fd"
File: umsa.fd 2002/01/19 v2.2g AMS font definitions
)
LaTeX Font Info: Try loading font information for U+msb on input line 16.
("C:\Program Files\MiKTeX 2.5\tex\latex\amsfonts\umsb.fd"
File: umsb.fd 2002/01/19 v2.2g AMS font definitions
) [1{psfonts.map}
The rest of the file loads fine, but only displays the text location of the file (C:/Documents and Settings...)
Thanks for any response
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Texmaker won't display images in build
! Undefined control sequence.
<recently read> \includegraphics
It seems that you have not loaded the graphics or graphicx packages. Please, add \usepackage{graphicx} in the preamble and try again.
Re: Texmaker won't display images in build
Adobe reader could not open the file "trilinability.pdf" because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and not properly decoded).
Texmaker won't display images in build
I put "\usepackage{graphics}" and "\usepackage{graphicx}" in the preamble
The \includegraphics command is defined in both packages, so you need to load only one of them. I prefer graphicx, but you have the choice. Remove one of the \usepackage commands.
Code: Select all
but now when I try to view the pdf, it gives me this message:Adobe reader could not open the file "trilinability.pdf" because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and not properly decoded).
Texmaker won't display images in build
\documentclass[11pt,letterpaper]{paper}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{makeidx}
\usepackage{hyperref}
\usepackage{graphicx}
\author{Cory Wilson}
\begin{document}
\begin{enumerate}
\begin{center}
Trilinability in an Equilateral Triangle
\end{center}\\\\
\begin{flushleft}
Step 1: Occurs from beginning until parallelograms meet in the center\\
\textit{See figure 1}\\
\begin{figure}
\includegraphics[scale=1]{trilinablestep1a.png}
\end{figure}
\end{flushleft}\\
\item $\ell_{1} \parallel \ell_{2}$, $\ell_{3} \parallel \ell_{4}$
And here's the image:

Texmaker won't display images in build
The following piece of code it is not minimal too, but at least it works. I have tried to guess what you pretend to do.
Code: Select all
\documentclass[11pt,letterpaper]{paper}\usepackage[latin1]{inputenc}\usepackage{amsmath,amssymb}\usepackage{makeidx}\usepackage{graphicx}\usepackage{hyperref}\author{Cory Wilson}\begin{document}\begin{figure}[tbp]\centering\includegraphics{trilinablestep1a.png}\caption{Trilinability in an Equilateral Triangle}\label{fig:trili}\end{figure}\begin{enumerate}\item Step 1: Occurs from beginning until parallelograms meetin the center (\textit{see Figure~\ref{fig:trili}}).\item $\ell_{1} \parallel \ell_{2}$, $\ell_{3} \parallel \ell_{4}$.\end{enumerate}\end{document}
Try to read a good tutorial or book about LaTeX. For example, you misunderstand the usage of the \\ command. It is not like "hitting the return key" in a WYSIWYG editor to get more vertical space. For this you should use commands as \smallskip or \vspace.
Texmaker won't display images in build
I can generate the pdf file. I can see it with Acrobat Reader. So I think that, in your case, there are many compilation errors, pdfLaTeX doesn't build the pdf and so you cannot open or see it. Am I right?
Yep
Re: Texmaker won't display images in build
\begin{figure}
\includegraphics{Figure1.png}
\end{figure}
The image will only show up at the top of the page it ends up on.