Graphics, Figures & Tables\includegraphics and PSTricks

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

\includegraphics and PSTricks

Post by coachbennett1981 »

I am trying to add pictures to a file that I took snapshots from my textbook. I also wanted to include some graphs that I have that I created in PSTricks. However, when I put the graphics together with \includegraphics and that I have made in PSTricks, both won't show up.

The error message I get is:
! LaTeX Error: File `example3' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.99 \includegraphics[width=4in]{example3}
Now, I use TeXShop and change my output to TeX and DVI, not pdfTeX. Is there a way to include both simultaneously? Any help is appreciated.


Nick

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: \includegraphics and PSTricks

Post by gmedina »

Hi,

perhaps it's just a problem of the format used. Which format are you using for the snapshots? Since you use PS-Tricks, your snapshot images should be in one of the formats EPS or BMP.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Re: \includegraphics and PSTricks

Post by coachbennett1981 »

The files save as PNG
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: \includegraphics and PSTricks

Post by gmedina »

Then, as I already suggested, change the format to either EPS or BMP.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

\includegraphics and PSTricks

Post by CrazyHorse »

coachbennett1981 wrote:I am trying to add pictures to a file that I took snapshots from my textbook. I also wanted to include some graphs that I have that I created in PSTricks. However, when I put the graphics together with \includegraphics and that I have made in PSTricks, both won't show up.

The error message I get is:
! LaTeX Error: File `example3' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.99 \includegraphics[width=4in]{example3}
Now, I use TeXShop and change my output to TeX and DVI, not pdfTeX. Is there a way to include both simultaneously? Any help is appreciated.
Yes, you can run pst2pdf instead of pdflatex, then you can
use png/jpeg and PSTricks. But I never used it on a Mac OSX

Herbert
coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Re: \includegraphics and PSTricks

Post by coachbennett1981 »

I found that since I use TeXShop I already run and save to pdf. Thank you for your suggestions.
Post Reply