Graphics, Figures & Tables ⇒ beamer, graphicx | Problematic Image File Name
beamer, graphicx | Problematic Image File Name
However, if I use Y_vs_X_Z0.5.eps and compile using normal latex, it gets
compiled without any error.
My problem is that I have several similar plots and the plots are distinguished only by the value of the parameters, which can have decimals
in their values (e.g. Z=0.5 in my example).
So is there any trick where I can make beamer to overlook the kind of file name which contains characters like dots (.) as in the example that I've mentioned?
Thanks.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 126
- Joined: Sun Feb 13, 2011 8:36 pm
beamer, graphicx | Problematic Image File Name
Code: Select all
\documentclass{beamer}
\usepackage{graphicx}
\begin{document}
\begin{frame}{A Picture With a Period in the Name}
\begin{figure}
\includegraphics[width=8cm,type=png,read=.png,ext=.png]{Y_vs_X_Z0.5}
\caption{This picture has the filename \texttt{Y\_vs\_X\_Z0.5.png}.}
\end{figure}
\end{frame}
\end{document}
beamer, graphicx | Problematic Image File Name
Code: Select all
\usepackage{epstopdf}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
beamer, graphicx | Problematic Image File Name
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10