0

Due to defective MikTeX installation, which I have not been able to fix for several months now after several unsuccessful trials of de- and reinstallations, I migrated to TeXlive. My documents run again now, which is fine. However I was not able to implement a PS viewer like Yap! which is used for TeXstudio with MikTeX. The default setting after installing TeXlive and TeXstudio afterwards is that TeXstudio uses Irvanview as PS viewer because it is on my system. But Irvanview gives me errors that it cannot display the files. PDFs with Adobe or Sumatra are fine after compilation. So it is not a compilation problem. But most of the time I don't need to open the PDF, but just want a preview.

I tried to install Yap! by itself, but however, after setting the PS-path in TeXstudio configuration to this, this just shows me an empty window which is completely different in general from the window I know from MikTeX's Yap!, besides not showing/opening any content.

Sorry if this is a stupid question, but I haven't found an answer for this in my research. How do I set up an internal PS viewer in TeXstudio using TeXlive?

Edit:

I try to clarify. I usually compile with xe- or lualatex. Now that I reinstalled TeXstudio after TeXlive I recognized that Irvanview opens instead of the preview and gives me error. The only path in TeXstudo that shows Irvanview is ps-path, so I thought there is a misconfiguration. Can you please tell me how to configurate these paths without getting unwanted programs and their errors? I can set the pdf-path there, but that is not a preview then anymore. Or do you all usually use pdf (adobe, sumatra, etc.) there? Maybe I am just not used to that.

  • Do you need a PS viewer nowadays? – egreg Apr 20 '18 at 21:40
  • I am not sure if I get your question right... Maybe I used the wrong words. I want a previewer, which opens after compilation of the document. I thought that these internal previewers I know from MikTeX are easier to handle than just to open a pdf - at least when it comes to recompilation, where you get errors when you forget to close the pdf, which happens quite often to me. But you are right, that I do not need it in that sense. As I said, pdf output is fine. I am just very used to the MikTeX previewer that I am looking for an TeXlive alternative if there is any. – Lysanne Apr 20 '18 at 21:49
  • 1
    TeXStudio has an internal PDF previewer. – egreg Apr 20 '18 at 21:52
  • But what is its name? I deinstalled every TeX-related programs, then installed TeXlive and afterwards installed TeXstudio. And TeXstudio choose to use Irvanview. Obviously TeXstudio is not using its own previewer. – Lysanne Apr 20 '18 at 21:56
  • 1
    it is highly unlikely that you were using postscript preview with your previous miktex setup, neither xetex nor luatex can make postscript output, so to get from the output of either you would need to run a conversion from dvi or pdf to get to postscript before viewing – David Carlisle Apr 21 '18 at 7:58
1

With the help of the discussion I learned that XeLaTeX and LuaLaTeX do not generate PS files. So the problem was not the path to the PS viewer. With no PS generated there can't be PS preview. However, since I newly installed TeXstudio the default previewer was set to PS, which seems to be the default configuration of TeXstudio. I changed the default previewer to PDF and now get the internal TeXstudio preview I desired.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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