forked from pool/emacs-auctex
This commit is contained in:
commit
9982f5721a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
323
auctex-11.83.dif
Normal file
323
auctex-11.83.dif
Normal file
@ -0,0 +1,323 @@
|
||||
--- latex.el
|
||||
+++ latex.el 2006-06-29 18:40:59.000000000 +0200
|
||||
@@ -1552,6 +1552,7 @@ ELSE as an argument list."
|
||||
",")))))
|
||||
(if (zerop (length style))
|
||||
(setq style LaTeX-default-style))
|
||||
+ (TeX-run-style-hooks style)
|
||||
(if (not (zerop (length options)))
|
||||
(insert LaTeX-optop options LaTeX-optcl))
|
||||
(insert TeX-grop style TeX-grcl))
|
||||
--- tex-site.el.in
|
||||
+++ tex-site.el.in 2006-06-29 18:44:29.000000000 +0200
|
||||
@@ -64,6 +64,8 @@ shared by all users of a site."
|
||||
:group 'TeX-file
|
||||
:type 'directory)
|
||||
|
||||
+(setq-default TeX-macro-global '("/usr/share/texmf/tex/"))
|
||||
+
|
||||
(defconst TeX-mode-alist
|
||||
'((tex-mode . tex-mode)
|
||||
(plain-tex-mode . tex-mode)
|
||||
--- tex.el
|
||||
+++ tex.el 2006-06-29 18:40:59.000000000 +0200
|
||||
@@ -86,7 +86,7 @@
|
||||
|
||||
;; How to print.
|
||||
|
||||
-(defcustom TeX-print-command "%(o?)dvips -P%p %r %s"
|
||||
+(defcustom TeX-print-command "%(o?)dvips %r -f %s | lpr -P%p"
|
||||
"*Command used to print a file.
|
||||
|
||||
First `%p' is expanded to the printer name, then ordinary expansion is
|
||||
--- style/dinbrief.el
|
||||
+++ style/dinbrief.el 2006-06-29 18:40:59.000000000 +0200
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
;; Contributed by Werner Fink <tex@itap.physik.uni-stuttgart.de>
|
||||
;; Please direct comments to him.
|
||||
+;;
|
||||
+;; Change to new dinbrief.sty -- Werner Fink <werner@suse.de>
|
||||
+;; ... yes, we are identical
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
@@ -14,80 +17,120 @@
|
||||
(TeX-add-style-hook "dinbrief"
|
||||
(function
|
||||
(lambda ()
|
||||
+ (add-hook 'LaTeX-document-style-hook
|
||||
+ 'LaTeX-style-dinbrief)
|
||||
(LaTeX-add-environments
|
||||
- '("letter" LaTeX-recipient-hook))
|
||||
+ '("letter" LaTeX-recipient-hook)
|
||||
+ "dinquote")
|
||||
(TeX-add-symbols
|
||||
- '("Absender" "Absender: ")
|
||||
- '("Postvermerk" "Postvermerk: ")
|
||||
- '("Datum" "Datum: ")
|
||||
- '("Betreff" "Betreff: ")
|
||||
- '("Behandlungsvermerk" "Behandlungsvermerk: ")
|
||||
- '("Verteiler" "Verteiler: ")
|
||||
- "makelabel" "Retourlabel"
|
||||
- '("Anlagen" "Anlagen: ")
|
||||
- '("Fenster" "Fenster \(ja/nein\): ")
|
||||
- '("Retouradresse" "Retouradresse: ")
|
||||
+ '("address" "Absender: ")
|
||||
+ '("postremark" "Postvermerk: ")
|
||||
+ '("date" "Datum: ")
|
||||
+ '("subject" "Betreff: ")
|
||||
+ '("handling" "Behandlungsvermerk: ")
|
||||
+ '("cc" "Verteiler: ")
|
||||
+ '("place" "Heutiger Ort: ")
|
||||
+ "makelabels"
|
||||
+ "nowindowrules"
|
||||
+ "windowrules"
|
||||
+ "nowindowtics"
|
||||
+ "windowtics"
|
||||
+ "disabledraftstandard"
|
||||
+ "enabledraftstandard"
|
||||
+ "centeraddress"
|
||||
+ "normaladdress"
|
||||
+ '("encl" "Anlagen: ")
|
||||
+ '("backaddress" "Retouradresse: ")
|
||||
'("signature" "Unterschrift: ")
|
||||
'("opening" "Anrede: ")
|
||||
- '("closing" "Schlu\"s: ")))))
|
||||
+ '("closing" "Schluss: ")))))
|
||||
+
|
||||
+(if (string-match "XEmacs" emacs-version)
|
||||
+ (defun TeX-deactivate-mark () (zmacs-deactivate-region))
|
||||
+ (defun TeX-deactivate-mark () (deactivate-mark)))
|
||||
+
|
||||
+(defmacro din-insert (&rest args)
|
||||
+ "Insert text ignoring active markers."
|
||||
+ `(progn (if (TeX-mark-active) (TeX-deactivate-mark))
|
||||
+ (insert ,@args)))
|
||||
+
|
||||
+(defun LaTeX-style-dinbrief ()
|
||||
+ "Insert some useful packages for writing german letters."
|
||||
+ (if (equal LaTeX-version "2e")
|
||||
+ (save-excursion
|
||||
+ (goto-char (point-min)) ; insert before \begin{document}
|
||||
+ (if (re-search-forward ".begin.document." (point-max) t)
|
||||
+ (beginning-of-line 1))
|
||||
+ (open-line 2)
|
||||
+ (indent-relative-maybe)
|
||||
+ (din-insert TeX-esc "usepackage"
|
||||
+ LaTeX-optop "latin1" LaTeX-optcl
|
||||
+ TeX-grop "inputenc" TeX-grcl)
|
||||
+ (newline-and-indent)
|
||||
+ (din-insert TeX-esc "usepackage"
|
||||
+ LaTeX-optop "T1" LaTeX-optcl
|
||||
+ TeX-grop "fontenc" TeX-grcl)
|
||||
+ (newline-and-indent)
|
||||
+ (din-insert TeX-esc "usepackage"
|
||||
+ TeX-grop "ngerman" TeX-grcl)
|
||||
+ (newline-and-indent)
|
||||
+ (din-insert TeX-esc "usepackage"
|
||||
+ TeX-grop "umlaut" TeX-grcl)
|
||||
+ (TeX-run-style-hooks "inputenc")
|
||||
+ (TeX-run-style-hooks "fontenc")
|
||||
+ (TeX-run-style-hooks "ngerman")
|
||||
+ (TeX-run-style-hooks "umlaut"))))
|
||||
|
||||
(defun LaTeX-recipient-hook (environment)
|
||||
"Insert ENVIRONMENT and prompt for recipient and address."
|
||||
- (let ((sender (read-input "Absender: " (user-full-name)))
|
||||
- (recipient (read-input "Empf\"anger: "))
|
||||
- (address (read-input "Anschrift: "))
|
||||
- (postvermerk (read-input "Postvermerk: "))
|
||||
+ (let (
|
||||
+ (sender (LaTeX-sender))
|
||||
+ (recipient (read-input "Empfänger: "))
|
||||
+ (address (LaTeX-recipient))
|
||||
(date (read-input "Datum: " (LaTeX-today)))
|
||||
- (betreff (read-input "Betreff: "))
|
||||
+ (postremark (read-input "Postvermerk: "))
|
||||
+ (fenster (read-input "Fenster \(ja/nein\): "))
|
||||
(vermerk (read-input "Behandlungsvermerk: "))
|
||||
(verteil (read-input "Verteiler: "))
|
||||
- (anlage (read-input "Anlagen: "))
|
||||
+ (betreff (read-input "Betreff: "))
|
||||
(opening (read-input "Anrede: "))
|
||||
- (closing (read-input "Schlu\"s: "))
|
||||
- (fenster (read-input "Fenster \(ja/nein\): "))
|
||||
+ (closing (read-input "Schluss: "))
|
||||
(signature (read-input "Unterschrift: "))
|
||||
+ (anlage (read-input "Anlagen: "))
|
||||
)
|
||||
|
||||
- (if (not (zerop (length sender)))
|
||||
- (progn
|
||||
- (insert TeX-esc "Absender" TeX-grop sender TeX-grcl)
|
||||
- (newline-and-indent)))
|
||||
- (if (not (zerop (length postvermerk)))
|
||||
- (progn
|
||||
- (insert TeX-esc "Postvermerk" TeX-grop postvermerk TeX-grcl)
|
||||
- (newline-and-indent)))
|
||||
- (if (not (zerop (length betreff)))
|
||||
- (progn
|
||||
- (insert TeX-esc "Betreff" TeX-grop betreff TeX-grcl)
|
||||
- (newline-and-indent)))
|
||||
- (if (not (zerop (length vermerk)))
|
||||
- (progn
|
||||
- (insert TeX-esc "Behandlungsvermerk" TeX-grop vermerk TeX-grcl)
|
||||
- (newline-and-indent)))
|
||||
- (if (not (zerop (length verteil)))
|
||||
- (progn
|
||||
- (insert TeX-esc "Verteiler" TeX-grop verteil TeX-grcl)
|
||||
- (newline-and-indent)))
|
||||
- (if (not (zerop (length anlage)))
|
||||
- (progn
|
||||
- (insert TeX-esc "Anlagen" TeX-grop anlage TeX-grcl)
|
||||
- (newline-and-indent)))
|
||||
(if (string= fenster "ja")
|
||||
(progn
|
||||
- (insert TeX-esc "Fenster")
|
||||
- (let ((retouradr (read-input "Retouradresse: " (user-full-name))))
|
||||
+ (din-insert TeX-esc "enabledraftstandard")
|
||||
+ (newline-and-indent)
|
||||
+ (din-insert TeX-esc "centeraddress")
|
||||
+ (newline-and-indent)
|
||||
+ (din-insert TeX-esc "nowindowrules")
|
||||
+ (newline-and-indent)
|
||||
+ (din-insert TeX-esc "windowtics")
|
||||
+ (newline-and-indent)
|
||||
+ (let ((retouradr (read-input "Retouradresse: " sender)))
|
||||
(newline-and-indent)
|
||||
(if (not (zerop (length retouradr)))
|
||||
(progn
|
||||
- (insert TeX-esc "Retouradresse" TeX-grop retouradr TeX-grcl)
|
||||
- (newline-and-indent))))))
|
||||
+ (if (TeX-mark-active) (TeX-deactivate-mark))
|
||||
+ (din-insert TeX-esc "backaddress" TeX-grop retouradr TeX-grcl)
|
||||
+ (newline-and-indent)))))
|
||||
+ (din-insert TeX-esc "enabledraftstandard")
|
||||
+ (newline-and-indent)
|
||||
+ (din-insert TeX-esc "centeraddress")
|
||||
+ (newline-and-indent)
|
||||
+ (din-insert TeX-esc "nowindowrules")
|
||||
+ (newline-and-indent)
|
||||
+ (din-insert TeX-esc "windowtics"))
|
||||
+ (newline-and-indent)
|
||||
(if (not (zerop (length signature)))
|
||||
(progn
|
||||
- (insert TeX-esc "signature" TeX-grop signature TeX-grcl)
|
||||
+ (din-insert TeX-esc "signature" TeX-grop signature TeX-grcl)
|
||||
(newline-and-indent)))
|
||||
(if (not (zerop (length date)))
|
||||
(progn
|
||||
- (insert TeX-esc "Datum" TeX-grop date TeX-grcl)
|
||||
+ (din-insert TeX-esc "date" TeX-grop date TeX-grcl)
|
||||
(newline-and-indent)))
|
||||
(newline-and-indent)
|
||||
|
||||
@@ -112,9 +155,32 @@
|
||||
(progn
|
||||
(newline)
|
||||
(indent-to addr-column))))))))
|
||||
- (insert "\n")
|
||||
+ (din-insert "\n")
|
||||
(indent-to indentation))
|
||||
- (insert TeX-esc "opening"
|
||||
+ (if (not (zerop (length postremark)))
|
||||
+ (progn
|
||||
+ (din-insert TeX-esc "postremark" TeX-grop postremark TeX-grcl)
|
||||
+ (newline-and-indent)))
|
||||
+ (if (not (zerop (length betreff)))
|
||||
+ (progn
|
||||
+ (din-insert TeX-esc "subject" TeX-grop)
|
||||
+ (if (equal LaTeX-version "2e")
|
||||
+ (din-insert TeX-esc "textbf" TeX-grop betreff TeX-grcl TeX-grcl)
|
||||
+ (din-insert betreff TeX-grcl))
|
||||
+ (newline-and-indent)))
|
||||
+ (if (not (zerop (length vermerk)))
|
||||
+ (progn
|
||||
+ (din-insert TeX-esc "handling" TeX-grop vermerk TeX-grcl)
|
||||
+ (newline-and-indent)))
|
||||
+ (if (not (zerop (length verteil)))
|
||||
+ (progn
|
||||
+ (din-insert TeX-esc "cc" TeX-grop verteil TeX-grcl)
|
||||
+ (newline-and-indent)))
|
||||
+ (if (not (zerop (length anlage)))
|
||||
+ (progn
|
||||
+ (din-insert TeX-esc "encl" TeX-grop anlage TeX-grcl)
|
||||
+ (newline-and-indent)))
|
||||
+ (din-insert TeX-esc "opening"
|
||||
TeX-grop
|
||||
(if (zerop (length opening))
|
||||
(concat TeX-esc " ")
|
||||
@@ -123,7 +189,7 @@
|
||||
|
||||
(indent-relative-maybe)
|
||||
(save-excursion
|
||||
- (insert "\n" TeX-esc "closing"
|
||||
+ (din-insert "\n" TeX-esc "closing"
|
||||
TeX-grop
|
||||
(if (zerop (length closing))
|
||||
(concat TeX-esc " ")
|
||||
@@ -131,6 +197,47 @@
|
||||
TeX-grcl "\n")
|
||||
(indent-relative-maybe))))
|
||||
|
||||
+(defun LaTeX-sender nil
|
||||
+ "Read and writes the senders address"
|
||||
+ (interactive)
|
||||
+ (let ((name (read-input "Absender: " (user-full-name)))
|
||||
+ (str (read-input "Meine Strasse: "))
|
||||
+ (ort (read-input "Mein Wohnort: ")))
|
||||
+ (if (not (zerop (length name)))
|
||||
+ (progn
|
||||
+ (goto-char (point-min)) ; insert before \end{document}
|
||||
+ (if (re-search-forward ".end.document." (point-max) t)
|
||||
+ (beginning-of-line 1))
|
||||
+ (previous-line 1)
|
||||
+ (din-insert TeX-esc "address" TeX-grop name)
|
||||
+ (if (not (zerop (length str)))
|
||||
+ (progn
|
||||
+ (din-insert " " TeX-esc TeX-esc)
|
||||
+ (newline-and-indent)
|
||||
+ (din-insert str)))
|
||||
+ (if (not (zerop (length ort)))
|
||||
+ (progn
|
||||
+ (din-insert " " TeX-esc "par")
|
||||
+ (newline-and-indent)
|
||||
+ (din-insert ort)))
|
||||
+ (din-insert TeX-grcl)
|
||||
+ (newline-and-indent)
|
||||
+ (concat name ", " str ", " ort)))))
|
||||
+
|
||||
+(defun LaTeX-recipient nil
|
||||
+ "Read and returns the recipient address"
|
||||
+ (interactive)
|
||||
+ (let ((str (read-input "Wohnhaft in Strasse: "))
|
||||
+ (ort (read-input "Aus der Ortschaft: ")))
|
||||
+ (if (not (zerop (length str)))
|
||||
+ (if (not (zerop (length ort)))
|
||||
+ (concat str " " TeX-esc TeX-esc " " ort)
|
||||
+ str)
|
||||
+ (if (not (zerop (length ort)))
|
||||
+ ort))
|
||||
+ )
|
||||
+)
|
||||
+
|
||||
(defun LaTeX-today nil
|
||||
"Return a string representing todays date according to flavor."
|
||||
(interactive)
|
||||
@@ -152,12 +259,13 @@
|
||||
ctime-string)
|
||||
(let ((year (substring ctime-string (match-beginning 3) (match-end 3)))
|
||||
(month (substring ctime-string (match-beginning 1) (match-end 1)))
|
||||
- (day (substring ctime-string (match-beginning 2) (match-end 2))))
|
||||
+ (day (substring ctime-string (match-beginning 2) (match-end 2)))
|
||||
+ (place (read-input "Heutiger Ort: ")))
|
||||
(if (assoc month month-alist)
|
||||
(progn
|
||||
(setq month (cdr (assoc month month-alist)))
|
||||
(if (> 2 (length day))
|
||||
(setq day (concat "0" day)))))
|
||||
- (format "Stuttgart, den %s. %s %s" day month year))))
|
||||
+ (format "%s, den %s. %s %s" place day month year))))
|
||||
|
||||
;;; dinbrief.el ends here
|
3
auctex-11.83.tar.bz2
Normal file
3
auctex-11.83.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b15c293987a1fc300339265b989254e746514e9450232851ab57fc5da583012d
|
||||
size 680216
|
144
emacs-auctex.changes
Normal file
144
emacs-auctex.changes
Normal file
@ -0,0 +1,144 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 29 19:36:17 CEST 2006 - werner@suse.de
|
||||
|
||||
- Update to 11.83
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:35:41 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 22 19:24:06 CEST 2005 - werner@suse.de
|
||||
|
||||
- Update to 11.55
|
||||
- Use newer dinbrief.el
|
||||
- Build as non root user
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 21 19:18:14 CEST 2004 - werner@suse.de
|
||||
|
||||
- encl, cc ... should be included within letter environment
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 9 17:09:00 CET 2004 - werner@suse.de
|
||||
|
||||
- Update to 11.14
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 16:44:07 CEST 2002 - werner@suse.de
|
||||
|
||||
- Update to auc-tex 11.11 (bug #16605)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 22 15:47:41 CET 2002 - werner@suse.de
|
||||
|
||||
- Make conditionals in font-lock work with emacs 21.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 9 23:49:20 CET 2002 - ro@suse.de
|
||||
|
||||
- removed te_fr from neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 1 00:26:13 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 8 14:25:54 CET 2001 - werner@suse.de
|
||||
|
||||
- Add all libs reqired by emacs to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 16 12:01:17 CET 2001 - werner@suse.de
|
||||
|
||||
- Mark tex-site.el as config file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 13 12:45:19 CET 2001 - ro@suse.de
|
||||
|
||||
- added emacs-x11 to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 7 14:10:33 CET 2001 - werner@suse.de
|
||||
|
||||
- Rename package to emacs-auctex
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 17 09:16:28 CET 2000 - ro@suse.de
|
||||
|
||||
- ge_exec -> emacs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 6 12:56:18 CEST 2000 - ro@suse.de
|
||||
|
||||
- doc relocation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 25 13:54:49 CET 2000 - werner@suse.de
|
||||
|
||||
- Change dvips print command to be able to avoid config.lp
|
||||
within teTeX package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 17:22:45 CET 2000 - werner@suse.de
|
||||
|
||||
- Make it work for all teTeX versions
|
||||
- /usr/info -> /usr/share/info
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 14 00:18:19 CEST 1999 - werner@suse.de
|
||||
|
||||
- Make dinbrief.sty comaptible to xemacs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 8 21:04:26 CEST 1999 - werner@suse.de
|
||||
|
||||
- New version 9.9p
|
||||
- A few changes to my dinbrief.sty
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 15 12:24:13 CEST 1999 - werner@suse.de
|
||||
|
||||
- added export LC_CTYPE=ISO-8859-1 to install section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 18 12:01:51 MET 1998 - werner@suse.de
|
||||
|
||||
- Change file list because of the new tetex version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 27 13:00:13 MEST 1998 - bs@suse.de
|
||||
|
||||
- added export LC_CTYPE=ISO-8859-1 to build section - emacs needs it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 10 12:14:01 MEST 1998 - bs@suse.de
|
||||
|
||||
- added xaw3d to neededforbuild (ge_exec needs it)
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Mon Jun 2 18:50:31 MET DST 1997 - werner@suse.de
|
||||
- removed /usr/info/latex*.gz ... because it's included in tetex
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Wed May 28 14:40:01 MET DST 1997 - werner@suse.de
|
||||
- New version 9.7p
|
||||
- Skip X-emacs: xemacs-19.15 has an integrated
|
||||
auctex version 9.7l
|
||||
- Added ltx-help.el, latex(2e).info due
|
||||
the auctex-9.7p does not has it anymore
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Mon Nov 4 16:12:03 MET DST 1996 - werner@suse.de
|
||||
|
||||
|
||||
- auctex: Version 9.5a für GNU-emacs und X-emacs
|
||||
|
||||
|
206
emacs-auctex.spec
Normal file
206
emacs-auctex.spec
Normal file
@ -0,0 +1,206 @@
|
||||
#
|
||||
# spec file for package emacs-auctex (Version 11.83)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: emacs-auctex
|
||||
BuildRequires: emacs-x11 ghostscript_any giflib-devel libpng-devel libtiff-devel te_ams te_eplai te_latex xorg-x11 xorg-x11-devel
|
||||
License: GPL
|
||||
Group: Productivity/Editors/Emacs
|
||||
Obsoletes: ge_auc
|
||||
Provides: auc-tex auctex ge_auc
|
||||
Requires: emacs lacheck tetex te_latex
|
||||
Autoreqprov: on
|
||||
Version: 11.83
|
||||
Release: 1
|
||||
Summary: AUC TeX: An Emacs Extension
|
||||
Source: ftp://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.bz2
|
||||
Url: http://www.gnu.org/software/auctex
|
||||
Patch: auctex-%{version}.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
These macros make it easier for you to write TeX documents with GNU
|
||||
Emacs. Documentation can be found under:
|
||||
|
||||
/usr/share/doc/packages/emacs-auctex/
|
||||
|
||||
and in the dvi files math-ref.dvi and tex-ref.dvi (reference cards) and
|
||||
in the info file auctex in emacs info-mode.
|
||||
|
||||
AuC TeX is integrated in XEmacs 19.15 and higher, so these packages may
|
||||
not be installed concurrently. Note that the binary formats of the
|
||||
byte-compiled lisp files of the two emacs editors are incompatible, so
|
||||
you cannot use this package for XEmacs.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Kresten Krab Thorup <auc-tex_mgr@iesd.auc.dk>
|
||||
Per Abrahamsen <abraham@dina.kvl.dk>
|
||||
|
||||
%define _sitedir %{_datadir}/emacs/site-lisp
|
||||
%define _aucdir %{_sitedir}/auctex
|
||||
%prep
|
||||
%setup -n auctex-%{version}
|
||||
%patch
|
||||
|
||||
%build
|
||||
export LC_CTYPE=ISO-8859-1
|
||||
./configure --prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--infodir=%{_infodir} \
|
||||
--mandir=%{_mandir} \
|
||||
--with-emacs \
|
||||
--with-lispdir=%{_sitedir} \
|
||||
--with-auto-dir=%{_aucdir}/auto \
|
||||
--with-texmf-dir=%{_datadir}/texmf \
|
||||
--with-doc-dir=%{_datadir}/texmf/doc/latex/preview \
|
||||
--with-tex-dir=%{_datadir}/texmf/tex/latex/preview
|
||||
rm -rf `find . -name '*.elc'`
|
||||
make
|
||||
make -C doc clean
|
||||
make -C doc
|
||||
make -C doc extradist
|
||||
|
||||
%install
|
||||
export LC_CTYPE=ISO-8859-1
|
||||
make install DESTDIR=%{buildroot}
|
||||
rm -rf %{buildroot}%{_aucdir}/auto
|
||||
pushd %{buildroot}%{_aucdir}/
|
||||
emacs --no-site -batch -L ${RPM_BUILD_ROOT}%{_sitedir}/auctex \
|
||||
--eval '(setq TeX-lisp-directory "%{buildroot}%{_aucdir}")' \
|
||||
--eval '(setq TeX-auto-global "%{buildroot}%{_aucdir}/auto")' \
|
||||
-l %{buildroot}%{_sitedir}/tex-site.el -f TeX-auto-generate-global
|
||||
popd
|
||||
touch %{buildroot}%{_aucdir}/auto/.nosearch
|
||||
rm -f %{buildroot}%{_aucdir}/auto/*.elc
|
||||
cat <<-EOF > %{buildroot}%{_sitedir}/suse-start-auctex.el
|
||||
;;; suse-start-auctex.el
|
||||
;;
|
||||
;; This is used for starting up AUCTeX
|
||||
;; See (info "(auctex)Introduction") on how to disable AUCTeX.
|
||||
;;
|
||||
(load "auctex.el" nil t t)
|
||||
EOF
|
||||
cat <<-EOF > %{buildroot}%{_sitedir}/suse-start-preview-latex.el
|
||||
;;; suse-start-preview-latex.el
|
||||
;;
|
||||
;; This is used for starting up preview-latex of AUCTeX
|
||||
;; See (info "(auctex)Introduction") on how to disable AUCTeX.
|
||||
;;
|
||||
(load "preview-latex.el" nil t t)
|
||||
EOF
|
||||
#
|
||||
# Preview is part of te_latex
|
||||
#
|
||||
rm -rf %{buildroot}%{_datadir}/texmf
|
||||
|
||||
%define info_files auctex.info preview-latex.info
|
||||
|
||||
%post
|
||||
for f in %info_files; do
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/$f.gz
|
||||
done
|
||||
|
||||
%postun
|
||||
for f in %info_files; do
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/$f.gz
|
||||
done
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc README COPYING doc/*.pdf CHANGES ChangeLog
|
||||
%dir %{_sitedir}/
|
||||
%dir %{_aucdir}/
|
||||
%dir %{_aucdir}/auto/
|
||||
%dir %{_aucdir}/images/
|
||||
%dir %{_aucdir}/style/
|
||||
%doc %{_infodir}/*.info.gz
|
||||
%{_aucdir}/*.el
|
||||
%{_aucdir}/*.elc
|
||||
%{_aucdir}/.nosearch
|
||||
%{_aucdir}/auto/*.el
|
||||
%{_aucdir}/images/*.xpm
|
||||
%{_aucdir}/images/*.xbm
|
||||
%{_aucdir}/style/*.el
|
||||
%{_aucdir}/style/*.elc
|
||||
%{_aucdir}/auto/.nosearch
|
||||
%{_aucdir}/style/.nosearch
|
||||
%config %{_sitedir}/suse-start*.el
|
||||
%config %{_sitedir}/auctex.el
|
||||
%config %{_sitedir}/preview-latex.el
|
||||
%config %{_sitedir}/tex-site.el
|
||||
|
||||
%changelog -n emacs-auctex
|
||||
* Thu Jun 29 2006 - werner@suse.de
|
||||
- Update to 11.83
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Thu Sep 22 2005 - werner@suse.de
|
||||
- Update to 11.55
|
||||
- Use newer dinbrief.el
|
||||
- Build as non root user
|
||||
* Tue Sep 21 2004 - werner@suse.de
|
||||
- encl, cc ... should be included within letter environment
|
||||
* Fri Jan 09 2004 - werner@suse.de
|
||||
- Update to 11.14
|
||||
* Tue Jul 02 2002 - werner@suse.de
|
||||
- Update to auc-tex 11.11 (bug #16605)
|
||||
* Fri Feb 22 2002 - werner@suse.de
|
||||
- Make conditionals in font-lock work with emacs 21.1
|
||||
* Sat Feb 09 2002 - ro@suse.de
|
||||
- removed te_fr from neededforbuild
|
||||
* Fri Feb 01 2002 - ro@suse.de
|
||||
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
||||
* Thu Nov 08 2001 - werner@suse.de
|
||||
- Add all libs reqired by emacs to neededforbuild
|
||||
* Fri Mar 16 2001 - werner@suse.de
|
||||
- Mark tex-site.el as config file
|
||||
* Tue Mar 13 2001 - ro@suse.de
|
||||
- added emacs-x11 to neededforbuild
|
||||
* Wed Mar 07 2001 - werner@suse.de
|
||||
- Rename package to emacs-auctex
|
||||
* Fri Nov 17 2000 - ro@suse.de
|
||||
- ge_exec -> emacs
|
||||
* Tue Jun 06 2000 - ro@suse.de
|
||||
- doc relocation
|
||||
* Fri Feb 25 2000 - werner@suse.de
|
||||
- Change dvips print command to be able to avoid config.lp
|
||||
within teTeX package
|
||||
* Thu Feb 24 2000 - werner@suse.de
|
||||
- Make it work for all teTeX versions
|
||||
- /usr/info -> /usr/share/info
|
||||
* Mon Sep 13 1999 - bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Sat Aug 14 1999 - werner@suse.de
|
||||
- Make dinbrief.sty comaptible to xemacs
|
||||
* Thu Jul 08 1999 - werner@suse.de
|
||||
- New version 9.9p
|
||||
- A few changes to my dinbrief.sty
|
||||
* Thu Apr 15 1999 - werner@suse.de
|
||||
- added export LC_CTYPE=ISO-8859-1 to install section
|
||||
* Wed Nov 18 1998 - werner@suse.de
|
||||
- Change file list because of the new tetex version
|
||||
* Mon Jul 27 1998 - bs@suse.de
|
||||
- added export LC_CTYPE=ISO-8859-1 to build section - emacs needs it.
|
||||
* Fri Jul 10 1998 - bs@suse.de
|
||||
- added xaw3d to neededforbuild (ge_exec needs it)
|
||||
* Mon Jun 02 1997 - werner@suse.de
|
||||
- removed /usr/info/latex*.gz ... because it's included in tetex
|
||||
* Wed May 28 1997 - werner@suse.de
|
||||
- New version 9.7p
|
||||
- Skip X-emacs: xemacs-19.15 has an integrated
|
||||
auctex version 9.7l
|
||||
- Added ltx-help.el, latex(2e).info due
|
||||
the auctex-9.7p does not has it anymore
|
||||
* Thu Jan 02 1997 - werner@suse.de
|
||||
- auctex: Version 9.5a für GNU-emacs und X-emacs
|
23
emacs-auctex.test
Normal file
23
emacs-auctex.test
Normal file
@ -0,0 +1,23 @@
|
||||
Testform für AUCTEX
|
||||
===================
|
||||
|
||||
2005/09/22: Version 11.83
|
||||
Maintainer: werner
|
||||
|
||||
Vorraussetzungen:
|
||||
=================
|
||||
|
||||
GNU-Emacs muß installiert sein und
|
||||
in ~/.emacs bzw. ~/.gnu-emacs sollte auctex auch eingebunden
|
||||
sein (siehe /etc/skel/.gnu-emacs und /etc/skel/.emacs).
|
||||
|
||||
Starten:
|
||||
========
|
||||
|
||||
emacs <file>.tex
|
||||
|
||||
Ergebinsse:
|
||||
===========
|
||||
|
||||
Konfortabler LaTeX-Mode für den Emacs. Wird unter
|
||||
/usr/share/doc/packages/auctex/ in diversen DVI-Files beschrieben.
|
Loading…
Reference in New Issue
Block a user