1 infodir=/usr/share/info
2 filelist=(auctex.info.gz preview-latex.info.gz)
5 [ -x usr/bin/install-info ] || return 0
6 for file in ${filelist[@]}; do
7 install-info $infodir/$file $infodir/dir 2> /dev/null
10 ==> For GNU Emacs, the recommended way to activate AUCTeX and preview-latex is to add the
11 ==> following lines to your ~/.emacs file:
12 (load "auctex.el" nil t t)
13 (load "preview-latex.el" nil t t)
23 [ -x usr/bin/install-info ] || return 0
24 for file in ${filelist[@]}; do
25 install-info --delete $infodir/$file $infodir/dir 2> /dev/null