Compare commits
No commits in common. "factory" and "devel" have entirely different histories.
19
auctex-13.1-expand.patch
Normal file
19
auctex-13.1-expand.patch
Normal file
@ -0,0 +1,19 @@
|
||||
Make it work again with latest texinfo and TeXLive
|
||||
|
||||
---
|
||||
doc/Makefile.in | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- doc/Makefile.in
|
||||
+++ doc/Makefile.in 2023-04-13 09:20:23.005315974 +0000
|
||||
@@ -49,8 +49,8 @@ else
|
||||
TEXI2HTML_TOC=auctex_toc.html
|
||||
endif
|
||||
endif
|
||||
-TEXI2DVI=@TEXI2DVI@
|
||||
-TEXI2PDF=@TEXI2PDF@
|
||||
+TEXI2DVI=@TEXI2DVI@ -E
|
||||
+TEXI2PDF=@TEXI2PDF@ -E
|
||||
MKINSTALLDIRS = ../mkinstalldirs
|
||||
DVIPS=@DVIPS@
|
||||
PERL=@PERL@
|
3
auctex-13.3-auto-TL-2024.tar.xz
Normal file
3
auctex-13.3-auto-TL-2024.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ebbe400f0e3463ed5c7a0446b9baabc4fe86b4f873a6446abbf48a7491b89552
|
||||
size 4928620
|
3
auctex-13.3.tar.gz
Normal file
3
auctex-13.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4f7e57e1241a499f34861d59f3c4652fb47e3896c7a2768edbbbec1e54c91252
|
||||
size 1695608
|
BIN
auctex-13.3.tar.gz.sig
Normal file
BIN
auctex-13.3.tar.gz.sig
Normal file
Binary file not shown.
145
dinbrief.patch
Normal file
145
dinbrief.patch
Normal file
@ -0,0 +1,145 @@
|
||||
Nowadays UTF-8 is standard, also port the features of the letter class
|
||||
to dinbrief class.
|
||||
|
||||
Signed-off-by: Werner Fink <werner@suse.de>
|
||||
---
|
||||
style/dinbrief.el | 67 +++++++++++++++++++++++++++++++++++++++---------------
|
||||
1 file changed, 49 insertions(+), 18 deletions(-)
|
||||
|
||||
--- style/dinbrief.el
|
||||
+++ style/dinbrief.el
|
||||
@@ -32,14 +32,26 @@
|
||||
(require 'tex)
|
||||
(require 'latex)
|
||||
|
||||
+;; Silence the compiler:
|
||||
+(declare-function font-latex-add-keywords
|
||||
+ "font-latex"
|
||||
+ (keywords class))
|
||||
+
|
||||
+(defvar LaTeX-dinbrief-class-options
|
||||
+ '("10pt" "11pt" "12pt" "norm" "a4paper" "a5paper" "b5paper"
|
||||
+ "letterpaper" "legalpaper" "executivepaper" "twoside"
|
||||
+ "addresshigh" "addressstd" "onecolumn" "twocolumn")
|
||||
+ "Class options for the dinbrief class.")
|
||||
+
|
||||
(TeX-add-style-hook
|
||||
"dinbrief"
|
||||
(lambda ()
|
||||
- (add-hook 'LaTeX-document-style-hook
|
||||
- #'LaTeX-dinbrief-style)
|
||||
(LaTeX-add-environments
|
||||
'("letter" LaTeX-dinbrief-env-recipient)
|
||||
"dinquote")
|
||||
+ (add-hook 'LaTeX-document-style-hook
|
||||
+ #'LaTeX-dinbrief-style)
|
||||
+ (setq LaTeX-default-document-environment "letter")
|
||||
(TeX-add-symbols
|
||||
'("address" "Absender")
|
||||
'("postremark" "Postvermerk")
|
||||
@@ -61,12 +73,28 @@
|
||||
'("backaddress" "Retouradresse")
|
||||
'("signature" "Unterschrift")
|
||||
'("opening" "Anrede")
|
||||
- '("closing" "Schluss")))
|
||||
+ '("closing" "Schluss"))
|
||||
+
|
||||
+ ;; Fontification
|
||||
+ (when (and (featurep 'font-latex)
|
||||
+ (eq TeX-install-font-lock 'font-latex-setup))
|
||||
+ (font-latex-add-keywords '(("subject" "{")
|
||||
+ ("address" "{")
|
||||
+ ("signature" "{")
|
||||
+ ("opening" "{")
|
||||
+ ("closing" "{")
|
||||
+ ("location" "{")
|
||||
+ ("handling" "{")
|
||||
+ ("cc" "{")
|
||||
+ ("encl" "{")
|
||||
+ ("ps" "{"))
|
||||
+ 'function)))
|
||||
TeX-dialect)
|
||||
|
||||
(defmacro LaTeX-dinbrief-insert (&rest args)
|
||||
"Insert text ignoring active markers."
|
||||
- `(progn (if mark-active (deactivate-mark))
|
||||
+ `(progn
|
||||
+ (if (TeX-active-mark) (deactivate-mark))
|
||||
(insert ,@args)))
|
||||
|
||||
(defun LaTeX-dinbrief-style ()
|
||||
@@ -77,17 +105,14 @@
|
||||
(beginning-of-line 1))
|
||||
(open-line 2)
|
||||
(indent-relative-first-indent-point)
|
||||
- (LaTeX-dinbrief-insert TeX-esc "usepackage"
|
||||
- LaTeX-optop "latin1,utf8" LaTeX-optcl
|
||||
- TeX-grop "inputenc" TeX-grcl)
|
||||
- (newline-and-indent)
|
||||
(LaTeX-dinbrief-insert TeX-esc "usepackage"
|
||||
LaTeX-optop "T1" LaTeX-optcl
|
||||
TeX-grop "fontenc" TeX-grcl)
|
||||
- (indent-relative-first-indent-point)
|
||||
+ (newline-and-indent)
|
||||
(LaTeX-dinbrief-insert TeX-esc "usepackage"
|
||||
- TeX-grop "ngerman" TeX-grcl))
|
||||
- (TeX-run-style-hooks "inputenc" "fontenc" "ngerman"))
|
||||
+ LaTeX-optop "ngerman" LaTeX-optcl
|
||||
+ TeX-grop "babel" TeX-grcl))
|
||||
+ (TeX-run-style-hooks "fontenc" "babel"))
|
||||
|
||||
(defun LaTeX-dinbrief-env-recipient (environment)
|
||||
"Insert ENVIRONMENT and prompt for recipient and address."
|
||||
@@ -118,8 +143,10 @@
|
||||
(newline-and-indent)
|
||||
(if (not (zerop (length retouradr)))
|
||||
(progn
|
||||
- (if mark-active (deactivate-mark))
|
||||
- (LaTeX-dinbrief-insert TeX-esc "backaddress" TeX-grop retouradr TeX-grcl)
|
||||
+ (if (TeX-active-mark) (deactivate-mark))
|
||||
+ (LaTeX-dinbrief-insert TeX-esc
|
||||
+ "backaddress"
|
||||
+ TeX-grop retouradr TeX-grcl)
|
||||
(newline-and-indent)))))
|
||||
(LaTeX-dinbrief-insert TeX-esc "enabledraftstandard")
|
||||
(newline-and-indent)
|
||||
@@ -205,8 +232,8 @@
|
||||
"Read and write the senders address."
|
||||
(interactive)
|
||||
(let ((name (TeX-read-string "Absender: " (user-full-name)))
|
||||
- (str (TeX-read-string "Meine Strasse: "))
|
||||
- (ort (TeX-read-string "Mein Wohnort: ")))
|
||||
+ (str (TeX-read-string "Meine Strasse: "))
|
||||
+ (ort (TeX-read-string "Mein Wohnort: ")))
|
||||
(if (not (zerop (length name)))
|
||||
(progn
|
||||
(goto-char (point-min)) ; insert before \end{document}
|
||||
@@ -231,8 +258,8 @@
|
||||
(defun LaTeX-dinbrief-recipient ()
|
||||
"Read and return the recipient address."
|
||||
(interactive)
|
||||
- (let ((str (TeX-read-string "Wohnhaft in Strasse: "))
|
||||
- (ort (TeX-read-string "Aus der Ortschaft: ")))
|
||||
+ (let ((str (TeX-read-string "Wohnhaft in Strasse: "))
|
||||
+ (ort (TeX-read-string "Aus der Ortschaft: ")))
|
||||
(if (not (zerop (length str)))
|
||||
(if (not (zerop (length ort)))
|
||||
(concat str " " TeX-esc TeX-esc " " ort)
|
||||
@@ -246,7 +273,7 @@
|
||||
(let ((ctime-string (current-time-string))
|
||||
(month-alist '(("Jan" . "Januar")
|
||||
("Feb" . "Februar")
|
||||
- ("Mar" . "M\\\"arz")
|
||||
+ ("Mar" . "März")
|
||||
("Apr" . "April")
|
||||
("May" . "Mai")
|
||||
("Jun" . "Juni")
|
||||
@@ -270,4 +297,8 @@
|
||||
(setq day (concat "0" day)))))
|
||||
(format "%s, den %s. %s %s" place day month year))))
|
||||
|
||||
+;; Local Variables:
|
||||
+;; coding: utf-8-unix
|
||||
+;; End:
|
||||
+
|
||||
;;; dinbrief.el ends here
|
19
initial-reset.patch
Normal file
19
initial-reset.patch
Normal file
@ -0,0 +1,19 @@
|
||||
Enable initial reset for LaTeX classes to load the class mode
|
||||
at creation of the document. The declared variable is called
|
||||
LaTeX-global-class-files and not TeX-global-class-files.
|
||||
|
||||
---
|
||||
latex.el | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- latex.el
|
||||
+++ latex.el 2024-05-07 06:47:32.754527641 +0000
|
||||
@@ -2706,7 +2706,7 @@ Initialized once at the first time you p
|
||||
May be reset with `\\[universal-argument] \\[TeX-normal-mode]'.")
|
||||
|
||||
;; Add the variable to `TeX-normal-mode-reset-list':
|
||||
-(add-to-list 'TeX-normal-mode-reset-list 'TeX-global-class-files)
|
||||
+(add-to-list 'TeX-normal-mode-reset-list 'LaTeX-global-class-files)
|
||||
|
||||
(defcustom TeX-arg-input-file-search t
|
||||
"If `TeX-arg-input-file' should search for files.
|
Loading…
Reference in New Issue
Block a user