[AUCTeX-devel] Small patch for MinionPro.el

2014-10-11 Thread Arash Esbati
Hi, may I propose a small patch for MinionPro.el? Rationale: \figureversion can contain `style' and `alignment' (e.g., \figureversion{osf,prop}) --- MinionPro.el~ 2014-10-06 18:57:32.0 +0200 +++ MinionPro.el2014-10-11 07:49:26.404204800 +0200 @@ -36,11 +36,10 @@

Re: [AUCTeX-devel] Small patch for MinionPro.el

2014-10-12 Thread Arash Esbati
Hi Mosè, Mosè Giordano m...@gnu.org writes: May I ask you where this feature is described? The package documentation is not so clear to me about this and I don't have to package to test with it. Indeed, the documentation of MinionPro is not very clear here. \figureversion is provided by

Re: [AUCTeX-devel] Small patch for MinionPro.el

2014-10-18 Thread Arash Esbati
Hi Mosè, Mosè Giordano m...@gnu.org writes: Since this package is loaded by MinionPro.sty, you should also add an appropriate hook in MinionPro.el, and remove from that style file the macros defined in fontaxes.el. Since this is a new style file, you should also add the header (copyright

Re: [AUCTeX-devel] Small patch for MinionPro.el

2014-11-02 Thread Arash Esbati
notice and a short description of the file). Sorry, but it took longer, but here we go. Some other style file are on the way as well. Best, Arash 2014-10-31 Arash Esbati esb...@gmx.de * style/MinionPro.el (TeX-add-symbols): Remove `figureversion', `textsw', `textssc

[AUCTeX-devel] Support for textcomp.sty

2014-11-02 Thread Arash Esbati
Hi, I could not find a support file for textcomp.sty, so I wrote one. I hope I am not overseeing the obvious. Best, Arash 2014-10-31 Arash Esbati esb...@gmx.de * style/textcomp.el: New file. ;;; textcomp.el --- AUCTeX style for `textcomp.sty' (v1.99g) ;; Copyright (C) 2014 Free

[AUCTeX-devel] Support for zlmtt.sty

2014-11-02 Thread Arash Esbati
Hi, this file adds support for zlmtt.sty. Best, Arash 2014-10-31 Arash Esbati esb...@gmx.de * style/zlmtt.el: New file. ;;; zlmtt.el --- AUCTeX style for `zlmtt.sty' (v1.01) ;; Copyright (C) 2014 Free Software Foundation, Inc. ;; Author: Arash Esbati esbati'at'gmx.de

[AUCTeX-devel] Support for AnonymousPro.sty

2014-11-02 Thread Arash Esbati
Hi, this file adds support for AnonymousPro.sty. Best, Arash 2014-10-31 Arash Esbati esb...@gmx.de * style/AnonymousPro.el: New file. ;;; AnonymousPro.el --- AUCTeX style for `AnonymousPro.sty' (v2.1) ;; Copyright (C) 2014 Free Software Foundation, Inc. ;; Author: Arash Esbati

[AUCTeX-devel] Support for eso-pic.sty

2014-11-02 Thread Arash Esbati
Hi, this file adds support for eso-pic.sty. Best, Arash 2014-10-31 Arash Esbati esb...@gmx.de * style/eso-pic.el: New file. ;;; eso-pic.el --- AUCTeX style for `eso-pic.sty' (v2.0d) ;; Copyright (C) 2014 Free Software Foundation, Inc. ;; Author: Arash Esbati esbati'at'gmx.de

[AUCTeX-devel] Support for fontaxes.sty

2014-11-02 Thread Arash Esbati
Hi, this file adds support for fontaxes.sty. Best, Arash 2014-10-31 Arash Esbati esb...@gmx.de * style/fontaxes.el: New file. ;;; fontaxes.el --- AUCTeX style for `fontaxes.sty' version v1.0d ;; Copyright (C) 2014 Free Software Foundation, Inc. ;; Maintainer: auctex-devel

[AUCTeX-devel] Support for XCharter.sty

2014-11-02 Thread Arash Esbati
Hi, this file adds support for XCharter.sty. Best, Arash 2014-10-31 Arash Esbati esb...@gmx.de * style/XCharter.el: New file. ;;; XCharter.el --- AUCTeX style for `XCharter.sty' (v1.05) ;; Copyright (C) 2014 Free Software Foundation, Inc. ;; Author: Arash Esbati esbati'at'gmx.de

Re: [AUCTeX-devel] Add various style files

2014-11-03 Thread Arash Esbati
Hi Tassilo, Tassilo Horn tsdh at gnu.org writes: Thank you, I've committed the patch. Thank you. I just found a typo, could you please apply this as well? My apologies for this. diff --git a/Makefile.in b/Makefile.in index 201caa8..15b130f 100644 --- a/Makefile.in +++ b/Makefile.in @@

[AUCTeX-devel] [PATCH] Add new styles.

2014-12-06 Thread Arash Esbati
/newtxtext.el create mode 100644 style/newtxttt.el diff --git a/ChangeLog b/ChangeLog index 5171a72..d3929f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +2014-12-06 Arash Esbati esb...@gmx.de + + * Makefile.in (STYLESRC): Add new styles. + + * style/newtxttt.el: New file

[AUCTeX-devel] [PATCH 2/3] Add new styles.

2014-12-30 Thread Arash Esbati
, 184 insertions(+), 1 deletion(-) create mode 100644 style/relsize.el create mode 100644 style/wrapfig.el diff --git a/ChangeLog b/ChangeLog index 9baf491..22c474d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2014-12-30 Arash Esbati esb...@gmx.de + * Makefile.in (STYLESRC): Add new

[AUCTeX-devel] [PATCH 1/3] Add `Form' environment needed for PDF and HTML forms.

2014-12-30 Thread Arash Esbati
++ style/hyperref.el | 81 ++- 2 files changed, 82 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 10063c3..9baf491 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2014-12-30 Arash Esbati esb...@gmx.de + + * style

[AUCTeX-devel] [PATCH 3/3] Fix a typo.

2014-12-30 Thread Arash Esbati
of a variable. --- ChangeLog | 3 +++ style/multirow.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 22c474d..1a0b2a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2014-12-30 Arash Esbati esb...@gmx.de + * style/multirow.el

[AUCTeX-devel] New style `color.el'

2015-02-07 Thread Arash Esbati
Hi, this patch adds support for `color.sty'. Any comments welcome. Best, Arash From 2ee2e7b04ff647d39e5d05d75928da71e19867fa Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sat, 7 Feb 2015 19:03:13 +0100 Subject: [PATCH] Add new style color.el * Makefile.in (STYLESRC): Add new

[AUCTeX-devel] Adding key/vals to predefined ones

2015-02-07 Thread Arash Esbati
Hi, some packages like enumitem.sty oder caption.sty (something I'd like to see supported by AUCTeX BTW) have the infastructure to define new key/vals by user in addition to the predefined ones. E.g., enumitem.sty offers `\SetEnumitemKey' and `\SetEnumitemValue' for this purpose (cf. section 9

Re: [AUCTeX-devel] color.el: RFC and a question

2015-02-03 Thread Arash Esbati
Tassilo Horn tsdh at gnu.org writes: Hi Tassilo, So what you have to do is `apply' the function to the list of dvi colors like so: (apply #'LaTeX-add-color-definecolors LaTeX-color-dvipsnames-colors) Ah, stupid me :-[ Many thanks for the clarification and the solution. Otherwise, your

Re: [AUCTeX-devel] color.el: RFC and a question

2015-02-02 Thread Arash Esbati
Tassilo Horn tsdh at gnu.org writes: Hi Tassilo, Arash Esbati esbati at gmx.de writes: Besides, I don't understand why (LaTeX-add-color-definecolors LaTeX-color-dvipsnames-colors) does not work -- it confuses any `completing-read' call. I don't see where `LaTeX-add-color

[AUCTeX-devel] color.el: RFC and a question

2015-01-31 Thread Arash Esbati
Hi, I wrote a style for `color.sty' (see below) and would like to ask for any comments before I make a proper submission. Besides, I don't understand why (LaTeX-add-color-definecolors LaTeX-color-dvipsnames-colors) does not work -- it confuses any `completing-read' call. I ended up feeding

[AUCTeX-devel] [PATCH] New style `currvita.el'

2015-01-31 Thread Arash Esbati
/ChangeLog index dab2cad..7c73af6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-01-31 Arash Esbati esb...@gmx.de + + * Makefile.in (STYLESRC): Add new style. + + * style/currvita.el: New file. + 2015-01-27 Tassilo Horn t...@gnu.org * tex.el (TeX-view-program-list-builtin): Remove

Re: [AUCTeX-devel] minted.el: Parsing with `\newminted'

2015-01-12 Thread Arash Esbati
Hi Mosè, Mosè Giordano m...@gnu.org writes: I tested this change and it indeed fixes the bug you reported, but have you seen the FIXME at line 106? Do you think you can address it as well? If not, I'll apply the above patch anyway ;-) Thanks for testing. I saw that `FIXME' and I thought

[AUCTeX-devel] minted.el: Parsing with `\newminted'

2015-01-09 Thread Arash Esbati
Hi, I copied this from minted doc in a file: \usepackage{minted} \newminted{cpp}{gobble=2,linenos} After `C-u C-c C-n C-c C-e', AUCTeX offers `cpp' and `cpp*' for completion. My expectation was `cppcode' and `cppcode*'. The one-liner below fixes this. diff --git a/style/minted.el

Re: [AUCTeX-devel] Adding key/vals to predefined ones

2015-02-12 Thread Arash Esbati
Tassilo Horn tsdh at gnu.org writes: Hi Tassilo, Arash Esbati esbati at gmx.de writes: Is there any blueprint how this can be implemented on AUCTeX side? The following excerpt for an `enumitem.el' works for commands mentioned above, but I have still no clear idea about how to build

[AUCTeX-devel] [PATCH 3/3] New style ltxtable.el.

2015-03-15 Thread Arash Esbati
Hi, this patch adds support for `ltxtable.sty'. Any comments welcome. Best, Arash From 4237df894106acd344e1d45ff6f063ef7bde5098 Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sun, 15 Mar 2015 17:45:48 +0100 Subject: [PATCH 3/3] New style ltxtable.el. * Makefile.in (STYLESRC

Re: [AUCTeX-devel] New style enumitem.el

2015-03-15 Thread Arash Esbati
Tassilo Horn tsdh at gnu.org writes: Hi Tassilo, And then there's actually no reason to match the second argument anyway, so you could just go with SetEnumitemKey{\\([^}]+\\)}. Thank you for looking at this again. Actually, this is exactly what I did. Patches are on the way. Best,

[AUCTeX-devel] [PATCH 2/3] New style ltablex.el.

2015-03-15 Thread Arash Esbati
Hi, this patch adds support for `ltablex.sty'. Any comments welcome. Best, Arash From f220519485c62a0db4db337b6ff09f327f0e3ce0 Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sun, 15 Mar 2015 16:22:54 +0100 Subject: [PATCH 2/3] New style ltablex.el. * Makefile.in (STYLESRC

[AUCTeX-devel] [PATCH 1/3] Improve styles enumitem.el and caption.el.

2015-03-15 Thread Arash Esbati
Hi, this patch improves the styles `enumitem.el' and `caption.el'. Any comments welcome. Best, Arash From 0d8bafdd2c52af3715e6c1fc1c6966e07838464e Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sun, 15 Mar 2015 16:16:20 +0100 Subject: [PATCH 1/3] Improve styles enumitem.el

[AUCTeX-devel] New style geometry.el

2015-03-08 Thread Arash Esbati
Hi, this patch adds support for `geometry.sty'. Any comments welcome. Best, Arash From 404860f4a5f485eafecb8a2572dc9e44d153b402 Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sun, 8 Mar 2015 18:19:12 +0100 Subject: [PATCH 3/3] New style for geometry.sty. * Makefile.in

[AUCTeX-devel] New style enumitem.el

2015-03-08 Thread Arash Esbati
Hi, this patch adds support for `enumitem.sty'. Any comments welcome. Best, Arash From b46fde1f7374793f2ecc9db2a25a6030c4c9f49f Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sun, 8 Mar 2015 18:09:12 +0100 Subject: [PATCH 1/3] New style for enumitem.sty * Makefile.in

[AUCTeX-devel] New style caption.el

2015-03-08 Thread Arash Esbati
Hi, this patch adds support for `caption.sty'. Any comments welcome. Best, Arash From 34cacadd0f691191d2ca0f78702a519628950208 Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sun, 8 Mar 2015 18:15:25 +0100 Subject: [PATCH 2/3] New style for caption.sty. * Makefile.in (STYLESRC

Re: [AUCTeX-devel] New style enumitem.el

2015-03-10 Thread Arash Esbati
Tassilo Horn tsdh at gnu.org writes: Arash Esbati esbati at gmx.de writes: Functionality-wise, I don't see any problems. But I can get rid of those random numbers, for sure. So I would say it's your call: should I send a small patch for this? I would have to update caption.el as well

Re: [AUCTeX-devel] New style enumitem.el

2015-03-09 Thread Arash Esbati
Tassilo Horn tsdh at gnu.org writes: Hi Tassilo, Arash Esbati esbati at gmx.de writes: Hi Arash, this patch adds support for `enumitem.sty'. Any comments welcome. Also applied. Thanks! Just a nitpick below. Thanks for installing the file. [...] Instead of adding some random

Re: [AUCTeX-devel] [PATCH 3/3] New style colortbl.el.

2015-03-28 Thread Arash Esbati
Mosè Giordano mose at gnu.org writes: Hi Mosè, Patches installed, thanks! Thanks! Please note that with your latest patch in caption.el and geometry.el, the line (add-hook 'TeX-update-style-hook #'TeX-auto-parse t) is applied twice. Is that on purpose? Best, Arash

[AUCTeX-devel] [PATCH 1/3] Add three missing LaTeX lengths.

2015-03-28 Thread Arash Esbati
Hi all, this patch add three standard lengths missing in `latex.el'. Best, Arash From b8c5dfa7748c32444aeac5418b54155207aa2c5d Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sat, 28 Mar 2015 16:55:50 +0100 Subject: [PATCH 1/3] Add three missing LaTeX lengths. * latex.el (LaTeX

[AUCTeX-devel] [PATCH 3/3] New style colortbl.el.

2015-03-28 Thread Arash Esbati
Hi all, this patch adds support for `colortbl.sty'. Any comments welcome. Best, Arash From 5a5868f2440051ad9d22d00b756b9e1b1d89c3a6 Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sat, 28 Mar 2015 17:10:54 +0100 Subject: [PATCH 3/3] New style colortbl.el. * Makefile.in

[AUCTeX-devel] [PATCH 2/3] Ask for a `Width' in minibuffer and not a `Length'.

2015-03-28 Thread Arash Esbati
Hi all, this patch is a minor improvement for `ltxtable.el'. Best, Arash From 2ccf4883c38b0bbe9ea18e8d8db8042dbdb428b3 Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sat, 28 Mar 2015 16:59:58 +0100 Subject: [PATCH 2/3] Ask for a `Width' in minibuffer and not a `Length

Re: [AUCTeX-devel] Adding key/vals to predefined ones

2015-03-01 Thread Arash Esbati
Tassilo Horn tsdh at gnu.org writes: Hi Tassilo, Ah, yes. But I still have some question about that function. --8---cut here---start-8--- (defun LaTeX-enumitem-update-key-val-options () Update the buffer-local key-val options before offering them in

Re: [AUCTeX-devel] Adding key/vals to predefined ones

2015-02-24 Thread Arash Esbati
Tassilo Horn tsdh at gnu.org writes: Hi Tassilo, I haven't looked at your complete code again but isn't the problem with the buffer-local variable that it's, well, buffer-local whereas it actually should be document-local. That is, in a multi-file document using enumitem, the new key-vals

Re: [AUCTeX-devel] Adding key/vals to predefined ones

2015-02-21 Thread Arash Esbati
Tassilo Horn tsdh at gnu.org writes: Hi Tassilo, [...] So your completion functions would use as completion table (append (LaTeX-enumitem-SetEnumitemKey-list) (LaTeX-enumitem-SetEnumitemValue-list) LaTeX-enumitem-key-val-options) Thanks for your comments and sorry

[AUCTeX-devel] Fontification in verb-env's with argument

2015-05-04 Thread Arash Esbati
Hi all, consider the following example: --8---cut here---start-8--- \documentclass[a4paper,12pt]{article} \usepackage{listings} \lstnewenvironment{pascal}[2] {\lstset{language=pascal,% basicstyle=\ttfamily#1,% keywordstyle=#2}}{}

Re: [AUCTeX-devel] Fontification in verb-env's with argument

2015-05-04 Thread Arash Esbati
Mosè Giordano mose at gnu.org writes: Hi Mosè, Could you please show what you see? I'm attaching a screenshot of my Emacs: `pascal' environment is not fontified at all. I don't think it's strange since it seems listings style file does nothing special for new listing environments. Thanks

[AUCTeX-devel] [PATCH 1/3] Parse env's defined with `\lstnewenvironment'.

2015-05-16 Thread Arash Esbati
Hi all, this patch adds support for parsing new env's defined with `\lstnewenvironment' to `listings.el'. Any comments welcome. Best, Arash From 204cd23c06b73b6fc1f1a1f372027e8509f8022e Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sat, 16 May 2015 18:13:06 +0200 Subject

[AUCTeX-devel] [PATCH 3/3] New styles newpxtext.el and newpxmath.el.

2015-05-16 Thread Arash Esbati
Hi all, this patch adds support for `newpxtext.sty' and `newpxmath.sty'. Best, Arash From 1dabcaae1186fa589e64fae283490d1b3329f717 Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sat, 16 May 2015 18:39:31 +0200 Subject: [PATCH 3/3] New styles newpxtext.el and newpxmath.el

[AUCTeX-devel] [PATCH 2/3] More font-lock fix for verbatim environment args.

2015-05-16 Thread Arash Esbati
Hi all, this patch is a small add-on to * e515ecd Font-lock fix for verbatim environment args. Many thanks to Mosè for his valuable comment. Best, Arash From f358ce119eda7d1157b7a1c0c2cfbdd8f073df0e Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sat, 16 May 2015 18:19:41

[AUCTeX-devel] [PATCH 2/2] New style attachfile.el

2015-04-11 Thread Arash Esbati
Hi all, this patch adds support for `attachfile.sty'. Any comments welcome. Best, Arash From 19e3e66ce4b1bca7c34d6de65e890d103f3e6878 Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sat, 11 Apr 2015 12:42:01 +0200 Subject: [PATCH 2/2] New style attachfile.el. * Makefile.in

[AUCTeX-devel] [PATCH 1/2] Improve/update styles

2015-04-11 Thread Arash Esbati
Hi all, this patch contains a series of improvements/updates for some styles. Any comments welcome. Best, Arash From 94e1b7c7f28f94250d361bdd2772512b17eac6b8 Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sat, 11 Apr 2015 12:31:02 +0200 Subject: [PATCH 1/2] Improve/update

[AUCTeX-devel] [PATCH 1/2] Query for optional env arg defined with \lstnewenvironment.

2015-06-05 Thread Arash Esbati
Hi all, this patch is a follow-up to 0a1742f7: Parse env's defined with `\lstnewenvironment'. and adds support for an optional argument. Any comments welcome. Best, Arash From 5418f485b8d62a0a7ba4a1be919fb50b999c27b3 Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Fri, 5

[AUCTeX-devel] [PATCH 2/2] New style pdfpages.el.

2015-06-05 Thread Arash Esbati
Hi all, this patch adds support for `pdfpages.sty'. Many thanks to Andreas Matthias for testing this style. Best, Arash From 2b09e568315dcf343845e62df92ccdcc3abb8887 Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Fri, 5 Jun 2015 22:45:05 +0200 Subject: [PATCH 2/2] New style

[AUCTeX-devel] RFC: Extending array.el to parse \newcolumntype

2015-06-23 Thread Arash Esbati
Hi all, I have extended `array.el' and now it parses user defined column types and adds them to `LaTeX-array-column-letters'. I would appreciate if somebody could give it a roll before I make a proper submission. As always, comments are welcome. Best, Arash array.el Description:

Re: [AUCTeX-devel] [PATCH 2/2] New style pdfpages.el.

2015-06-14 Thread Arash Esbati
Mosè Giordano m...@gnu.org writes: Hi Mosè, 2015-06-13 21:06 GMT+02:00 Arash Esbati esb...@gmx.de: Any comment? Yes: patch applied, thank you ;-) Hmm, actually, I was thinking about comments about the code, I would have made a proper patch. But thanks for also doing that work ;-) While

Re: [AUCTeX-devel] [PATCH 2/2] New style pdfpages.el.

2015-06-13 Thread Arash Esbati
Mosè Giordano m...@gnu.org writes: Hi Mosè, 2015-06-05 23:01 GMT+02:00 Arash Esbati esb...@gmx.de: Hi all, this patch adds support for `pdfpages.sty'. Many thanks to Andreas Matthias for testing this style. Both patches installed, thank you! Thanks for installing them and sorry for my

Re: [AUCTeX-devel] [PATCH 1/3] Parse env's defined with `\lstnewenvironment'.

2015-06-01 Thread Arash Esbati
Tassilo Horn t...@gnu.org writes: So indeed, if the \newenvironment has a second bracket-argument, and thus the first argument is optional, no arguments are considered at all. I've just fixed that in git. Now \newenvironment{colorenv}[2][red]{\color{#1}#2}{} results in (colorenv 1)

Re: [AUCTeX-devel] [PATCH 1/3] Parse env's defined with `\lstnewenvironment'.

2015-05-30 Thread Arash Esbati
Tassilo Horn t...@gnu.org writes: Hi Tassilo, I've applied all three PATCHES. Thank you very much for applying them. Unfortunately, I made a mistake here and this particular patch lacks a feature: It doesn't care about the optional argument. And I can't see that AUCTeX cares about opt.

Re: [AUCTeX-devel] RFC: Extending array.el to parse \newcolumntype

2015-07-01 Thread Arash Esbati
Arash Esbati esb...@gmx.de writes: Hi Mosè, Thanks for your comments. I will include them in a new suggestion; I'm thinking about a general function and update `tabularx.el' and `tabulary.el' at the same time. following up myself, attached is an updated version of `array.el'. Your

Re: [AUCTeX-devel] RFC: Extending array.el to parse \newcolumntype

2015-06-28 Thread Arash Esbati
Mosè Giordano m...@gnu.org writes: Hi Mosè, 2015-06-23 23:19 GMT+02:00 Arash Esbati esb...@gmx.de: Hi all, I have extended `array.el' and now it parses user defined column types and adds them to `LaTeX-array-column-letters'. I would appreciate if somebody could give it a roll before I

Re: [AUCTeX-devel] Any equivalent to `reftex-label' in AUCTeX

2015-08-18 Thread Arash Esbati
Mosè Giordano m...@gnu.org writes: Hi Mosè, 2015-08-18 22:19 GMT+02:00 Arash Esbati esb...@gmx.de: [...] My question is, does AUCTeX has something equivalent to `reftex-label' or should I just read the label as a string? To insert a new label there is `TeX-arg-define-label', instead

[AUCTeX-devel] [PATCH] Various patches

2015-08-22 Thread Arash Esbati
e575352a9842e8b257bf79d881bdd74d9a6db01d Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sat, 22 Aug 2015 10:30:13 +0200 Subject: [PATCH 1/5] Add fontification for `\newcolumntype'. * style/array.el (array): Add fontification for `\newcolumntype'. --- ChangeLog | 5 + style/array.el | 8 +++- 2 files

Re: [AUCTeX-devel] Any equivalent to `reftex-label' in AUCTeX

2015-08-20 Thread Arash Esbati
Mosè Giordano m...@gnu.org writes: Hi Mosè, 2015-08-19 0:27 GMT+02:00 Arash Esbati esb...@gmx.de: [...] Of course, you're right. But do you a hint how I can achieve the desired result with AUCTeX functions? With the brand-new `TeX-arg-label' function! Many thanks for looking

[AUCTeX-devel] [PATCH] 2 patches against ragged2e.el and enumitem.el

2015-08-09 Thread Arash Esbati
-add-symbol'. Any comments welcome. Best, Arash From 2518be98b34f3595a232c7742dea628e5a37fa7e Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sun, 9 Aug 2015 11:10:17 +0200 Subject: [PATCH 1/2] Make lengths available through `LaTeX-add-lengths'. * style/ragged2e.el (ragged2e

[AUCTeX-devel] [PATCH] Add missing commands `\nameref*' and `\Nameref'

2015-07-21 Thread Arash Esbati
Hi all, the following patch adds two missing commands `\nameref*' and `\Nameref' to `nameref.el'. Any comments welcome. Best, Arash From fb3a70fcdabe825742e74bf48bf97e94730da422 Mon Sep 17 00:00:00 2001 From: Arash Esbati a.esb...@elumatec.net Date: Tue, 21 Jul 2015 22:18:47 +0200 Subject

Re: [AUCTeX-devel] Various Patches

2015-07-21 Thread Arash Esbati
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

[AUCTeX-devel] Various Patches

2015-07-19 Thread Arash Esbati
06d63ae0b497a652413b44ddcd24a72e931e364d Mon Sep 17 00:00:00 2001 From: Arash Esbati esb...@gmx.de Date: Sat, 18 Jul 2015 09:25:42 +0200 Subject: [PATCH 1/7] Parse user-defined new column types. --- ChangeLog | 5 + style/array.el | 53

Re: [AUCTeX-devel] [PATCH] Various patches

2015-08-24 Thread Arash Esbati
Mosè Giordano m...@gnu.org writes: Hi Mosè, 2015-08-22 12:13 GMT+02:00 Arash Esbati esb...@gmx.de: As always, any comments welcome. I reviewed your patches, they're overall fine, as usual, I have only a minor concern about captionbox: for the label you could simply call (TeX-insert

[AUCTeX-devel] [PATCH] Some patches incl. amsthm.el

2015-10-24 Thread Arash Esbati
ptionbox): ditto. As always, comments are welcome and looking forward to 11.89. Best, Arash >From f081066fb962a26e305ac54d1b78ac5841b1acdc Mon Sep 17 00:00:00 2001 From: Arash Esbati <esb...@gmx.de> Date: Sat, 24 Oct 2015 16:21:04 +0200 Subject: [PATCH 1/4] Fix docstring. * style/captio

Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc

2015-10-21 Thread Arash Esbati
Uwe Brauer writes: > Now wait, all what you said below is true and I am aware of it. But > this is not automatically insertion of labels. > > Take my solution: > > , > | (defun LaTeX-thm-insert (environment) ;Version:1.20 > | (if (y-or-n-p > |(format "Do you

[AUCTeX-devel] [PATCH] Add new style hologo.el.

2015-10-31 Thread Arash Esbati
Hi all, please find attached a patch for a new style hologo.el. Any comments welcome. Best, Arash >From 50e4ac71c038e444dfd5417bc77cb5ca3117939b Mon Sep 17 00:00:00 2001 From: Arash Esbati <esb...@gmx.de> Date: Sat, 31 Oct 2015 17:22:28 +0100 Subject: [PATCH] Add new style

Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc

2015-10-20 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > Thanks for your contribution. I didn't have the time to actually test > it, but it looks good. Just out of curiosity: isn't > > (format "%s" heading) > > the same as > > heading > > ? As always, thanks for your comments. You are right,

Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc

2015-10-20 Thread Arash Esbati
Hi Uwe, Uwe Brauer writes: > I played around a bit the thing I miss most is the automatic insertion > of labels, but that might be a job of reftex?! Thanks, does it mean that everything else worked fine? If yes, I would make a proper submission and update the style. Reg.

Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc

2015-10-18 Thread Arash Esbati
Hi Uwe, Uwe Brauer writes: > Maybe I am missing something elementary. > Is it is possible to have automatically inserted theorem, lemmas etc > when using either amsmath or amsthm style. I cannot get it to work so I > have > > (defun LaTeX-thm-insert (environment) ;Version:1.20

[AUCTeX-devel] [PATCH] Various patches

2015-10-08 Thread Arash Esbati
uot;newfloat.el" and offer them as completion to "wrapfloat" environment. As always any comments welcome and my apologies for missing the change in `longtable' last time. Best, Arash >From 90bbbfb68f219c0a47314eec6d11c066c2cd22a1 Mon Sep 17 00:00:00 2001 From: Arash Esbati &

Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-10-06 Thread Arash Esbati
Hi Mosè, Mosè Giordano <m...@gnu.org> writes: > 2015-10-05 23:08 GMT+02:00 Arash Esbati <esb...@gmx.de>: >> Many thanks for updating the style. I also found a bug in the way I >> used `(LaTeX-largest-level)'. Please find attached a patch fixing the >> issue an

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-03 Thread Arash Esbati
Mosè Giordano writes: > 2015-09-02 7:58 GMT+02:00 Tassilo Horn : >> >> I'm not sure which name is best, though. `TeX-command-all' has the nice >> property that then all processing commands have the TeX-command prefix. >> So maybe `TeX-command-compile-all' would be

[AUCTeX-devel] [PATCH] Minor improvements to hyperref.el.

2015-09-08 Thread Arash Esbati
Best, Arash >From 4f491de07afc15a82973a6a355bd36df1f09643a Mon Sep 17 00:00:00 2001 From: Arash Esbati <a.esb...@elumatec.net> Date: Tue, 8 Sep 2015 23:15:50 +0200 Subject: [PATCH] Minor improvements to hyperref.el. * style/hyperref.el ("hyperref"): Add completion for starred version of `\autoref'

[AUCTeX-devel] [PATCH] New styles

2015-09-12 Thread Arash Esbati
:00:00 2001 From: Arash Esbati <esb...@gmx.de> Date: Sat, 12 Sep 2015 20:02:10 +0200 Subject: [PATCH 1/3] Add new style fontenc.el. * Makefile.in (STYLESRC): Add new style. * style/fontenc.el: New file. --- ChangeLog| 6 ++ Makefile.in | 2 +- style/fonten

Re: [AUCTeX-devel] [PATCH] New styles

2015-09-13 Thread Arash Esbati
Hi Mosè, Mosè Giordano <m...@gnu.org> writes: > 2015-09-12 20:27 GMT+02:00 Arash Esbati <esb...@gmx.de>: >> All always, any comments welcome. > > Indeed I have a comment: avoid using the name > "LaTeX-*-package-options" for both a variable and a function

[AUCTeX-devel] [PATCH] Small patch against reftex-vars.el

2015-09-26 Thread Arash Esbati
Hi all, I have a small patch against reftex-vars.el. The first part corrects the wrapfig description-string and adds wraptable to `reftex-label-alist-builtin'. The second part extends the caption-regexp in `reftex-default-context-regexps'. I have not signed the FSF papers for Emacs, I hope we

[AUCTeX-devel] A question with regexps

2015-09-26 Thread Arash Esbati
Hi all, I have a question reg. building a regexp: I have a `newfloat.el' ready where I have: --8<---cut here---start->8--- (defvar LaTeX-newfloat-DeclareFloatingEnvironment-regex `(,(concat "DeclareFloatingEnvironment" "[ \t\n\r%]*"

Re: [AUCTeX-devel] A question with regexps

2015-09-27 Thread Arash Esbati
Hi Mosè, Mosè Giordano <m...@gnu.org> writes: > 2015-09-26 23:37 GMT+02:00 Arash Esbati <esb...@gmx.de>: >> >> Thanks for your response and sorry for being unclear. Let me rephrase >> that: The idea is to pass the type of a new float-env to AUCTeX as a >&

[AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-09-27 Thread Arash Esbati
p 17 00:00:00 2001 From: Arash Esbati <esb...@gmx.de> Date: Sun, 27 Sep 2015 10:13:53 +0200 Subject: [PATCH 1/2] Use LaTeX-add-lengths for LaTeX-lengths. * style/longtable.el ("longtable"): Make package lengths available through `LaTeX-add-lengths' and not `TeX-add-symbol'.

Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-09-28 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > 2015-09-28 8:40 GMT+02:00 Tassilo Horn : >> Mosè Giordano writes: >> >>> `pushnew' can't append to variables, but my understanding is that it's >>> safer than `add-to-list' when it comes to let-bound variables (can >>>

Re: [AUCTeX-devel] [PATCH] Small patch against reftex-vars.el

2015-09-28 Thread Arash Esbati
Hi Tassilo, Tassilo Horn <t...@gnu.org> writes: > Arash Esbati <esb...@gmx.de> writes: > >> I have not signed the FSF papers for Emacs, > > Why not? Didn't we tell you that a CA on Emacs covers AUCTeX, too, but > the inverse is not true? Because of that, I usu

Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-10-05 Thread Arash Esbati
Hi Tassilo, Tassilo Horn writes: > Mosè Giordano writes: > >> `pushnew' can't append to variables, but my understanding is that it's >> safer than `add-to-list' when it comes to let-bound variables (can >> someone please confirm this?), > > Yes, `add-to-list' should

Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-10-05 Thread Arash Esbati
Hi Mosè, Mosè Giordano <m...@gnu.org> writes: > 2015-09-28 20:29 GMT+02:00 Arash Esbati <esb...@gmx.de>: >> Thanks for looking at this, installing and updating the style. There is >> still one `pushnew' in the code, line 118: >> >> --8<---c

[AUCTeX-devel] [PATCH] Various patches

2015-09-25 Thread Arash Esbati
82e7e2a0585c5488435a51709d Mon Sep 17 00:00:00 2001 From: Arash Esbati <esb...@gmx.de> Date: Fri, 25 Sep 2015 23:44:21 +0200 Subject: [PATCH 1/5] Fix mail address in Maintainer-header. * style/fontenc.el: Fix mail address in Maintainer-header. --- ChangeLog| 4 style/fonte

Re: [AUCTeX-devel] [PATCH] New styles

2015-09-19 Thread Arash Esbati
Hi Mosè, Mosè Giordano <m...@gnu.org> writes: > 2015-09-13 21:01 GMT+02:00 Arash Esbati <esb...@gmx.de>: >> Thanks for your comment. I had the impression it is common practice in >> AUCTeX to give the variable and the function the same name. > > Where for e

[AUCTeX-devel] Label prefix for customized environments

2015-09-19 Thread Arash Esbati
Hi all, I have written a style for `newfloat.sty' (see attached) where I want to associate new env's with the respective label prefix. My understandig is that this done via `LaTeX-label-alist'. So I add new env's to this variable with the `LaTeX-newfloat-auto-cleanup' function. When I load a

Re: [AUCTeX-devel] Label prefix for customized environments

2015-09-19 Thread Arash Esbati
Hi Tassilo, Tassilo Horn <t...@gnu.org> writes: > Arash Esbati <esb...@gmx.de> writes: >> I have written a style for `newfloat.sty' (see attached) where I want >> to associate new env's with the respective label prefix. My >> understandig is that this done v

Re: [AUCTeX-devel] Label prefix for customized environments

2015-09-20 Thread Arash Esbati
Tassilo Horn <t...@gnu.org> writes: > Arash Esbati <esb...@gmx.de> writes: > >>> and then `reftex-label-alist' is your friend. Or rather >>> `reftex-label-alist-builtin' in order to have the former be >>> completely in the user's hands. >>

Re: [AUCTeX-devel] Changing TeX-doc?

2015-12-16 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > am I the only one who finds `TeX-doc' overly complicated to the point > it's sometimes useless? It fails to find documentation for many > packages and classes, also pretty common ones like "babel", "fontenc", > and "memoir". Wouldn't it better if

Re: [AUCTeX-devel] Regex best practice

2015-11-24 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > Probably yes: so you want to match the whole \declaretheoremstyle > macro, but saving only the mandatory argument, right? Yes, exactly. Best, Arash ___ auctex-devel mailing list auctex-devel@gnu.org

Re: [AUCTeX-devel] Regex best practice

2015-11-28 Thread Arash Esbati
Mosè Giordano <m...@gnu.org> writes: > 2015-11-24 21:13 GMT+01:00 Arash Esbati <esb...@gmx.de>: >> >> Mosè Giordano <m...@gnu.org> writes: >> >>> Probably yes: so you want to match the whole \declaretheoremstyle >>> macro, but savi

Re: [AUCTeX-devel] [PATCH] Various patches

2015-11-28 Thread Arash Esbati
Hi Tassilo, Tassilo Horn <t...@gnu.org> writes: > Arash Esbati <esb...@gmx.de> writes: > >> please find attached 4 patch sets containing: >> >> * Makefile.in (STYLESRC): Add new style. >> >> * style/ntheorem.el: New file. >> >> * Mak

Re: [AUCTeX-devel] problems with git pull

2015-11-28 Thread Arash Esbati
Uwe Brauer writes: > BTW how can I figure out the end-of-line conventions of the actual > files? > > When I open them in Emacs I don't see (DOS) or anything like this in the > modeline. DOS end-of-lines are indicated with `\' in modeline, Unix with `(Unix)'. For me, it is the

[AUCTeX-devel] Regex best practice

2015-11-19 Thread Arash Esbati
Hi all, looking at some packages, the optional arguments for some commands are getting more and more complex, e.g. --8<---cut here---start->8--- \declaresomething[% key = value , name = {[Optional]Value} , anothername =

Re: [AUCTeX-devel] Master file set with "%% Master:" at the beginning of the file

2015-11-19 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > This feature has been introduced («under protest!») in 1994 and marked > to be phased out later. I'm writing to you just to let you know that > this feature, deprecated more than 20 years ago, has been now > completely removed. I agree, the grace

[AUCTeX-devel] [PATCH] Various patches

2015-11-21 Thread Arash Esbati
3cb2915a85d34bfb61fd3cbb Mon Sep 17 00:00:00 2001 From: Arash Esbati <esb...@gmx.de> Date: Sat, 21 Nov 2015 22:21:02 +0100 Subject: [PATCH 2/4] Improve style/amsthm.el * style/amsthm.el (LaTeX-amsthm-fontdecl): Cover all font changing declarations. ("amsthm"): Overrule the defintio

Re: [AUCTeX-devel] Regex best practice

2015-11-21 Thread Arash Esbati
Hi Mosè, Mosè Giordano <m...@gnu.org> writes: > 2015-11-19 20:58 GMT+01:00 Arash Esbati <esb...@gmx.de>: >> looking at some packages, the optional arguments for some commands are >> getting more and more complex, e.g. >> >> --8<---c

[AUCTeX-devel] Spell checking of macros

2016-06-24 Thread Arash Esbati
Hi all, there is an item on AUCTeX's wish list: o Spell checking of macros A special ispell dictionary for macros could be nice to have. I'm not sure if there were activities in this regard in the past, but AFAICT, it is about adding items to car and/or cdr of `ispell-tex-skip-alists'.

Re: [AUCTeX-devel] Spell checking of macros

2016-06-26 Thread Arash Esbati
Hi Mosè, Mosè Giordano <m...@gnu.org> writes: > 2016-06-24 12:48 GMT+02:00 Arash Esbati <esb...@gmx.de>: >> Hi all, >> >> there is an item on AUCTeX's wish list: >> >> o Spell checking of macros >> A special ispell dictionary for macros coul

  1   2   3   4   5   6   7   8   9   10   >