Update of /cvsroot/fink/dists/10.3/stable/main/finkinfo/editors
In directory 
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv22470/10.3/stable/main/finkinfo/editors

Modified Files:
        auctex.info auctex.patch 
Log Message:
Moved from unstable.

Index: auctex.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.3/stable/main/finkinfo/editors/auctex.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- auctex.patch        24 Jan 2006 05:37:47 -0000      1.1
+++ auctex.patch        5 May 2007 19:37:42 -0000       1.2
@@ -1,368 +1,278 @@
-diff -u -Naur auctex-11.13/fink/install auctex-11.13.fink/fink/install
---- auctex-11.13/fink/install  Wed Dec 31 19:00:00 1969
-+++ auctex-11.13.fink/fink/install     Wed Jan  8 16:09:59 2003
-@@ -0,0 +1,71 @@
-+#!/bin/bash -e
+diff -Naur auctex-11.83.orig/FAQ auctex-11.83/FAQ
+--- auctex-11.83.orig/FAQ      2006-06-08 05:52:46.000000000 +0900
++++ auctex-11.83/FAQ   2006-10-02 06:29:28.000000000 +0900
+@@ -217,8 +217,8 @@
+ Incompatible RPM installation
+      The RPM packages are intended to run on a Redhat system. So the
+      TeX files, provided by package `preview-latex-common' go into
+-     `/usr/share/texmf/tex/latex/preview' and
+-     `/usr/share/texmf/doc/latex/styles/preview'. If for your system the
++     [EMAIL PROTECTED]@/share/texmf/tex/latex/preview' and
++     [EMAIL PROTECTED]@/share/texmf/doc/latex/styles/preview'. If for your 
system the
+      TeX files are in different places you have to set appropriate
+      links.
+ 
+diff -Naur auctex-11.83.orig/doc/preview-faq.texi 
auctex-11.83/doc/preview-faq.texi
+--- auctex-11.83.orig/doc/preview-faq.texi     2005-06-16 17:58:25.000000000 
+0900
++++ auctex-11.83/doc/preview-faq.texi  2006-10-02 06:35:33.000000000 +0900
+@@ -126,8 +126,8 @@
+ @item Incompatible @acronym{RPM} installation
+ The @acronym{RPM} packages are intended to run on a Redhat system. So
+ the TeX files, provided by package @file{preview-latex-common} go into
[EMAIL PROTECTED]/usr/share/texmf/tex/latex/preview} and
[EMAIL PROTECTED]/usr/share/texmf/doc/latex/styles/preview}. If for your system 
the
[EMAIL PROTECTED]@PREFIX@/share/texmf/tex/latex/preview} and
[EMAIL PROTECTED]@PREFIX@/share/texmf/doc/latex/styles/preview}. If for your 
system the
+ TeX files are in different places you have to set appropriate links.
+ 
+ Another possibility is to get the tar archive, edit the
+diff -Naur auctex-11.83.orig/doc/preview-latex.info 
auctex-11.83/doc/preview-latex.info
+--- auctex-11.83.orig/doc/preview-latex.info   2006-06-08 05:52:47.000000000 
+0900
++++ auctex-11.83/doc/preview-latex.info        2006-10-02 06:28:43.000000000 
+0900
+@@ -624,7 +624,7 @@
+    in order to customize this.
+ 
+    One particular problem is that several printer setup files
+-(typically in a file called `/usr/share/texmf/dvips/config/config.pdf'
++(typically in a file called [EMAIL 
PROTECTED]@/share/texmf/dvips/config/config.pdf'
+ if you are using the `-Ppdf' switch) contain the `G' option for
+ `character shifting'.  This option will result in `fi' being rendered
+ as `#' (British Pounds sign) in several fonts, unless your version of
+@@ -1777,8 +1777,8 @@
+ Incompatible RPM installation
+      The RPM packages are intended to run on a Redhat system. So the
+      TeX files, provided by package `preview-latex-common' go into
+-     `/usr/share/texmf/tex/latex/preview' and
+-     `/usr/share/texmf/doc/latex/styles/preview'. If for your system the
++     [EMAIL PROTECTED]@/share/texmf/tex/latex/preview' and
++     [EMAIL PROTECTED]@/share/texmf/doc/latex/styles/preview'. If for your 
system the
+      TeX files are in different places you have to set appropriate
+      links.
+ 
+diff -Naur auctex-11.83.orig/doc/preview-problems.texi 
auctex-11.83/doc/preview-problems.texi
+--- auctex-11.83.orig/doc/preview-problems.texi        2005-06-08 
16:23:40.000000000 +0900
++++ auctex-11.83/doc/preview-problems.texi     2006-10-02 06:36:21.000000000 
+0900
+@@ -104,7 +104,7 @@
+ in order to customize this.
+ 
+ One particular problem is that several printer setup files (typically in
+-a file called @file{/usr/share/texmf/dvips/config/config.pdf} if you are
++a file called @[EMAIL PROTECTED]@/share/texmf/dvips/config/config.pdf} if you 
are
+ using the @option{-Ppdf} switch) contain the @option{G} option for
+ `character shifting'.  This option will result in @samp{fi} being
+ rendered as @[EMAIL PROTECTED] (British Pounds sign) in several fonts,
+diff -Naur auctex-11.83.orig/fink/auctex-install 
auctex-11.83/fink/auctex-install
+--- auctex-11.83.orig/fink/auctex-install      1970-01-01 09:00:00.000000000 
+0900
++++ auctex-11.83/fink/auctex-install   2006-10-02 09:19:57.000000000 +0900
+@@ -0,0 +1,75 @@
++#! /bin/bash -e
 +#
-+# elisp install file for Debian auctex package.
-+# $Id$
++# <% elisp %> Emacs install script for auctex
 +#
-+# This is the Debian GNU/Linux prepackaged version of the AUC TeX Emacs lisp
-+# package.
++# Copyright (C) 1997, 98, 99, 2000, 01, 02, 03, 04, 05, 06
++# by Davide G. M. Salvetti.
++#
++# This program is free software; you can redistribute it and/or modify it
++# under the terms of the GNU General Public License as published by the
++# Free Software Foundation; either version 2 of the License, or (at your
++# option) any later version.
++#
++# This program is distributed in the hope that it will be useful, but
++# WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++# General Public License for more details.
++#
++# You should have received a copy of the GNU General Public License along
++# with this program; if not, write to: The Free Software Foundation, Inc.,
++# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
++
 +set -o posix
 +
 +FLAVOR=${1}
 +
-+do_byte_compile () {
-+    EFLAGS="--no-site-file --no-init-file --batch --load=lpath.el \
-+      --funcall=batch-byte-compile"
-+    EMULEFLAGS="--no-site-file --no-init-file --batch --load=lpath-jp.el \
-+      --funcall=batch-byte-compile"
-+
-+    # hilit-LaTeX.el:
-+    # this shouldn't compile without X, and we have font-latex.el anyway.
++INSTALL="install -o root -g admin -m 644"
++INSTDIR="${INSTALL} -m 755 -d"
 +
-+    echo >&2 -n "install/auctex: Byte-compiling for ${1}... "
-+    install -m 755 -d @PREFIX@/share/${1}/site-lisp/auctex/ \
-+      @PREFIX@/share/${1}/site-lisp/auctex/style/
-+    # This one prevents ${style} from being added to load-path by
-+    # normal-top-level-add-subdirs-to-load-path (see subdirs.el)
-+    (umask 022 && touch @PREFIX@/share/${1}/site-lisp/auctex/style/.nosearch)
-+    for i in auc-old.el tex.el tex-buf.el latex.el tex-info.el texmathp.el 
multi-prompt.el tex-mik.el font-latex.el tex-font.el bib-cite.el tex-fptex.el 
style/prosper.el style/slides.el    style/foils.el    style/amstex.el 
style/article.el   style/book.el     style/letter.el style/report.el    
style/amsart.el   style/amsbook.el style/epsf.el      style/psfig.el    
style/latexinfo.el style/dutch.el     style/german.el   style/dk.el 
style/j-article.el style/j-book.el   style/j-report.el style/jarticle.el  
style/jbook.el    style/jreport.el style/dinbrief.el  style/virtex.el   
style/plfonts.el style/plhb.el      style/harvard.el     [EMAIL 
PROTECTED]@edish.el style/danish.el    style/slovak.el   style/czech.el 
style/amsmath.el   style/amstext.el  style/amsbsy.el style/amsopn.el    
style/amsthm.el  style/natbib.el style/index.el     style/makeidx.el  
style/multind.el style/varioref.el  style/fancyref.el      style/mdwlist.el 
style/ngerman.el   style/graphicx.el   style/graphics.el style/verbati
 m.el
-+      do cp @PREFIX@/share/emacs/site-lisp/auctex/${i} 
@PREFIX@/share/${1}/site-lisp/auctex/${i}
-+    done
-+    cat <<-EOF >@PREFIX@/share/${1}/site-lisp/auctex/lpath.el
-+              (setq load-path (cons "." load-path)
-+                  TeX-lisp-directory "<none>")
-+      EOF
-+    (cd @PREFIX@/share/${1}/site-lisp/auctex/ \
-+      && ${1} ${EFLAGS} auc-old.el tex.el tex-buf.el latex.el tex-info.el 
texmathp.el multi-prompt.el tex-mik.el font-latex.el tex-font.el bib-cite.el 
tex-fptex.el style/prosper.el style/slides.el    style/foils.el    
style/amstex.el style/article.el   style/book.el     style/letter.el 
style/report.el    style/amsart.el   style/amsbook.el style/epsf.el      
style/psfig.el    style/latexinfo.el style/dutch.el     style/german.el   
style/dk.el style/j-article.el style/j-book.el   style/j-report.el 
style/jarticle.el  style/jbook.el    style/jreport.el style/dinbrief.el  
style/virtex.el   style/plfonts.el style/plhb.el      style/harvard.el  [EMAIL 
PROTECTED]@edish.el style/danish.el    style/slovak.el   style/czech.el 
style/amsmath.el   style/amstext.el  style/amsbsy.el style/amsopn.el    
style/amsthm.el  style/natbib.el style/index.el     style/makeidx.el  
style/multind.el style/varioref.el  style/fancyref.el      style/mdwlist.el 
style/ngerman.el   style/graphicx.el   style/graphics.el style/v
 erbatim.el 2>&1 \
-+      | gzip -9qf > CompilationLog.gz)
-+      # We always have MULE, as we don't support emacs19 anymore.
-+    for i in tex-jp.el
-+      do cp @PREFIX@/share/emacs/site-lisp/auctex/${i} \
-+        @PREFIX@/share/${1}/site-lisp/auctex/${i}
-+    done
-+      # This contains an hack to allow byte-compiling
-+      # with japanese multibyte chars
-+    cat <<-EOF >@PREFIX@/share/${1}/site-lisp/auctex/lpath-jp.el
-+              (setq load-path (cons "." load-path)
-+                      TeX-lisp-directory "<none>")
-+              (set-language-environment 'Japanese);')
-+      EOF
-+    (cd @PREFIX@/share/${1}/site-lisp/auctex/ \
-+      && ${1} ${EMULEFLAGS} tex-jp.el 2>&1 \
-+      | gzip -9qf >> CompilationLog.gz)
-+    rm -f @PREFIX@/share/${1}/site-lisp/auctex/*.el \
-+      @PREFIX@/share/${1}/site-lisp/auctex/style/*.el
++do_install () {
++    echo >&2 -n "install/auctex: Setting up for ${FLAVOR}... "
++    cd @PREFIX@/share/emacs/site-lisp/auctex/; umask 0022;
++#   touch --reference configure --date "-1 second" configure.ac
++#   touch --reference configure --date "-1 second" aclocal.m4
++#   touch --reference configure --date "-1 second" preview/configure.ac
++    touch configure
++    ${INSTDIR} @PREFIX@/share/${FLAVOR}/site-lisp/auctex/
++    ./configure --disable-build-dir-test GS=gs \
++      [EMAIL PROTECTED]@/ \
++      --with-emacs=${FLAVOR} \
++      [EMAIL PROTECTED]@/share/${FLAVOR}/site-lisp/ \
++      [EMAIL PROTECTED]@/share/texmf/ \
++      [EMAIL PROTECTED]@/var/lib/auctex/${FLAVOR}/ \
++      >> @PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
++    make lisp \
++      >> @PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
++    make INSTALL="${INSTALL}" MKINSTALLDIRS="${INSTDIR}" \
++      install-lisp install-startup \
++      >> @PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
++    ln -sf @PREFIX@/share/emacs/site-lisp/auctex//images 
@PREFIX@/share/${FLAVOR}/site-lisp/auctex//
++    pushd preview \
++      >> @PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
++    make INSTALL="${INSTALL}" MKINSTALLDIRS="${INSTDIR}" \
++      install-el install-nosearch install-startup \
++      >> @PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
++    popd >> @PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
++    make extraclean \
++      >> @PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
++    find @PREFIX@/share/${FLAVOR}/site-lisp/auctex/ \
++      -type f -name \*.el -print0 | xargs -0 rm -f ,dummy, \
++      >> @PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
++    gzip -9fq @PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog
 +    echo >&2 "done."
 +    return 0
 +}
 +
-+do_auto () {
-+    @PREFIX@/sbin/update-auctex-elisp ${1}
-+    return 0
-+}
-+
 +case "${FLAVOR}" in
 +    (emacs) : ;;
-+    (emacs20|emacs21)
-+        do_byte_compile ${FLAVOR}
-+        do_auto ${FLAVOR} ;;
-+    (*) echo >&2 "install/auctex: Ignoring emacsen flavor ${FLAVOR}." ;;
++    (emacs2*)
++        do_install ;;
++    (*) echo >&2 "install/auctex:" \
++      "Ignoring emacsen flavor: \"${FLAVOR}\"."
++    ;;
 +esac
 +
 +exit 0
-diff -u -Naur auctex-11.13/fink/remove auctex-11.13.fink/fink/remove
---- auctex-11.13/fink/remove   Wed Dec 31 19:00:00 1969
-+++ auctex-11.13.fink/fink/remove      Wed Jan  8 16:09:59 2003
-@@ -0,0 +1,40 @@
-+#!/bin/bash -e
+diff -Naur auctex-11.83.orig/fink/auctex-remove auctex-11.83/fink/auctex-remove
+--- auctex-11.83.orig/fink/auctex-remove       1970-01-01 09:00:00.000000000 
+0900
++++ auctex-11.83/fink/auctex-remove    2006-10-02 08:09:25.000000000 +0900
+@@ -0,0 +1,62 @@
++#! /bin/bash -e
 +#
-+# elisp remove file for Debian auctex package.
-+# $Id$
++# <% elisp %> Emacs remove script for auctex
 +#
-+# This is the Debian GNU/Linux prepackaged version of the AUC TeX Emacs lisp
-+# package.
++# Copyright (C) 1997, 98, 99, 2000, 01, 02, 03, 04, 05, 06
++# by Davide G. M. Salvetti.
++#
++# This program is free software; you can redistribute it and/or modify it
++# under the terms of the GNU General Public License as published by the
++# Free Software Foundation; either version 2 of the License, or (at your
++# option) any later version.
++#
++# This program is distributed in the hope that it will be useful, but
++# WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++# General Public License for more details.
++#
++# You should have received a copy of the GNU General Public License along
++# with this program; if not, write to: The Free Software Foundation, Inc.,
++# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
++
 +set -o posix
 +
 +FLAVOR=${1}
 +
-+undo_byte_compile () {
++undo_install () {
 +    echo >&2 -n "remove/auctex: Removing for ${FLAVOR}... "
-+    rm -f @PREFIX@/share/${FLAVOR}/site-lisp/auctex/{*.elc,CompilationLog.gz}
-+    rm -f @PREFIX@/share/${FLAVOR}/site-lisp/auctex/style/*.elc
-+    rm -f @PREFIX@/share/${FLAVOR}/site-lisp/auctex/style/.nosearch
-+    test -d @PREFIX@/share/${FLAVOR}/site-lisp/auctex/style/ && \
-+      rmdir --ignore-fail-on-non-empty \
-+      @PREFIX@/share/${FLAVOR}/site-lisp/auctex/style/
++    rm -f @PREFIX@/share/${FLAVOR}/site-lisp/auctex//../{auctex,tex-site}.el
++    rm -f @PREFIX@/share/${FLAVOR}/site-lisp/auctex//../preview-latex.el
++    rm -f @PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog{,.gz}
++    rm -f @PREFIX@/share/${FLAVOR}/site-lisp/auctex//images
++    rm -f @PREFIX@/share/${FLAVOR}/site-lisp/auctex//*.elc
++    rm -f @PREFIX@/share/${FLAVOR}/site-lisp/auctex//.nosearch
++    rm -f @PREFIX@/share/${FLAVOR}/site-lisp/auctex//style//*.elc
++    rm -f @PREFIX@/share/${FLAVOR}/site-lisp/auctex//style//.nosearch
++    test -d @PREFIX@/share/${FLAVOR}/site-lisp/auctex//style/ && \
++      rm -rf \
++      @PREFIX@/share/${FLAVOR}/site-lisp/auctex//style/
 +    test -d @PREFIX@/share/${FLAVOR}/site-lisp/auctex/ && \
-+      rmdir --ignore-fail-on-non-empty \
++      rm -rf \
 +      @PREFIX@/share/${FLAVOR}/site-lisp/auctex/
 +    echo >&2 "done."
 +    return 0
 +}
 +
 +undo_auto () {
-+    rm -rf @PREFIX@/var/lib/auctex/${FLAVOR}/
++    rm -rf @PREFIX@/var/lib/auctex//${FLAVOR}/
 +    return 0
 +}
 +
 +case "${FLAVOR}" in
 +    (emacs) : ;;
-+    (emacs20|emacs21)
++    (emacs2*)
 +        undo_auto
-+        undo_byte_compile ;;
-+    (*) echo >&2 "remove/auctex: Ignoring emacsen flavor ${FLAVOR}." ;;
++        undo_install
++    ;;
++    (*) echo >&2 "remove/auctex:" \
++      "Ignoring emacsen flavor: \"${FLAVOR}\"."
++    ;;
 +esac
 +
 +exit 0
-diff -u -Naur auctex-11.13/fink/update-auctex-elisp 
auctex-11.13.fink/fink/update-auctex-elisp
---- auctex-11.13/fink/update-auctex-elisp      Wed Dec 31 19:00:00 1969
-+++ auctex-11.13.fink/fink/update-auctex-elisp Wed Jan  8 16:09:59 2003
-@@ -0,0 +1,20 @@
-+#!/bin/bash -e
-+#
-+# Update AucTeX auto-loads.
-+# Installed by the Debian auctex package.
-+# $Id$
-+#
-+
-+set -o posix
-+
-+FLAVORS=${*:-"emacs20 emacs21"}
+diff -Naur auctex-11.83.orig/fink/auctex-startup 
auctex-11.83/fink/auctex-startup
+--- auctex-11.83.orig/fink/auctex-startup      1970-01-01 09:00:00.000000000 
+0900
++++ auctex-11.83/fink/auctex-startup   2006-10-02 12:36:24.000000000 +0900
+@@ -0,0 +1,28 @@
++;;; This is a conffile: you can edit it if you like; however,
++;;; please note that if you do not want AUCTeX to override the standard
++;;; Emacs TeX mode, you may unload AUCTeX completely by evaluating the
++;;; form "(unload-feature 'tex-site)" (i.e., put that string into your
++;;; "~/.emacs" to disable AUCTeX completely).
 +
-+for FLAVOR in ${FLAVORS}; do
-+    if [ -x @PREFIX@/bin/${FLAVOR} ]; then
-+      ${FLAVOR} --no-site-file --no-init-file --batch \
-+                [EMAIL PROTECTED]@/share/emacs/site-lisp/tex-site.el \
-+                --funcall=TeX-auto-generate-global
-+    fi
-+done
++(let ((list '((lisp . "auctex") (source . "auctex"))))
++  (while list
++    (let ((elt (car list)))
++      (cond
++       ((equal 'lisp (car elt))
++      (let ((dir (concat "@PREFIX@/share/"
++                         (symbol-name fink-emacs-flavor)
++                         "/site-lisp/" (cdr elt))))
++        (when (file-directory-p dir)
++;         (if (fboundp 'fink-pkg-add-load-path-item)
++          (if (and nil (fboundp 'fink-pkg-add-load-path-item))
++              (fink-pkg-add-load-path-item dir)
++            (add-to-list 'load-path dir 'append)))))
++       ((equal 'source (car elt))
++      (let ((dir (concat "@PREFIX@/share/emacs/site-lisp/" (cdr elt))))
++        (when (file-directory-p dir)
++          (add-to-list 'load-path dir 'append))))))
++    (setq list (cdr list))))
 +
-+rm -f $(find @PREFIX@/var/lib/auctex/ -type f -name \*.el)
-diff -u -Naur auctex-11.13/fink/update-auctex-elisp.8 
auctex-11.13.fink/fink/update-auctex-elisp.8
---- auctex-11.13/fink/update-auctex-elisp.8    Wed Dec 31 19:00:00 1969
-+++ auctex-11.13.fink/fink/update-auctex-elisp.8       Wed Jan  8 16:16:06 2003
-@@ -0,0 +1,59 @@
-+.\" Well, you know... this is an -*- nroff -*- source file.
-+.\"
-+.\" Man page for update-auctex-elisp.
-+.\" Copyright 1998, 1999, 2000, 2001 Davide Giovanni Maria Salvetti.
-+.\"
-+.\" This manual page is free software; you can redistribute it and/or
-+ \" modify it under the terms of the GNU General Public License as
-+ \" published by the Free Software Foundation; either version 2 of the
-+ \" License, or (at your option) any later version.
-+.\"
-+.\" This manual page is distributed in the hope that it will be useful,
-+ \" but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ \" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-+ \" General Public License for more details.
-+.\"
-+.\" You should have received a copy of the GNU General Public License
-+ \" along with this manual page; if not, write to: The Free Software
-+ \" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307,
-+ \" USA.
-+.\"
-+.\" On Debian GNU/Linux System you can find a copy of the GNU General
-+ \" Public License in "/usr/share/common-licenses/GPL".
-+.\"
-+.TH Update\-AUCTeX\-elisp 8 "17 February 1998" "Debian Project" "Debian 
GNU/Linux"
-+.SH NAME
-+update\-auctex\-elisp \- update AUC TeX automatically generated TeX
-+macros and LaTeX styles informations.
-+.SH SYNOPSIS
-+.B update\-auctex\-elisp
-+.RI [ FLAVOR .\|.\|. ]
-+.SH DESCRIPTION
-+The
-+.B update\-auctex\-elisp
-+scripts updates the automatically generated TeX and LaTeX informations
-+used by AUC TeX and stored in
-+.B @PREFIX@/var/lib/auctex/
-+.PP
-+It should be called after each major (La)TeX style files installation or 
upgrade.
-+.PP
-+If no arguments are specified, update\-auctex\-elisp caters to every
-+supported Emacs flavor installed on the system; else it updates only the
-+specified flavors, if they are installed.
-+.PP
-+On Debian GNU/Linux system
-+.B update\-auctex\-elisp
-+is called weekly by a
-+.BR cron (8)
-+driven mechanism, to ensure up-to-date informations.
-+.SH BUGS
-+None known.
-+.SH FILES
-+.B @PREFIX@/var/lib/auctex/:
-+the directory containing the byte-compiled files.
-+.SH SEE ALSO
-+.BR emacs (1),
-+.BR tex (1),
-+.BR latex (1).
-+.SH AUTHOR
-+Davide G. M. Salvetti <[EMAIL PROTECTED]>.
-diff -u -Naur auctex-11.13/tex-site.el auctex-11.13.fink/tex-site.el
---- auctex-11.13/tex-site.el   Mon Nov 25 09:43:16 2002
-+++ auctex-11.13.fink/tex-site.el      Wed Jan  8 16:09:59 2003
-@@ -1,7 +1,7 @@
- ;;; tex-site.el - Site specific variables.
- 
--;; Copyright (C) 1991, 2000, 2001 Kresten Krab Thorup 
--;; Copyright (C) 1993, 1994, 1997, 1999 Per Abrahamsen 
-+;; Copyright (C) 1991, 2000, 2001 Kresten Krab Thorup
-+;; Copyright (C) 1993, 1994, 1997, 1999 Per Abrahamsen
++(load "auctex.el")
++(load "preview-latex.el")
++(setq TeX-parse-self t)
+diff -Naur auctex-11.83.orig/tex-jp.el auctex-11.83/tex-jp.el
+--- auctex-11.83.orig/tex-jp.el        2006-06-08 05:26:51.000000000 +0900
++++ auctex-11.83/tex-jp.el     2006-10-02 09:33:27.000000000 +0900
+@@ -99,11 +99,11 @@
  
- ;; Author: Per Abrahamsen <[EMAIL PROTECTED]>
- ;; Maintainer: Per Abrahamsen <[EMAIL PROTECTED]>
-@@ -12,12 +12,12 @@
- ;; it under the terms of the GNU General Public License as published by
- ;; the Free Software Foundation; either version 2, or (at your option)
- ;; any later version.
--;; 
-+;;
- ;; This program is distributed in the hope that it will be useful,
- ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
- ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- ;; GNU General Public License for more details.
--;; 
-+;;
- ;; You should have received a copy of the GNU General Public License
- ;; along with this program; if not, write to the Free Software
- ;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-@@ -37,21 +37,112 @@
- (if (< emacs-major-version 20)
-   (error "AUC TeX requires Emacs 20 or later"))
+ (mapcar (lambda (dir) (add-to-list 'TeX-macro-global dir t))
+   (TeX-macro-global-internal "platex" '("/ptex/" "/jbibtex/bst/")
+-    '("/usr/share/texmf/ptex/" "/usr/share/texmf/jbibtex/bst/")))
++    '("@PREFIX@/share/texmf/ptex/" "@PREFIX@/share/texmf/jbibtex/bst/")))
  
-+;;; Customized for Debian GNU/Linux by Davide G. M. Salvetti <[EMAIL 
PROTECTED]>
-+
-+;; The directory where the AUC TeX lisp files are located.
-+(defvar TeX-lisp-directory (concat
-+                          "@PREFIX@/share/"
-+                          (symbol-name fink-emacs-flavor)
-+                          "/site-lisp/auctex/"))
-+
-+;; Directories containing the sites TeX macro files and style files.
-+;; The directory names *must* end with a slash.
-+(defvar TeX-macro-global '("/usr/local/share/texmf/tex/"
-+                         "/usr/local/share/texmf/bibtex/"
-+                         "@PREFIX@/share/texmf/tex/"
-+                         "@PREFIX@/share/texmf/bibtex/"))
-+
-+;; Directory containing automatically generated information.
-+;; Must end with a slash.
-+(defvar TeX-auto-global (concat
-+                       "@PREFIX@/var/lib/auctex/"
-+                       (symbol-name fink-emacs-flavor)
-+                       "/"))
-+
-+;; List of commands to execute on the current document.
-+(defvar TeX-command-list
-+  `(("TeX" "tex %x '\\nonstopmode\\input %t'" TeX-run-TeX nil t)
-+    ("TeX Interactive" "tex %x %t" TeX-run-interactive nil t)
-+    ("LaTeX" "latex %x '\\nonstopmode\\input{%t}'" TeX-run-LaTeX nil t)
-+    ("LaTeX Interactive" "latex %x %t" TeX-run-interactive nil t)
-+    ,(if (or window-system (getenv "DISPLAY"))
-+       '("View" "%v " TeX-run-silent t nil)
-+       '("View" "catdvi %d " TeX-run-command t nil))
-+    ("Print" "%p %r " TeX-run-command t nil)
-+    ("Queue" "%q" TeX-run-background nil nil)
-+    ("File" "dvips %d -o %f " TeX-run-command t nil)
-+    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil nil)
-+    ("Index" "makeindex %s" TeX-run-command nil t)
-+    ("Check" "lacheck %s" TeX-run-compile nil t)
-+    ("Spell" "<ignored>" TeX-run-ispell-on-document nil nil)
-+    ("Other" "" TeX-run-command t t)
-+    ;; Not part of standard TeX.
-+    ("PDFTeX" "pdftex '\\nonstopmode\\input %t'" TeX-run-TeX nil t)
-+    ("PDFTeX Interactive" "pdftex %t" TeX-run-interactive nil t)
-+    ("PDFLaTeX" "pdflatex '\\nonstopmode\\input{%t}'" TeX-run-LaTeX nil t)
-+    ("PDFLaTeX Interactive" "pdflatex %t" TeX-run-interactive nil t)
-+    ("Makeinfo" "makeinfo %t" TeX-run-compile nil t)
-+    ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil t)
-+    ("ThumbPDF" "thumbpdf %s" TeX-run-command nil nil)
-+    ("AmSTeX" "amstex '\\nonstopmode\\input %t'" TeX-run-TeX nil t)))
-+
-+;; List of style options and view options.
-+(defvar TeX-view-style
-+  `(,(list (concat
-+          "^"
-+          (regexp-opt '("a4paper" "a4" "a4dutch" "a4wide" "sem-a4"))
-+          "$")
-+         "xdvi %d -paper a4")
-+    ,(list (concat
-+          "^"
-+          (regexp-opt '("a5paper" "a5" "a5comb"))
-+          "$")
-+         "xdvi %d -paper a5")
-+    ("^b5paper$" "xdvi %d -paper b5")
-+    ("^letterpaper$" "xdvi %d -paper us")
-+    ("^legalpaper$" "xdvi %d -paper legal")
-+    ("^executivepaper$" "xdvi %d -paper 7.25x10.5in")
-+    ;; We should really know better than this
-+    ("^landscape$" "xdvi %d -paper a4r -s 4")
-+    ;; TeX defaults to letterpaper, xdvi defaults to a4paper
-+    ("." "xdvi %d -paper us")))
-+
-+;; List of style options and print options.
-+(defvar TeX-print-style '(("^landscape$" "-t landscape")))
-+
-+(defcustom TeX-enable-source-specials-p t
-+  "*Non-nil means pass option `--src-specials' to TeX and friends."
-+  :group 'TeX-command
-+  :type 'boolean)
-+
-+;; List of expansion strings for TeX command names.
-+(defvar TeX-expand-list
-+  '(("%p" TeX-printer-query)          ;%p must be the first entry
-+    ("%q" (lambda () (TeX-printer-query TeX-queue-command 2)))
-+    ;; Qui sotto dovremmo mettere qualcosa per controllare anche il landscape.
-+    ;; Un'idea è quella di elencare le opzioni di xdvi nella forma -paper
-+    ;; WWxHHun e poi far scambiare WW e HH se c'è landscape (TeX-style-check
-+    ;; (...))
-+    ("%v" (lambda () (TeX-style-check TeX-view-style)))
-+    ("%r" (lambda () (TeX-style-check TeX-print-style)))
-+    ("%l" (lambda () (TeX-style-check LaTeX-command-style)))
-+    ("%s" file nil t)
-+    ("%t" file t t)
-+    ("%n" TeX-current-line)
-+    ("%d" file "dvi" t)
-+    ("%f" file "ps" t)
-+    ("%g" file "pdf" t)
-+    ("%x" (lambda ()
-+       (if TeX-enable-source-specials-p "--src-specials" "")))
-+    ("%b" TeX-current-file-name-nondirectory)))
-+
-+;;; Autoloads:
-+
- (defvar no-doc
-   "This function is part of AUC TeX, but has not yet been loaded.
- Full documentation will be available after autoloading the function."
-   "Documentation for autoload functions.")
+ (mapcar (lambda (dir) (add-to-list 'TeX-macro-global dir t))
+   (TeX-macro-global-internal "jlatex" '("/jtex/" "/jbibtex/bst/")
+-    '("/usr/share/texmf/jtex/" "/usr/share/texmf/jbibtex/bst/")))
++    '("@PREFIX@/share/texmf/jtex/" "@PREFIX@/share/texmf/jbibtex/bst/")))
  
--;;; Customization:
--;;
--;; Copy variables you need to change from the start of `tex.el' and
--;; insert them here.
--
--(defvar TeX-lisp-directory "@AUCDIR"
--  "*The directory where the AUC TeX lisp files are located.")
--
--;;; Autoloads:
--
- (add-to-list 'load-path TeX-lisp-directory)
+ ;; Menus
  
- ;; This hook will store bibitems when you save a BibTeX buffer.
-@@ -70,10 +161,6 @@
- (autoload 'japanese-slitex-mode "tex-jp" no-doc t)
- ;;(autoload 'texinfo-mode "tex-info" no-doc t)
- (autoload 'latex-mode "latex" no-doc t)
--
--(when (memq system-type '(windows-nt))
--  ;; Try to make life easy for MikTeX users.
--  (require 'tex-mik))
+@@ -157,7 +157,7 @@
+   :type 'string)
+   (make-variable-buffer-local 'japanese-TeX-command-default)
  
- (provide 'tex-site)
+-(defcustom japanese-LaTeX-command-default "LaTeX"
++(defcustom japanese-LaTeX-command-default "pLaTeX"
+   "*The default command for `TeX-command' in the japanese-LaTeX mode."
+   :group 'AUCTeX-jp
+   :type 'string)
+diff -Naur auctex-11.83.orig/tex.el auctex-11.83/tex.el
+--- auctex-11.83.orig/tex.el   2006-06-07 17:59:26.000000000 +0900
++++ auctex-11.83/tex.el        2006-10-02 06:24:56.000000000 +0900
+@@ -1570,7 +1570,7 @@
+ (defun TeX-macro-global ()
+   "Return directories containing the site's TeX macro and style files."
+   (TeX-macro-global-internal "latex" '("/tex/" "/bibtex/bst/")
+-                           '("/usr/share/texmf/tex/" 
"/usr/share/texmf/bibtex/bst/")))
++                           '("@PREFIX@/share/texmf/tex/" 
"@PREFIX@/share/texmf/bibtex/bst/")))
  
+ (defun TeX-macro-global-internal (latex search default)
+   "Return directories containing the site's TeX macro and style files.

Index: auctex.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/stable/main/finkinfo/editors/auctex.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- auctex.info 24 Jan 2006 05:37:47 -0000      1.1
+++ auctex.info 5 May 2007 19:37:42 -0000       1.2
@@ -1,46 +1,92 @@
 Package: auctex
-Version: 11.13
-Revision: 11
+Version: 11.83
+Revision: 2
 Description: Integrated environment for TeX/LaTeX document writing
 License: GPL
-Maintainer: Christian Swinehart <[EMAIL PROTECTED]>
-Depends: emacsen, tetex-base
-Source: http://savannah.nongnu.org/download/%n/stable.pkg/%v/%n-%v.tar.gz
-Source-MD5: 6abe89698b9f03bfbd8745794c06d4b6
+#Maintainer: Christian Swinehart <[EMAIL PROTECTED]>
+Maintainer: Todai Fink Team <[EMAIL PROTECTED]>
+Depends: emacsen, make, tetex3-base | system-tetex, preview-latex (= %v-%r)
+Suggests: lacheck
+Source: mirror:gnu:%n/%n-%v.tar.gz
+Source-MD5: 19480487036f602841507c0e151674c2
 PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
-CompileScript: (cd doc; make auctex; make auc-tex_toc.html)
-GCC: 3.3
+ConfigureParams: --with-texmf-dir=%p/share/texmf auctexdir=..
+CompileScript: <<
+ cd preview       && ./configure %c
+ cd preview/latex && make
+ rm preview/auto.el
+<<
 InstallScript: <<
- mkdir -p %i/share/emacs/site-lisp/auctex/style
- install -m 644 auc-old.el tex.el tex-buf.el latex.el tex-info.el texmathp.el 
multi-prompt.el tex-mik.el font-latex.el tex-font.el bib-cite.el tex-fptex.el 
%i/share/emacs/site-lisp/auctex
- install -m 644 tex-jp.el %i/share/emacs/site-lisp/auctex 
- install -m 644 tex-site.el %i/share/emacs/site-lisp/
- install -m 644 style/*.el %i/share/emacs/site-lisp/auctex/style
+ ##########     For auctex     ##########
+ install -m 755 -d                     %i/share/emacs/site-lisp/%n
+ install -m 755 configure install-sh   %i/share/emacs/site-lisp/%n
+ install -m 644 ChangeLog              %i/share/emacs/site-lisp/%n
+ install -m 644 *.ac *.el *.in *.m4    %i/share/emacs/site-lisp/%n
 
- mkdir -p %i/share/man/man8
- mkdir -p %i/share/info
- cp doc/auctex doc/auctex-* %i/share/info
+ install -m 755 -d                     %i/share/emacs/site-lisp/%n/doc
+ install -m 644 doc/Makefile.in        %i/share/emacs/site-lisp/%n/doc
 
- mkdir -p %i/share/doc/%n/html
- install -m 644 doc/*.html %i/share/doc/%n/html
- mkdir -p %i/share/doc/%n/src
+ install -m 755 -d                     %i/share/emacs/site-lisp/%n/images
+ install -m 644 images/*               %i/share/emacs/site-lisp/%n/images
+ install -m 644 preview/images/*       %i/share/emacs/site-lisp/%n/images
+
+ install -m 755 -d                     
%i/share/emacs/site-lisp/%n/preview/latex
+ install -m 755 preview/configure      %i/share/emacs/site-lisp/%n/preview
+ install -m 644 preview/*.ac           %i/share/emacs/site-lisp/%n/preview
+ install -m 644 preview/*.el           %i/share/emacs/site-lisp/%n/preview
+ install -m 644 preview/*.in           %i/share/emacs/site-lisp/%n/preview
+ install -m 644 preview/latex/*.in     
%i/share/emacs/site-lisp/%n/preview/latex
+
+ install -m 755 -d                     %i/share/emacs/site-lisp/%n/style
+ install -m 644 style/{*.el,.nosearch} %i/share/emacs/site-lisp/%n/style
+
+ install -m 755 -d          %i/share/info
+ install -m 644 doc/%n.info %i/share/info
+
+ install -m 755 -d         %i/share/doc/%n/src
  install -m 644 doc/*.texi %i/share/doc/%n/src
 
- mkdir -p %i/lib/emacsen-common/packages/install
- mkdir -p %i/lib/emacsen-common/packages/remove
- mkdir -p %i/sbin
+ install -m 755 -d %i/var/lib/%n
 
- mkdir -p %i/var/lib/auctex
+ install -m 755 -d              %i/etc/emacs/site-start.d
+ install -m 644 fink/%n-startup %i/etc/emacs/site-start.d/50%n.el
 
- install -m 755 fink/install %i/lib/emacsen-common/packages/install/%n
- install -m 755 fink/remove %i/lib/emacsen-common/packages/remove/%n
- install -m 755 fink/update-auctex-elisp %i/sbin
- install -m 644 fink/update-auctex-elisp.8 %i/share/man/man8
+ install -m 755 -d              %i/lib/emacsen-common/packages/{install,remove}
+ install -m 755 fink/%n-install %i/lib/emacsen-common/packages/install/%n
+ install -m 755 fink/%n-remove  %i/lib/emacsen-common/packages/remove/%n
+
+ ##########     For preview-latex     ##########
+ cd preview/latex && make install-texmf DESTDIR=%d TEXHASH=/bin/echo
+ install -m 644 doc/preview-latex.info %i/share/info
+<<
+DocFiles: CHANGES COPYING ChangeLog FAQ INSTALL README RELEASE TODO
+InfoDocs: %n.info
+ConfFiles: %p/etc/emacs/site-start.d/50%n.el
+SplitOff: <<
+ Package: preview-latex
+ Description: LaTeX style files for editor embedded preview of some 
environments
+ Files: share/texmf share/info/%n.info
+ DocFiles: COPYING preview/latex/{README,preview.pdf}
+ InfoDocs: %n.info
+ PostInstScript: [ -x %p/bin/mktexlsr ] && %p/bin/mktexlsr %p/share/texmf
+ PostRmScript:   [ -x %p/bin/mktexlsr ] && %p/bin/mktexlsr %p/share/texmf
+ Homepage: http://www.gnu.org/software/auctex/preview-latex.html
+ DescDetail: <<
+  These style files are allow previewing LaTeX environments such as math or
+  figures in editors which support it.
+ <<
+<<
+PostInstScript: <<
+if [ "$1" = "configure" ] && [ -x %p/lib/emacsen-common/emacs-package-install ]
+then
+       %p/lib/emacsen-common/emacs-package-install %n
+fi
+<<
+PreRmScript: <<
+if [ -x %p/lib/emacsen-common/emacs-package-remove ] ; then
+       %p/lib/emacsen-common/emacs-package-remove %n
+fi
 <<
-PostInstScript: %p/lib/emacsen-common/emacs-package-install %n
-PreRmScript:    %p/lib/emacsen-common/emacs-package-remove %n
-DocFiles: CHANGES COPYING ChangeLog INSTALLATION PROBLEMS README
-InfoDocs: auctex
 DescDetail: <<
 AUC TeX is a comprehensive customizable integrated environment for
 writing input files for (La)TeX using GNU Emacs.
@@ -56,8 +102,4 @@
 documentation for that particular error.  This will even work when the
 document is spread over several files.
 <<
-DescUsage: <<
-Users can enable AUC TeX by adding (require 'tex-site) to their .emacs
-files.
-<<
 Homepage: http://www.gnu.org/software/auctex/


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to