[tex-live] preview.sty / tlmgr vs AucTeX
Axel E. Retif
axel.retif at mac.com
Tue Mar 9 04:00:56 CET 2010
On 8 Mar, 2010, at 18:34, Reinhard Kotucha wrote:
> On 8 March 2010 Karl Berry wrote:
>
>> I installed preview.sty in the standard way for TL because it is
>> part of the preview[-latex] package on CTAN.
>>
>> David, if you prefer that I install it in texmf (seems wrong to
>> me), or not install it at all
No, not this! Please see below.
>> just let me know. Whatever you want.
>
> Is it feasible to remove preview.sty from CTAN, put it somewhere under
> site-lisp/auctex and set TEXINPUTS in Emacs accordingly? If only
> Emacs needs preview.sty, this is certainly the best solution.
No, please! As a matter of fact, I started using preview.sty before using more seriously Emacs-AucTeX ---on a Mac, with TeXShop, and beamer.cls, I've done standalone TikZ graphics for later inclusion on a book:
> \documentclass{beamer}
> \let\digamma\undefined
> \input{<preamble with TikZ, et al.>}
> \usepackage[active,pdftex,floats,tightpage]{preview}
> \PreviewEnvironment{tikzpicture}
> \setlength\PreviewBorder{-2pt}
>
> \begin{document}
So, preview.sty is *really* useful independently of Emacs-AucTeX.
On the other hand, Seiji Zenitani manages to make a self-contained Emacs-AucTeX-preview package:
http://homepage.mac.com/zenitani/emacs-e.html
But it's way out of my knowledge to replicate his procedure.
Best,
Axel
More information about the tex-live
mailing list