Troubleshooting LaTeX: Cannot Open PDF or View Changes - Expert Tips

  • Context: LaTeX 
  • Thread starter Thread starter philip041
  • Start date Start date
  • Tags Tags
    Latex Pdf
Click For Summary
SUMMARY

The discussion centers on troubleshooting issues with LaTeX, specifically the error messages related to opening PDF files and viewing changes. Users reported encountering the error "Cannot execute the command" when attempting to build and view documents. A common solution involves ensuring the correct package is used, such as replacing \usepackage{math} with \usepackage{amsmath}. Additionally, switching to alternative compilers like WinEdt may provide a temporary fix for communication issues between TeXnic and Acrobat.

PREREQUISITES
  • Familiarity with LaTeX document preparation system
  • Understanding of LaTeX package management
  • Basic knowledge of PDF viewers and their integration with LaTeX
  • Experience with different LaTeX compilers, such as TeXnic and WinEdt
NEXT STEPS
  • Investigate LaTeX package documentation for proper usage
  • Learn about configuring PDF viewers with LaTeX compilers
  • Explore troubleshooting techniques for common LaTeX errors
  • Research alternative LaTeX editors and their features
USEFUL FOR

This discussion is beneficial for LaTeX users, document authors, and anyone experiencing issues with PDF output and package management in LaTeX environments.

philip041
Messages
104
Reaction score
0
I'm not sure where to have put this question I hope it is in the right place. I have big problem with LaTeX..

I have been writing a document for a while and recently when I click the build and view button it shows this error

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

nothing comes up.

Restarting doesn't help. Also when I have managed to see a pdf, (don't know how), it doesn't shows changes I made? I thought I had it when I looked at http://www.artofproblemsolving.com/Forum/viewtopic.php?t=42360

but I have followed the advice and no luck

Help!
 
Physics news on Phys.org
I've used latex but am no expert, so I'm unsure - but it looks as though on that thread they are suggesting there is a problem with texnic communicating with acrobat. Have you tried a different compiler (e.g. winEdit) for a short-term fix?
 
It turned out that I had written \usepackage{math} instead of \usepackage{amsmath} I had no idea guessing the names of packages could actually have such an effect...
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 36 ·
2
Replies
36
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
10K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
16K
  • · Replies 15 ·
Replies
15
Views
25K