[texworks] I ran the command latex on a simple file but it errored out on a graphic and gives warnings

Joel David Ballezza jdb1one1 at gmail.com
Mon Dec 12 17:28:42 CET 2022


Here is the output:

C:\Prj\Rain>latex myfile.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded
format=latex)
 restricted \write18 enabled.
entering extended mode
(./Myfile.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2022-11-02>
(c:/TexLive/2022/texmf-dist/tex/latex/base/article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(c:/TexLive/2022/texmf-dist/tex/latex/base/size11.clo))
(c:/TexLive/2022/texmf-dist/tex/latex/base/inputenc.sty)
(c:/TexLive/2022/texmf-dist/tex/latex/geometry/geometry.sty
(c:/TexLive/2022/texmf-dist/tex/latex/graphics/keyval.sty)
(c:/TexLive/2022/texmf-dist/tex/generic/iftex/ifvtex.sty
(c:/TexLive/2022/texmf-dist/tex/generic/iftex/iftex.sty)))
(c:/TexLive/2022/texmf-dist/tex/latex/graphics/graphicx.sty
(c:/TexLive/2022/texmf-dist/tex/latex/graphics/graphics.sty
(c:/TexLive/2022/texmf-dist/tex/latex/graphics/trig.sty)
(c:/TexLive/2022/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(c:/TexLive/2022/texmf-dist/tex/latex/graphics-def/dvips.def)))
(c:/TexLive/2022/texmf-dist/tex/latex/esvect/esvect.sty)
(c:/TexLive/2022/texmf-dist/tex/latex/tools/bm.sty)
(c:/TexLive/2022/texmf-dist/tex/latex/booktabs/booktabs.sty)
(c:/TexLive/2022/texmf-dist/tex/latex/tools/array.sty)
(c:/TexLive/2022/texmf-dist/tex/latex/paralist/paralist.sty)
(c:/TexLive/2022/texmf-dist/tex/latex/tools/verbatim.sty)
(c:/TexLive/2022/texmf-dist/tex/latex/subfig/subfig.sty
(c:/TexLive/2022/texmf-dist/tex/latex/caption/caption.sty
(c:/TexLive/2022/texmf-dist/tex/latex/caption/caption3.sty)))
(c:/TexLive/2022/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(c:/TexLive/2022/texmf-dist/tex/latex/amsmath/amstext.sty
(c:/TexLive/2022/texmf-dist/tex/latex/amsmath/amsgen.sty))
(c:/TexLive/2022/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(c:/TexLive/2022/texmf-dist/tex/latex/amsmath/amsopn.sty))
(c:/TexLive/2022/texmf-dist/tex/latex/preprint/authblk.sty)
(c:/TexLive/2022/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(c:/TexLive/2022/texmf-dist/tex/latex/sectsty/sectsty.sty

LaTeX Warning: Command \underbar  has changed.
               Check if current package is valid.


LaTeX Warning: Command \underline  has changed.
               Check if current package is valid.

) (c:/TexLive/2022/texmf-dist/tex/latex/tocbibind/tocbibind.sty

Package tocbibind Note: Using section or other style headings.

) (c:/TexLive/2022/texmf-dist/tex/latex/tocloft/tocloft.sty)
(c:/TexLive/2022/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)
(./Myfile.aux)
*geometry* driver: auto-detecting
*geometry* detected driver: dvips
[1]

! LaTeX Error: Cannot determine size of graphic in Myfile.jpg (no
BoundingBox
).

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

l.80 \includegraphics[width=90mm]{Myfile.jpg}



----- configuration info -----
TeXworks version : 0.6.7 ("github") [r.23c4c74, 2/26/2022 6:03 AM]
Install location : C:/TexLive/2022/tlpkg/texworks/texworks.exe
Library path     :
C:/Users/GrafPJ16-Three/.texlive2022/texmf-config/texworks/
pdfTeX location  : C:/texlive/2022/bin/win32/pdftex.exe
Operating system : Windows 10, 64-bit
Qt version       : 5.15.2 (build) / 5.15.2 (runtime)
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texworks/attachments/20221212/416380c3/attachment.html>


More information about the texworks mailing list.