\usepackage{graphicx}
\usepackage{subfigure}
and the main part
\begin{figure}[htbp]
\includegraphics[width=.48\linewidth]{mobile44.12-jp2-xs.pdf}
\end{figure}
\begin{figure}[htbp]
\subfigure[\jpg]{
\includegraphics[width=.48\linewidth]{mobile44.12-jp2-xs.png}}
\subfigure[\h]{
\includegraphics[width=.48\linewidth]{mobile44.12-h26l-xs.png}}
\caption{Detail}
\label{fig:comp}
\end{figure}
I get suddenly (I changed to a new installation) the errors
! LaTeX Error: Unknown graphics extension: .12-jp2-xs.pdf.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.510 ...th=.48\linewidth]{mobile44.12-jp2-xs.pdf}
?
! LaTeX Error: Unknown graphics extension: .12-jp2-xs.png.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.515 ...h=.48\linewidth]{mobile44.12-jp2-xs.png}}
?
! LaTeX Error: Unknown graphics extension: .12-h26l-xs.png.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.517 ...=.48\linewidth]{mobile44.12-h26l-xs.png}}
What's wrong here?
Thanks for any help.
Till
Maybe you don't want to confuse your pdflatex with an extension like
.12-h26l-xs.png.
Try .png instead.
Rename mobile44.12-jp2-xs.png to mobile44-12-jp2-xs.png and try again.
Martin
Hm, almost embarassing. I didn't see the point in front of
12-h26l-xs.png.
Thanks,
Till
> \includegraphics[width=.48\linewidth]{mobile44.12-jp2-xs.pdf}
> ! LaTeX Error: Unknown graphics extension: .12-jp2-xs.pdf.
LaTeX takes the first dot to determine the extension.
Possibilities:
* Renaming mobile44.12-jp2-xs.pdf -> mobile44_12-jp2-xs.pdf
* Masking the first dot:
\newcommand*{\DOT}{.}
\includegraphics{mobile44\DOT 12-jp2-xs.pdf}
* Extensions given by options:
\includegraphics[type=pdf,ext=.pdf,read=.pdf]{mobile44.12-jp2-xs}
Yours sincerely
Heiko <ober...@uni-freiburg.de>