The main purpose of the {preview} package is the extraction of selected elements from a LaTeX source, like formulas or graphics, into separate pages of a DVI file.

learn more… | top users | synonyms

7
votes
1answer
166 views

Add additional info to a preview

The following example works in so far as it shows the image in the source latex file and disregards everything else. Is there some way of performing the same task but also list information about each ...
3
votes
1answer
585 views

preview and standalone crop too much of tikz picture

When I try to fit the page size to my tikz image, too much is cropped. No matter whether I use \documentclass{standalone}, \documentclass[preview=true]{standalone} or ...
3
votes
2answers
369 views

Is there a “smarter” way to know the size of \psbarcode?

The size of 2D barcode depends on the first argument of \psbarcode. I usually do trial and error to find the size of \pspicture such that I get a tight output. \documentclass{article} ...
0
votes
1answer
211 views

preview-latex generates .png previews but does not place them in the buffer

When generating previews, I get a small, empty white box with a border around it. I looked inside the .prv folder and the .png files are indeed being created. emacs has support for .png (e.g. ...
8
votes
2answers
495 views

Build cropped PDF image from LaTeX

I have created an image with pgfplots in a separate file and want to add the PDF that is built from that as an image in my report. The problem is that the image PDF created is a complete A4 format. ...
0
votes
1answer
375 views

Auctex preview: How to suppress opening a new window?

I have emacs+gtk installed on Ubuntu11. I'm just new to Auctex but very interested in it. When completed my .tex document, command C-c,C-c compiles successfully. But repeating C-c,C-c yields option ...
0
votes
1answer
390 views

Preview-latex background color

I'm using AUCTeX + preview-latex to preview math formulas. In addition, I'm using the zenburn color scheme, which has a dark background. Unfortunately, the rendered math previews have a white ...
0
votes
1answer
3k views

AUCTeX XeLaTeX preview fails: fontspec cannot-use-pdftex error

I am struggling setting up AUCTeX preview in a way that I can use it with XeLaTeX documents. When I try to generate the previews I get the following error cannot-use-pdftex generated by the ...
2
votes
0answers
126 views

make flashmode work [closed]

I am not sure whether this is an appropriate question for tex.SE. Anyway: I am trying to use Flashmode, which I discovered reading the answers to this question. Unfortunately I am not able to make it ...
3
votes
2answers
346 views

Sluggish cursor movement in emacs LaTeX-mode

I'm editing a large (around 50k words) tex file in Emacs using AUCTeX and cursor movement is quite sluggish, especially when jumping by word. This isn't a problem in any other mode. Edit: I did some ...
8
votes
5answers
4k views

Is there a TeX/LaTeX editor that can show results in real-time? [duplicate]

Possible Duplicate: What's the fastest way to preview changes as I learn TeX? This is my first post to TeX. I have taken it upon myself to learn how to type math formulations via LaTeX, ...
3
votes
4answers
2k views

Problem getting preview to work in Auctex on Windows 7

I'm trying to get preview of math formulas to work in AUCTeX. When running M-x preview-buffer on simple test document I get the following error: Preview-DviPS finished at Wed Dec 28 00:53:14 DviPS ...
2
votes
0answers
200 views

How can I see what am I writing in a TeX editor? [duplicate]

Possible Duplicate: Is there any way to get real-time compilation for LaTeX? What's the fastest way to preview changes as I learn TeX? I am new member on math.stackexchange.com and I ...
4
votes
2answers
6k views

LaTeX editor with live preview for Windows and RTL language support?

Looking for a LaTeX editor for Windows with the following features: Live preview. (Inherited live preview, not something achievable if you do some tricks.) RTL language support. (Hebrew for example) ...
9
votes
3answers
2k views

'Standalone' TikZ pictures

I want to create a TikZ picture in an external PDF file, which then can be included in my main document via \includegraphics. However, compiling a document with a TikZ picture in it produces a whole ...
3
votes
1answer
169 views

Figure preview wrapper

How do I best preview my figures? I have one file with this: \begin{figure} \begin{tikzpicture} %if tikz ... \end{tikzpicture} \includegraphics{...} %if eps \caption{...} \label{fig:..} ...
3
votes
1answer
1k views

Emacs + Auctex, Latex environment

I'm writing a document in LaTeX. The document is divided in .tex documents and compiled using a Makefile. My question is, could I see the dvi/PDF for the section of the document that I'm already ...
4
votes
3answers
1k views

preview-latex does not function

Preview-latex installs, but doesn't actually preview. When I generate the preview from the source, all I see is... the source. For example, the math equations are highlighted, but not rendered. Some ...
0
votes
1answer
713 views

tikzpicture blank in preview

Using preview-latex to preview the tikzpicture environment shows either a blank rectangle in pdf mode or simply produces no preview file in ps mode. I am using aquamacs 23.3a, using auctex and gs ...
3
votes
3answers
2k views

preview-latex in emacs auctex: empty boxes?

I originally posted this question directly on the Auctex mailing list but did not receive a response. I'll hopefully get more luck on the TeX Exchange. I was recently reminded by this post regarding ...
1
vote
1answer
3k views

Can Texmaker, as I'm typing, automatically create a preview of the document's PDF output?

Currently, I have to use the F1 key to get PDF output. I want to set up Texmaker so that it automatically shows me an in-IDE preview of the PDF file that my .tex file compiles to...as I type. How ...
1
vote
2answers
173 views

Package “preview” + parskip?

Using the "preview"-package, I want to put several paragraphs into one preview-environment. This works; however, any parskip-setting seems to be ignored. \documentclass{minimal} ...
0
votes
2answers
477 views

AUCTeX region preview in Emacs

I've installed AUCTeX and passed the circ.tex preview, however, when I'm trying to add more elements (enumerate, tabular) to preview with \PreviewEnvironment{..} in the preamble, AUCTeX ignores these ...
2
votes
2answers
182 views

Is it possibile to report the baseline of a dvipng converted image without using preview-latex?

I'm compiling .tex with pdftex and to align some PNG images created with dvipng (I love it's speed), I need to use the --depth value from this utility. But as I can read, correct values are output ...
3
votes
1answer
499 views

What kind of “magic” does preview package do to produce a tight paper size?

Actually the following method, that looks like reinventing the wheel, has been discarded once I have known the existence of preview package. % WithoutPreview.tex \documentclass{article} ...
2
votes
2answers
636 views

How to use preview and animate packages together?

I'm used to prepare tikz graphics with preview or standalone packages to crop them. Now I've started to experiment with animations and wanted to do the same. My first test was with Alexander Grahn's ...
2
votes
2answers
239 views

Ghostscript questions [related: preview package to print standalone PDFs]

Using the preview package to generate individual PDFs of images within your document has been covered, for example, in this thread. However, I am trying to understand how you can use Ghostscript to ...
7
votes
6answers
2k views

Live tex compilation

Tools like firebug allow a developer to immediately view the results of changes they make to the HTML of a webpage. Has anyone taken a similar strategy with LaTeX, so that an entire compile cycle is ...
2
votes
4answers
1k views

vim, PDF -XChange, pdflatex, TeX Live 2010, windows xp, (pdfsync)

Hope I didn't forget any. These are the packages I want to use on my computer for typesetting pdf files. Up to date I'm using vim (without any plugin but integrated syntax highlighting for .tex files) ...
7
votes
2answers
1k views

Transparency in tikz, preview package and xelatex

Is it possible to have transparency in a tikz picture while using the preview package and compiling with xelatex? The following mwe compiles without warnings/errors under both xelatex and pdflatex ...
13
votes
3answers
7k views

How to preview LaTeX in Emacs?

I want a similar layout as in SO, I use it currently as my editor but I would like to find such tool under my fingers. I am more vi-prone so having hard time to get preview-latex working with emacs. I ...
4
votes
1answer
1k views

Does tikz 2.1 no longer work with the preview package?

I used to be able to create png images of diagrams made with tikz code by using the preview package and printing the dvi output from dvips to a png file using ghostscript. The latest version of tikz ...
5
votes
3answers
1k views

Crop equations with preview package

Is it possible to avoid left space from equations previewed with preview package? \documentclass{minimal} \usepackage{amsmath} \usepackage[active,tightpage,displaymath]{preview} ...