## kile-devel

 [Kile-devel] Kile does not convert Latex graphics to html. From: N. Srinivasan - 2009-07-27 12:24:30 I have provided the Latex code below. When I hit the Latex to Web, I the graphics part is omitted. What am I doing wrong? Yes, the file x.eps is already in the same directory. \documentclass[a4paper,12pt]{article} \usepackage{graphicx} % needed for including graphics e.g. EPS, PS \usepackage{float} %opening \title{Some Thoughts on R} \author{Vadulam} \begin{document} \DeclareGraphicsExtensions{.eps,.jpg,.pdf,.mps,.png} \maketitle This article provides some examples of using R-- both in Statistics and Mathematics. We assume that you have already installed R in your computer. See: http://www.r-project.org. There are plenty of introductory and tutorial material at that web site. Let us start with a simple example. Plot $y = x^2$, for values of $-10.0 <= x <=10.0$, with increments of $1.0$ First, we have to generate values of x before we can compute the corresponding values of y. The R command that does this is: $x = -10:10:1$ The first number is the starting number for x, the secondis the end number, the third number is the value by which you increment values of x. To verify the x values, just type x at the command prompt. You will see a list of values for x. Now you are ready to compute values of y. Type, $y = x^2$ at the command prompt. \# is the character that denotes comments and is ignored by R. Now, type y at the command prompt. You will see the list of y values for the corresponding x values. The plot command will display the $y = x^2$ graph on your computer display: plot(x,y,\l\'') \l\'' is not the number one but the lower case L that tells R to connect the points as a continuous line. \pagebreak Here is the result: \begin{figure*}[ht] \includegraphics[width=5.00in,height=5in,angle=270]{x.eps} \caption{The Plot of y} \end{figure*} \end{document}