General ⇒ Error When Trying to Show Output
-
- Posts: 13
- Joined: Tue Oct 19, 2010 11:18 pm
Error When Trying to Show Output
\documentclass{article}
\begin{document}
Work for the love of God.
\end{document}
Yet, every time I press View Output, it gives me this error:
C:\PROGRAM FILES (X86)\MIKTEX2.8(COMPLETE)\MIKTEX\BIN\YAP.EXE
Cannot execute the command.
Is there any obvious fix to this? Have I left out any important details?
Thanks for the help,
Trip
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
Re: Error When Trying to Show Output
-
- Posts: 13
- Joined: Tue Oct 19, 2010 11:18 pm
Re: Error When Trying to Show Output
I used to have the Adobe problem. And then I reconfigured the wizard and got this instead. Don't know if that helps or not.
Re: Error When Trying to Show Output
SumatraPDF can be found here:
http://blog.kowalczyk.info/software/sum ... eader.html
Instructions for using it with TeXnicCenter (PDF):
http://www.texniccenter.org/resources/t ... sumatra-en
And see this thread:
http://www.latex-community.org/forum/vi ... =31&t=8717
-
- Posts: 13
- Joined: Tue Oct 19, 2010 11:18 pm
Re: Error When Trying to Show Output
[ForwardSearch("%bm.pdf","%Wc"",%|,0,0,1)]
I assume I entered the Forward Search Path incorrectly. Any suggestions?
Re: Error When Trying to Show Output
executable path:
C:\PROGRA~1\MIKTEX~1.9\miktex\bin\yap.exe
command line argument:
-1 "%bm.dvi"
For Sumatrapdf it would be:
executable path:
C:\Program Files\SumatraPDF\SumatraPDF.exe -inverse-search "\"C:\Program Files\TeXnicCenter\TeXnicCenter.exe\" /ddecmd \"[goto('%f','%l')]\""
DDE command:
[ForwardSearch("%bm.pdf","%Wc",%l,0,0,1)]
-
- Posts: 13
- Joined: Tue Oct 19, 2010 11:18 pm
Re: Error When Trying to Show Output
Thanks for trying though. I appreciate it.
Re: Error When Trying to Show Output
Since sumatra and texniccenter will both be 32 bit you should try:
C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe -inverse-search "\"C:\Program Files (x86)\TeXnicCenter\TeXnicCenter.exe\" /ddecmd \"[goto('%f','%l')]\""
Or something similar.
Re: Error When Trying to Show Output
-
- Posts: 13
- Joined: Tue Oct 19, 2010 11:18 pm
Error When Trying to Show Output
DVI? I thought Sumatra was a pdf thingy?MartinC wrote:Are you sure a dvi file is created? What if you try to open it directly?
And yes, I make sure to include the 32-bit address in the paths that need them.