1

I am using Kile to convert a .tex file to HTML (LaTeX to web) but when I look at the HTML page it does not show me the images. I tried including them in PostScript and PNG but still the HTML page does not show the images.

Here is an example that show the LaTeX file with the image:

\documentclass[12pt]{article}
\usepackage{graphicx}

\begin{document}
text
.
.
.
\begin{figure}[hr]
     \centering
      \resizebox{0.6\textwidth}{!}{\includegraphics[angle=-90]{./sey1.png}}
       \label{sey1}
\end{figure}

\end{document}

I tried with both PostScript and PNG and got the same result. It also complained about using the graphicx package.

Any suggestions?

migrated from stackoverflow.com Jan 29 '12 at 5:37

This question came from our site for professional and enthusiast programmers.

  • We will need to see the exact detail of this issue, for example 'complained' does not give us enough information to help. – Joseph Wright Aug 5 '12 at 11:39
1

First, you should use \includegraphics only with .eps image format.

Then, you should try to compile your tex like this: .tex->.dvi->.html or .tex->.dvi->.ps->.html.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.