I am not sure why it is so hard for me to find an answer to a problem that I am having.
I am using TeXstudio 2.3 on OSX 10.6.
TeXstudio has a "preview" function which, as I understand it, is supposed to allow for quick previewing of a section of a document using the built-in preview pane of the IDE. However, when I try to preview by right-clicking and selecting "Preview Selection", nothing happens. The preview pane is empty (blank). There are no messages in the log file
I've looked at the user manual as well as searched many forums, but there is no documentation of how to enable this function. If there is any required package that I am missing, there is no manual to direct me to it. I've tried the 3 different command options in the configuration of TeXstudio with no avail.
Are there any packages required to enable this function, or any document preparation that I must do?
UPDATE:
I have experimented and discovered some inconsistencies. Eventually, I was able to get the previewer to work on one of my documents, however I had to switch my TeXstudio preview settings to use the "dvips/ghostscript" command option. For some reason, it still doesn't work with another document I have though. I'm going to do more investigating to see if I can find any particular discrepancies with the nonworking document. I have the preview package installed so that isn't the issue.
More info, with my document that doesn't have preview working, there is not even a command shown in the "messages" panel. Whereas, in the document with preview working, it shows the command being run:
Process started: "/usr/texbin/latex" -interaction=nonstopmode -ini "&latex hg13473 \dump"
Process started: "/usr/texbin/latex" -interaction=nonstopmode "w13473".tex
Process exited normally
Process exited normally
Process started: "/usr/texbin/dvips" -E -o "w13473".ps "w13473".dvi
Process exited normally
Process started: /usr/local/bin/gs -q -dSAFER -dBATCH -dNOPAUSE -sDEVICE=png16m -dEPSCrop -sOutputFile="/var/folders/Rg/RgUuzvT1EWaY1iclZahVO++++TI/-Tmp-/w134731.png" "/var/folders/Rg/RgUuzvT1EWaY1iclZahVO++++TI/-Tmp-/w13473.ps"
Process exited normally
Best Answer
Based on Torbjørn's answer, there is a way to get the preview to show in the preview tab. First install preview.sty. On fedora/ubuntu, you can do this with
The on TeXstudio go to Options > Preview > Display mode > Choose always show preview in preview panel. You can also tweak other attributes of the preview here.
Anyway, thanks for asking this question. There are so many features in TeXstudio but not so much documentation.