I'm using AUCTeX+emacs, and have inline preview enabled (although it could apply to other preview enabled editor like TeXstudio). My document has a TiKZ plot generated using gnuplot, and it has lots of items (drawn lines). When generating inline preview in AUCTeX, the computer had a big swap thrashing as soon as it comes to the part with the figure plot. I don't need preview for the plot, as it won't display correctly anyway as a dvi output. So I want to disable preview only for this part.

I confirmed that enclosing the figure with a nopreview environment will disable inline preview, but then it spouts out error when compiling normally.

Question: What is the right way to disable preview on parts of the document?

Your Answer

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

Browse other questions tagged or ask your own question.