TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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
up vote 1 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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