I have problem including EPS in LaTeX document. I am using latex->dvips->ps2pdf workflow to compile LaTeX document file. Error is thrown as
Illegal parameter number in definition
The EPS file is generated by OriginPro7.5 by default ouput setting. It can be viewed in evince in Ubuntu. So is there any requirement for an eps file to be successfully included in LaTeX?
EDIT: To be more specific, below is the LaTeX snippet,
\begin{figure}
\centering
\includegraphics[width=4.5cm]{figures/A.eps}
\end{figure}
Following error is thrown,
! Illegal parameter number in definition of \@tempb.
<to be read again>
1.6 ...idth=4.5cm]{figures/A.eps}
But when I replace A.eps with B.eps, the system works fine, which makes me believe it's a problem of the EPS file.
EDIT2: The real file name contains special character #, which is the cause of this problem. After removing # from the file name, problem solved.
rand_#_sample0.5_1.eps..PS: when I remove # from the file name, it works... thanks – Richard Feb 13 '12 at 22:19