Document Classeswhy aren't graphs OK in pdf

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
fati
Posts: 3
Joined: Thu Jul 03, 2008 5:46 pm

why aren't graphs OK in pdf

Post by fati »

Hello

Why is it that when I include graphs created in latex with pstricks i can visualize them correctly in dvi but not in pdf? I use texnicenter, people that use winedt don't have this problem!!!
Can anyone help me?

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

why aren't graphs OK in pdf

Post by localghost »

You can't use PSTricks (postscript tricks) directly with pdflatex, except you use the pst-pdf package. But you can take the route LaTeX -> PS -> PDF. If you don't have such a build profile in TeXnicCenter, you can obtain one here in the TeXnicCenter forum.


Best regards an welcome to the board
Thorsten¹
fati
Posts: 3
Joined: Thu Jul 03, 2008 5:46 pm

Re: why aren't graphs OK in pdf + from dvi to tex

Post by fati »

I'm sorry for my ignorance but ... how can I do that?
''If you don't have such a build profile in TeXnicCenter, you can obtain one here in the TeXnicCenter forum.
''

And, by the way, if I loose both the original tex and pdf files, is there a way to recover the tex from the dvi?

Thanks a lot for your help, it's not the 1st time this forum is quite useful..
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

why aren't graphs OK in pdf

Post by localghost »

fati wrote:I'm sorry for my ignorance but ... how can I do that?
"If you don't have such a build profile in TeXnicCenter, you can obtain one here in the TeXnicCenter forum." […]
We have an extra forum here for TeXnicCenter. You can reach it directly from the Index. There in the subforum "General" you will find a (sticky) topic where I provided a build profile "LaTeX => PS => PDF" [1]. All necessary descriptions about how to import that profile into TeXnicCenter are given there.
fati wrote:[…] And, by the way, if I loose both the original tex and pdf files, is there a way to recover the tex from the dvi? […]
No. At least I don't know any method. You can compare that with baking a cake. Try to separate the ingredients.

[1] LaTeX Community • View topic - LateX => PS => PDF


Best regards
Thorsten¹
fati
Posts: 3
Joined: Thu Jul 03, 2008 5:46 pm

why aren't graphs OK in pdf - still me!

Post by fati »

Hi

I'm sorry for being such a pain. I imported the file as you suggested, now I get the message
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Cannot execute the command

I simply saved the file in the miktex\bin folder and imported it from there, what can there be wrong?

Thanks for the pacience...
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: why aren't graphs OK in pdf

Post by localghost »

As I already stated in that topic, the profile works without any error hence the failure must be on your side. Other users got it work. Check very carefully if you adapted all paths to the required executables. It seems to me like you missed adapting the path to the Adobe Reader. Saving the file to the texmf tree was unnecessary since you could have imported it from anywhere else.
Post Reply