i am using miktex-2.7.3248(2).while including figures am getting error with the command "includegraphics".it is showing that it is unknown command.am using \usepackage[pdftex]{graphicx} package.should i install any other package or software?
thanx in advance........
Graphics, Figures & Tables ⇒ error with command includegraphics
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: error with command includegraphics
Hello,
you are using pdflatex? Which format of the picture are you trying to include?
Pdflatex is able to include pdf,png and jpg.
Converting by latex you can include only eps-files.
For more Informations make a minimal example.
regards
Marco
you are using pdflatex? Which format of the picture are you trying to include?
Pdflatex is able to include pdf,png and jpg.
Converting by latex you can include only eps-files.
For more Informations make a minimal example.
regards
Marco
i am German. I can not use difficult words. 

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
error with command includegraphics
I addition to the minimal working example (MWE) requested by Marco you should give the exact error message. And omit the driver option for the graphicx package. It is enough to load the package without any options.latexuser wrote:[...] while including figures am getting error with the command "includegraphics".it is showing that it is unknown command.am using \usepackage[pdftex]{graphicx} package. [...]
Code: Select all
\usepackage{graphicx}
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10