55 |
Switching back and forth between the source and preview is easy and |
Switching back and forth between the source and preview is easy and |
56 |
natural and can be done for each image independently. Behind the scenes |
natural and can be done for each image independently. Behind the scenes |
57 |
of @previewlatex{}, a sophisticated framework of other programs like |
of @previewlatex{}, a sophisticated framework of other programs like |
58 |
@samp{dvipng}, Dvips and GhostScript are employed together with a |
@samp{dvipng}, Dvips and Ghostscript are employed together with a |
59 |
special @LaTeX{} style file for extracting the material of interest in |
special @LaTeX{} style file for extracting the material of interest in |
60 |
the background and providing fast interactive response. |
the background and providing fast interactive response. |
61 |
|
|
122 |
Its default operation is equivalent to using the `@LaTeX{}' command from |
Its default operation is equivalent to using the `@LaTeX{}' command from |
123 |
@AUCTeX{}. If this happens to be a call of PDF@LaTeX{} generating |
@AUCTeX{}. If this happens to be a call of PDF@LaTeX{} generating |
124 |
@acronym{PDF} output (you need at least @w{@AUCTeX{} 11.51} for this), |
@acronym{PDF} output (you need at least @w{@AUCTeX{} 11.51} for this), |
125 |
then GhostScript will be called directly on the resulting @acronym{PDF} |
then Ghostscript will be called directly on the resulting @acronym{PDF} |
126 |
file. If a @acronym{DVI} file gets produced, first Dvips and then |
file. If a @acronym{DVI} file gets produced, first Dvips and then |
127 |
GhostScript get called by default. |
Ghostscript get called by default. |
128 |
|
|
129 |
The image type to be generated by GhostScript can be configured with |
The image type to be generated by Ghostscript can be configured with |
130 |
|
|
131 |
@example |
@example |
132 |
@kbd{M-x} customize-variable @kbd{RET} preview-image-type @kbd{RET} |
@kbd{M-x} customize-variable @kbd{RET} preview-image-type @kbd{RET} |
139 |
@cindex Using dvipng |
@cindex Using dvipng |
140 |
@pindex dvipng |
@pindex dvipng |
141 |
program installed. In this case, @samp{dvipng} will be used for |
program installed. In this case, @samp{dvipng} will be used for |
142 |
converting @acronym{DVI} files and GhostScript (with a @samp{PNG} |
converting @acronym{DVI} files and Ghostscript (with a @samp{PNG} |
143 |
device) for converting @acronym{PDF} files. @samp{dvipng} is much |
device) for converting @acronym{PDF} files. @samp{dvipng} is much |
144 |
faster than the combination of Dvips and GhostScript. You can get |
faster than the combination of Dvips and Ghostscript. You can get |
145 |
downloads, access to its @acronym{CVS} archive and further information |
downloads, access to its @acronym{CVS} archive and further information |
146 |
from its @uref{http://savannah.nongnu.org/projects/dvipng, project |
from its @uref{http://savannah.nongnu.org/projects/dvipng, project |
147 |
site}. |
site}. |