[Tex/LaTex] Why isn’t the LaTex preview pane showing the preview in emacs


I recently installed latex preview pane on my emacs. It turned out that it is not showing the proper preview. Instead it shows some random codes as shown in the snapshot. How do I make it show the preview? Please give detailed instructions.
enter image description here

Best Answer

I supposed it is a problem with doc-view on windows. I quote part of my answer here for the windows part:

  • follow the intruction on emacswiki to install a ps/pdf viewer
  • open the ps/pdf produced as any other file. (C-x C-f file_name.pdf/ps), doc-view mode will be used and you will be able to see the document.