General ⇒ How to set path to dvi viewer in texnic center
-
- Posts: 4
- Joined: Sun Jun 15, 2008 9:12 pm
How to set path to dvi viewer in texnic center
MiKTeX Problem Report
Message: Windows API error 2: The system cannot find the file specified.
note: yap is located in the Miktex 2.7\miktex\bin subfolder
If I have already started yap, the display updates in spite of the message, but if yap is not started nothing happens. This always worked perfectly out of the box with miktex 2.6 and the earlier texnic center, but now does not on my new compute3r with the newer versions. Can anyone help?
Here's the entire output message.
MiKTeX Problem Report
Message: Windows API error 2: The system cannot find the file specified.
Data: C:\Documents.dvi
Source: C:\work3\miktex-2.7\Libraries\MiKTeX\Core\win\winFile.cpp
Line: 494
MiKTeX: 2.7
OS: Microsoft Windows XP Professional Service Pack 3 (Build 2600)
SystemAdmin: yes
PowerUser: no
SharedSetup: yes
BinDir: C:\Program Files\MiKTeX 2.7\miktex\bin
Root0: C:\Documents and Settings\Bruce\Application Data\MiKTeX\2.7
Root1: C:\Documents and Settings\Bruce\Local Settings\Application Data\MiKTeX\2.7
Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.7
Root3: C:\Program Files\MiKTeX 2.7
Install: C:\Program Files\MiKTeX 2.7
UserConfig: C:\Documents and Settings\Bruce\Application Data\MiKTeX\2.7
UserData: C:\Documents and Settings\Bruce\Local Settings\Application Data\MiKTeX\2.7
CommonConfig: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.7
CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.7
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
- Stefan Kottwitz
- Site Admin
- Posts: 10350
- Joined: Mon Mar 10, 2008 9:44 pm
Re: How to set path to dvi viewer in texnic center
could you post your logfile as attachment? Maybe we would find the reason by examing the log.
Perhaps no dvi file was created because of an error or a pdftex option.
Stefan
-
- Posts: 4
- Joined: Sun Jun 15, 2008 9:12 pm
Re: How to set path to dvi viewer in texnic center
the dvi file created by the latex is there, but when i invoke it with the control-shift-f5 or the icon i get that cryptic message.
does texsniccenter recognize directories with spaces, like Miktex 2.7? the old miktex did not have that space.
thanks a lot.
bruce
- Attachments
-
- InventoryGames23a.log
- (17.17 KiB) Downloaded 492 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to set path to dvi viewer in texnic center
Code: Select all
[15]
! LaTeX Error: Cannot determine size of graphic in holdingcost4item.jpg (no Bou
ndingBox).
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1153 }
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
File: holdingcost4item.jpg Graphic file (type eps)
<holdingcost4item.jpg>
! LaTeX Error: Cannot determine size of graphic in holdingcost8item.jpg (no Bou
ndingBox).
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1158 }
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
File: holdingcost8item.jpg Graphic file (type eps)
<holdingcost8item.jpg>
! LaTeX Error: Cannot determine size of graphic in individual4item.jpg (no Boun
dingBox).
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1182 }
\subfigure[8 products]{
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
File: individual4item.jpg Graphic file (type eps)
<individual4item.jpg>
! LaTeX Error: Cannot determine size of graphic in individual8item.jpg (no Boun
dingBox).
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1185 }
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
File: individual8item.jpg Graphic file (type eps)
<individual8item.jpg>
Blank spaces have to be avoided in the complete path and the name of a graphics file. the path to the MiKTeX executables is not affected.just_bruce wrote:[...] does texsniccenter recognize directories with spaces, like Miktex 2.7? the old miktex did not have that space. [...]
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 4
- Joined: Sun Jun 15, 2008 9:12 pm
Re: How to set path to dvi viewer in texnic center
The question is, what is the correct syntax in texniccenter for using miktex yap as dvi viewer. I have the correct program location and i think the correct command line but i get the message
Windows API error 2: The system cannot find the file specified.
C:\Documents.dvi
even tho the dvi file is where the tex source is, the yap is in the right place, and i can display the file correctly with yap by running it myself first. even the source specials work after that, once i start yap by hand. in the older texnic center the view button (and build-view) started up yap with the correct file, and source specials. so it is just the inconvenience of starting it.
great forum for this old latex user.
bruce