Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
–
Marco DanielMay 7 '13 at 17:43

1

The error is a postscript error so you will not get an error during latex. You presumably are using pstricks or including an EPS file that is introducing an error. Remove your graphics inclusions and add them back one at a time to see which one breaks.
–
David CarlisleMay 7 '13 at 20:25

2 Answers
2

In your case, Yap (MiKTeX dvi previewer) has problems in rendering your .dvi file.
It may depend on some .eps file you are including (as David pointed out) but not necessarily (I've found that sometimes Yap has problems in rendering of fonts, as well).

I've had the same problem in some .dvi documents of mine and I've solved changing the Render Method to Dvips.

To do this in Yap, go to View -> Render Method and change it from Pk to Dvips.

If you want to change it globally, go to View -> Options -> Display -> Default Render Method and do the same as above.

Also, as pointed out by Heiko Oberdiek, you can change the Backend driver option of hyperref package to hypertex and continue using the [faster and better looking, 1] Pk renderer method of Yap. However, you will not have the bookmarks on the finished pdf file and links will be looking shady if you use hyperref with this driver.

What I (would) do is the following: unless I need the actual pdf file, I use the hyperref package with hypertex driver therefore use Yap (dvi editor) with the faster Pk renderer. If I do need the pdf then I change the driver of hyperref to ps2pdf and compile it with latex(-src-specials) -> dvips(-z -Ppdf) -> ps2pdf -- which will "pass ‘html’ hyperdvi specials through to the output for eventual distillation into PDF [[2][2]]".