Update dinbrief.patch
OBS-URL: https://build.opensuse.org/package/show/editors/emacs-auctex?expand=0&rev=67
This commit is contained in:
@@ -1,14 +1,15 @@
|
|||||||
Update dinbrief class
|
|
||||||
|
|
||||||
Nowadays UTF-8 is standard, also port the features of the letter class
|
Nowadays UTF-8 is standard, also port the features of the letter class
|
||||||
to dinbrief class.
|
to dinbrief class.
|
||||||
|
|
||||||
|
Signed-off-by: Werner Fink <werner@suse.de>
|
||||||
---
|
---
|
||||||
style/dinbrief.el | 45 ++++++++++++++++++++++++++++++++-------------
|
style/dinbrief.el | 46 +++++++++++++++++++++++++++++++++++-----------
|
||||||
1 file changed, 32 insertions(+), 13 deletions(-)
|
1 file changed, 35 insertions(+), 11 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/style/dinbrief.el b/style/dinbrief.el
|
||||||
|
index c3108466..bdfaba47 100644
|
||||||
--- style/dinbrief.el
|
--- style/dinbrief.el
|
||||||
+++ style/dinbrief.el 2024-05-07 07:10:38.580274545 +0000
|
+++ style/dinbrief.el
|
||||||
@@ -32,14 +32,26 @@
|
@@ -32,14 +32,26 @@
|
||||||
(require 'tex)
|
(require 'tex)
|
||||||
(require 'latex)
|
(require 'latex)
|
||||||
@@ -62,25 +63,29 @@ to dinbrief class.
|
|||||||
TeX-dialect)
|
TeX-dialect)
|
||||||
|
|
||||||
(defmacro LaTeX-dinbrief-insert (&rest args)
|
(defmacro LaTeX-dinbrief-insert (&rest args)
|
||||||
@@ -78,16 +105,8 @@
|
@@ -77,17 +104,14 @@
|
||||||
|
(beginning-of-line 1))
|
||||||
(open-line 2)
|
(open-line 2)
|
||||||
(indent-relative-first-indent-point)
|
(indent-relative-first-indent-point)
|
||||||
(LaTeX-dinbrief-insert TeX-esc "usepackage"
|
- (LaTeX-dinbrief-insert TeX-esc "usepackage"
|
||||||
- LaTeX-optop "latin1,utf8" LaTeX-optcl
|
- LaTeX-optop "latin1,utf8" LaTeX-optcl
|
||||||
- TeX-grop "inputenc" TeX-grcl)
|
- TeX-grop "inputenc" TeX-grcl)
|
||||||
- (newline-and-indent)
|
- (newline-and-indent)
|
||||||
- (LaTeX-dinbrief-insert TeX-esc "usepackage"
|
(LaTeX-dinbrief-insert TeX-esc "usepackage"
|
||||||
- LaTeX-optop "T1" LaTeX-optcl
|
LaTeX-optop "T1" LaTeX-optcl
|
||||||
- TeX-grop "fontenc" TeX-grcl)
|
TeX-grop "fontenc" TeX-grcl)
|
||||||
- (indent-relative-first-indent-point)
|
- (indent-relative-first-indent-point)
|
||||||
- (LaTeX-dinbrief-insert TeX-esc "usepackage"
|
+ (newline-and-indent)
|
||||||
TeX-grop "ngerman" TeX-grcl))
|
(LaTeX-dinbrief-insert TeX-esc "usepackage"
|
||||||
|
- TeX-grop "ngerman" TeX-grcl))
|
||||||
- (TeX-run-style-hooks "inputenc" "fontenc" "ngerman"))
|
- (TeX-run-style-hooks "inputenc" "fontenc" "ngerman"))
|
||||||
+ (TeX-run-style-hooks "ngerman"))
|
+ LaTeX-optop "ngerman" LaTeX-optcl
|
||||||
|
+ TeX-grop "babel" TeX-grcl))
|
||||||
|
+ (TeX-run-style-hooks "fontenc" "babel"))
|
||||||
|
|
||||||
(defun LaTeX-dinbrief-env-recipient (environment)
|
(defun LaTeX-dinbrief-env-recipient (environment)
|
||||||
"Insert ENVIRONMENT and prompt for recipient and address."
|
"Insert ENVIRONMENT and prompt for recipient and address."
|
||||||
@@ -246,7 +265,7 @@
|
@@ -246,7 +270,7 @@
|
||||||
(let ((ctime-string (current-time-string))
|
(let ((ctime-string (current-time-string))
|
||||||
(month-alist '(("Jan" . "Januar")
|
(month-alist '(("Jan" . "Januar")
|
||||||
("Feb" . "Februar")
|
("Feb" . "Februar")
|
||||||
@@ -89,3 +94,5 @@ to dinbrief class.
|
|||||||
("Apr" . "April")
|
("Apr" . "April")
|
||||||
("May" . "Mai")
|
("May" . "Mai")
|
||||||
("Jun" . "Juni")
|
("Jun" . "Juni")
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 11:13:22 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Update dinbrief.patch
|
||||||
|
* Use babel style direct for ngerman
|
||||||
|
* Reintroduce enforced T1 font encoding
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 16 09:27:02 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
Thu May 16 09:27:02 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user