LaTeX Having Trouble Setting Up LaTeX for Graph Theory Class?

  • Thread starter Thread starter Chaostamer
  • Start date Start date
  • Tags Tags
    Issues Latex
AI Thread Summary
Setting up LaTeX for a Graph Theory class can lead to issues, particularly with PDF generation in TeXnicCenter. A common error arises when the viewer, such as Adobe Reader X, is not correctly linked in the output profile settings. To resolve this, users should navigate to the "Build" menu in TeXnicCenter, define the output profile, and ensure the path to the Adobe Reader executable is correctly set. If problems persist, exploring alternative LaTeX distributions like PCTeX may offer a smoother experience. Proper configuration should enable successful PDF generation for LaTeX documents.
Chaostamer
Messages
104
Reaction score
0
First off, let me apologize in advance because I'm pretty sure this isn't the right forum for this question, but I've tried to find an appropriate forum and haven't had a lot of success. I know some people here have been really helpful to me in the past, so I figured that someone could at least point me to the correct forum if nothing else.

Anyway, I've been trying to set up LaTeX for my Graph Theory class. I've installed MiKTeX and TeXnicCenter, but I can't seem to successfully send my files to PDF. Specifically, I get the error message

[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Cannot execute the command.


I know this seems to be a common error, but I searched it for a bit online and didn't find anything that helped me with my problem. For reference, my PDF-reader is Adobe Reader X.

Thanks in advance to anyone who tries to help me.
 
Physics news on Phys.org
I don't know about debugging but I will say that I've used both MiKTeX and TeXnicCenter (among others) and I like what I'm currently using now the best: PCTeX. Everything just...works. I know this doesn't answer your question, but if you become too frustrated with your current setup, look into PCTeX. Also, there are LaTeX forums out there somewhere with very knowledgeable posters.
 
Hi,

Registered here just so I could answer this one. Hope this doesn't come too late for you.

  1. Open TeXnicCenter.
  2. Under the "Build" menu, choose "Define Output Profiles."
  3. Choose the profile you have been using. It is probably the one labeled "LaTeX => PDF".
  4. Now choose the tab that says "Viewer". This is where your problem is happening: TeXnicCenter can't find the viewer you're using.
  5. Next to the box labeled "Path of Executable", click the button labeled "..." and browse to the place where your copy of Adobe Reader X is installed. Click on the executable (it's called "AcroRd32").
  6. Now click the "OK" button at the bottom. Try running LaTeX on a file again. It ought to work now.

Cheers,
SLH
 
Thanks! I really appreciate that. Unfortunately, I won't be able to try it out anytime this week (a big test is taking my focus), but I'll take note of your advice for this weekend when I'll have the time to finally get it together with LaTeX.
 

Similar threads

Replies
12
Views
3K
Replies
1
Views
4K
Replies
11
Views
5K
Replies
7
Views
3K
Replies
16
Views
4K
Replies
7
Views
5K
Replies
2
Views
6K
Back
Top