Mosè Giordano <m...@gnu.org> writes:

Hi Mosè,

> 2015-07-19 15:04 GMT+02:00 Arash Esbati <esb...@gmx.de>:
>> Hi all,
>>
>> please find attached 7 patches.  From Changelog:

[...]

> Patches installed, thank you so much!

Thank you very much for installing them.  Unfortunately, I found a major
typo in `textpos.el' :-[  Could you please install the following patch
which cures this issue?

Thanks a lot and Best, Arash

>From e74f40b706473f68ce5caa33ff758aab77340d20 Mon Sep 17 00:00:00 2001
From: Arash Esbati <a.esb...@elumatec.net>
Date: Tue, 21 Jul 2015 20:54:05 +0200
Subject: [PATCH 1/2] Fix a typo in the name of provided env's.

* style/textpos.el ("textpos"): Fix the name of the provided env's
which is `textblock' and not `textpos'.
---
 ChangeLog        |  5 +++++
 style/textpos.el | 10 +++++-----
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1825cd7..5265019 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-21  Arash Esbati  <esb...@gmx.de>
+
+	* style/textpos.el ("textpos"): Fix the name of the provided env's
+	which is `textblock' and not `textpos'.
+
 2015-07-18  Arash Esbati  <esb...@gmx.de>
 
 	* latex.el (LaTeX-common-initialization): Query for the default
diff --git a/style/textpos.el b/style/textpos.el
index 6732361..c2f3e19 100644
--- a/style/textpos.el
+++ b/style/textpos.el
@@ -31,8 +31,8 @@
 
 ;;; Code:
 
-(defun LaTeX-env-arg-textpos (env)
-  "Query for the arguments of `textpos' environment and insert
+(defun LaTeX-env-arg-textpos-textblock (env)
+  "Query for the arguments of `textblock' environment and insert
 them."
   (let* ((hsize (TeX-read-string "Width: "))
 	 (ho    (TeX-read-string "(Optional) X reference point: "))
@@ -68,9 +68,9 @@ them."
    (TeX-run-style-hooks "everyshi" "color")
 
    (LaTeX-add-environments
-    ;; \begin{textpos}{<hsize>}[<ho>,<vo>](<hpos>,<vpos>) ... \end{textpos}
-    '("textpos"  LaTeX-env-arg-textpos)
-    '("textpos*" LaTeX-env-arg-textpos))
+    ;; \begin{textblock}{<hsize>}[<ho>,<vo>](<hpos>,<vpos>) ... \end{textblock}
+    '("textblock"  LaTeX-env-arg-textpos-textblock)
+    '("textblock*" LaTeX-env-arg-textpos-textblock))
 
    (TeX-add-symbols
     '("TPGrid" [ LaTeX-arg-textpos-tpgrid ]
-- 
2.4.5

_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to