WinEdtProblem with DVI viewer

Information and discussion about WinEdt, a commercial integrated LaTeX environment for Windows
Post Reply
marcdein
Posts: 40
Joined: Sat Dec 19, 2009 2:11 pm

Problem with DVI viewer

Post by marcdein »

I have just installed WinEdt on a new PC, and I get the following problem when trying to view a DVI file using Yap. First, I get the following error message:

MiKTeX Problem Report
Message: Invalid argument
Data:
Source: Libraries\MiKTeX\Core\FileStream.cpp
Line: 116
MiKTeX: 2.9

Then, I get lots of the following errors:

MiKTeX Problem Report
Message: Some PostScript specials could not be rendered.
Data: Error: /undefined in H.S
Source: Libraries\MiKTeX\Dvi\Ghostscript.cpp
Line: 372
MiKTeX: 2.9

I am using Windows 7 Home Premium, and the problem occurs both with WinEdt 5.5 and 7.

I would be very grateful for any advice.

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

Re: Problem with DVI viewer

Post by Stefan Kottwitz »

It seems that you use PostScript (PSTricks) in your code, which requires a PostScript viewer or converter. DVI viewers might implement a subset of PostScript but their job is still DVI.

I would view the output using a PostScript capable viewers such as gs, or if PDF would be the final output, then a PDF viewer. It's no problem for modern editors to set the compilation routine to compile to DVI, convert to PS, convert to PDF and to open the PDF.

Stefan
LaTeX.org admin
Post Reply