Re: New to Miktex
Uwe Ziegenhagen <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Message-ID | <[email protected]> |
2011/6/14 Cornelius C. Noack <[email protected]> > On Tue, 14 Jun 2011, Manik Don wrote: > > Date: Tue, 14 Jun 2011 01:26:03 -0700 (PDT) >> From: Manik Don <[email protected]> >> Reply-To: A place for MiKTeX users to discuss MiKTeX related questions. >> <[email protected]> >> To: [email protected] >> Subject: [MiKTeX] New to Miktex >> >> Hi all >> I am new to Miktex >> >> ?? I am trying to include a png image (or jpeg image) into a miktex > document. > >> >> ?? I included the following line > >> >> ?? \includegraphics[width=40mm]{png1} > >> >> ?? and also I have included the > >> \usepackage{graphicx}Â Â to the top of the file >> >> ?? but the output is showing just a blank box with the text "png1.png" > >> >> ?? ** png1.png is my png image name and it is in the current folder. > >> >> ?? Will someone please teach me what is wrong. > >> I am sorry this may be a baby level question. >> Best regards >> Manik >> >> (i) this is not a MikTeX, but a LaTeX question, > (ii) look at, e.g., > > http://amath.colorado.edu/documentation/LaTeX/reference/figures.html > > where you will find that image processing is extraneous to > LaTex itself (i.e. you will not see an image in foo.dvi), > but dvips does. But as the name (`dvi to ps') says dvips > processes eps (`Encapsulated PostScript'); so before running > \includegraphixs you will have to convert your foo.png image > to a foo.eps graphics file. There are several programs for > that; google `png to eps' for further info on that. > > Hth > > ccn. > Without proper minimal example it may not be the correct or best solution. Manik, the following example should compile with pdflatex (!) without problems, there is no conversion to eps necessary. \documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics{png1.png} \end{document} Uwe -- Uwe Ziegenhagen <http://www.uweziegenhagen.de> ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev