auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Unprivileged install


From: Tassilo Horn
Subject: Re: [AUCTeX] Unprivileged install
Date: Mon, 10 Oct 2011 09:06:10 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

Hi Philipp,

can't you just go without installing at all?

I have a CVS checkout of AUCTeX in which I regularly do

  cvs up && make all

Then I point emacs to the lisp sources using

  (add-to-list 'load-path "~/repos/el/auctex/")
  (load "auctex.el" nil t t)
  (add-to-list 'load-path "~/repos/el/auctex/preview/")
  (load "preview-latex.el" nil t t)

Although, the code suggest otherwise, I don't really use preview-latex.
But I think the only prerequisite is that latex finds the preview.sty,
right?  And for that, you don't need to "make install" that system-wide.
I have a directory ~/.TeX/ in which I simply put style files (or
symlinks to style files), that don't come with TeXLive.  So create a
symlink

  ~/.TeX/preview.sty -> path/to/auctex/preview/latex/preview.sty

To make latex pick up the styles in ~/.TeX, add something like that to
one of your init files (e.g., ~/.bashrc):

  export TEXINPUTS=.:${HOME}/.TeX//:${TEXINPUTS}

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]