TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently installed Ubuntu 13.04 and tried to recompile a pstricks document I had previously created on an older version of Ubuntu. However all the images came out wrong and consist of all the text contained in the image overlayed at a single position within the image. Lines and shapes are not rendered at all.

Trying the basic pstricks example also does not render correctly in the dvi.

\rput(2,2.5){First Example}

It just prints the text without the surrounding frame. I've tried uninstalling texlive and pstricks and reinstalling everything (using apt-get) to no avail. I would appreciate any pointers as to how I can go about tracking down the issue.

Edit: Solved thanks to JosephWright's answer. At first I was compiling using the quickbuild option in texmaker with

latex -> view dvi 

which gave the garbled output. I then tried

latex -> dvips -> view ps

That just hangs indefinitely so I started compiling using just latex and checking the dvi.


latex -> dvips -> ps2pdf 

works perfectly.

share|improve this question
run the document with xelatex. Then you'll get a PDF output – Herbert Aug 16 '13 at 14:29
@Herbert Thanks, that works as well. – Ralf Aug 16 '13 at 15:09
up vote 3 down vote accepted

In general, DVI viewers can't render PostScript (some do include code to do the conversion on-the-fly). Conversion to PostScript (or through to PDF) format is usually the best way to check on the correctness of the output: for me all is fine with the demo (TeX Live 2013).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.