Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/editors
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22324

Added Files:
        auctex.patch auctex.info 
Log Message:
Add emacs22 flavors.


--- NEW FILE: auctex.patch ---
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
+#
+# elisp install file for Debian auctex package.
+# $Id: install.in,v 1.14 2002/01/18 16:04:09 salve Exp $
+#
+# This is the Debian GNU/Linux prepackaged version of the AUC TeX Emacs lisp
+# package.
+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.
+
+    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/verbatim
 .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/ve
 rbatim.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
+    echo >&2 "done."
+    return 0
+}
+
+do_auto () {
+    @PREFIX@/sbin/update-auctex-elisp ${1}
+    return 0
+}
+
+case "${FLAVOR}" in
+    (emacs) : ;;
+    (emacs20|emacs21|emacs22)
+        do_byte_compile ${FLAVOR}
+        do_auto ${FLAVOR} ;;
+    (*) 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
+#
+# elisp remove file for Debian auctex package.
+# $Id: remove.in,v 1.11 2002/01/18 16:04:10 salve Exp $
+#
+# This is the Debian GNU/Linux prepackaged version of the AUC TeX Emacs lisp
+# package.
+set -o posix
+
+FLAVOR=${1}
+
+undo_byte_compile () {
+    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/
+    test -d @PREFIX@/share/${FLAVOR}/site-lisp/auctex/ && \
+       rmdir --ignore-fail-on-non-empty \
+       @PREFIX@/share/${FLAVOR}/site-lisp/auctex/
+    echo >&2 "done."
+    return 0
+}
+
+undo_auto () {
+    rm -rf @PREFIX@/var/lib/auctex/${FLAVOR}/
+    return 0
+}
+
+case "${FLAVOR}" in
+    (emacs) : ;;
+    (emacs20|emacs21|emacs22)
+        undo_auto
+        undo_byte_compile ;;
+    (*) 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: update-auctex-elisp.in,v 1.8 2002/01/18 16:04:10 salve Exp $
+#
+
+set -o posix
+
+FLAVORS=${*:-"emacs20 emacs21 emacs22"}
+
+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
+
+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
 
 ;; 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"))
 
+;;; 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.")
 
-;;; 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)
 
 ;; 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))
 
 (provide 'tex-site)
 

--- NEW FILE: auctex.info ---
Package: auctex
Version: 11.13
Revision: 12
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
PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
CompileScript: (cd doc; make auctex; make auc-tex_toc.html)
GCC: 3.3
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

 mkdir -p %i/share/man/man8
 mkdir -p %i/share/info
 cp doc/auctex doc/auctex-* %i/share/info

 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 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

 mkdir -p %i/var/lib/auctex

 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
<<
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.

It can indent your text as you write it, let you run TeX/LaTeX and
other LaTeX-related tools (such as a output filter or post processor)
from within Emacs, and includes a wide range of Emacs macros to allow
both easy insertions of LaTeX commands, and easy compilation,
previewing, and printing of your TeX documents.

AUC TeX also lets you browse through compiling errors TeX reports,
while it moves the cursor directly to the reported error and displays
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: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to