[AUCTeX-devel] Trivial patch for latex.el

2013-01-13 Thread giordano.m...@libero.it
Hi all, `TeX-arg-environment' uses `TeX-symbol-list' for completion, instead it should use `LaTeX-environment-list'. Here is the ChangeLog entry: 2013-01-14 Mosè Giordano * latex.el (TeX-arg-environment): Fix typo. What happened to the plan to migrate AUCTeX development to Git? B

Re: [AUCTeX-devel] Patch for imakeidx.el and latex.el

2013-01-13 Thread giordano.m...@libero.it
Hi Tassilo, >Ah, thanks. When I do that, it also works for me, so I've committed >your patches. Thank you >Hm, one thing still doesn't work for me. With the attached minimal tex >document and having parsed fancyhdr.sty, I get > >, >| LaTeX-pagestyle-list's value is (("fancy" "fancyplain" "

Re: [AUCTeX-devel] Patch for imakeidx.el and latex.el

2013-01-11 Thread giordano.m...@libero.it
Hi Tassilo, >Sorry, I forgot to Cc you. As a regular contributor, you might want to >join the list or use to the gmane group gmane.emacs.auctex.devel. I >always forget whom to keep in the Cc. ;-) Just done :-) > >Bye, >Tassilo > >> Hi Mosè, >> >>> I wrote a patch for `latex.el' against current

[AUCTeX-devel] New styles: kantlipsum, lipsum, longtable

2013-01-10 Thread giordano.m...@libero.it
Hi all, I'm sending three short styles for `kantlipsum.sty', `lipsum.sty' and `longtable.sty' packages (well, *lipsum styles are really short, longtable one is a bit longer). This is the ChangeLog entry: 2013-01-10 Mosè Giordano * style/kantlipsum.el: New style. * style/li

[AUCTeX-devel] R: Re: acronym.el

2013-01-10 Thread giordano.m...@libero.it
Hi Tassilo, >Is it somehow possible to ensure that the `TeX-run-style-hooks' form is >always the first in lambda that is the style hook function for your >document? I don't know how to do that, but I'm not sure that it would suffice. I believe that at least `TeX-auto-add-type' and `add-to-list'

[AUCTeX-devel] Patch for imakeidx.el and latex.el

2013-01-10 Thread giordano.m...@libero.it
Hi all, I wrote a patch for `latex.el' against current CVS version to add "LaTeX pagestyle" as a type for the parser. Pagestyles defined in LaTeX packages and classes will be automatically recognized and added to `LaTeX-pagestyle-list' variable. I checked that it works with `article.cls', `bo

Re: [AUCTeX-devel] acronym.el

2013-01-07 Thread giordano.m...@libero.it
Hi Tassilo, >Can't you just add that to acronym.el? I've tried the attached version, >and I don't get an error when it's loaded. The only changes are that >the `TeX-auto-add-type' is before adding the entry to >`LaTeX-auto-regexp-list', and I use `add-to-list' instead of `setq' and >`append', so

[AUCTeX-devel] acronym.el

2013-01-06 Thread giordano.m...@libero.it
Hi all, I'm sending style for `acronym.sty' package. There is a bug: opening a source file which loads `acronym' (I'm sending the example file `acrotest.tex' taken from `acronym' manual) results in the following error: Symbol's function definition is void: LaTeX-add-acronyms Moving the line

Re: [AUCTeX-devel] imakeidx.el and a patch for latex.el

2012-12-30 Thread giordano.m...@libero.it
Hi Tassilo, I did my homework! I'm sending `imakeidx' style (hopefully correct) and the patch to `latex.el', always the same. This is the changelog entry you requested: 2012-12-30 Mosè Giordano * latex.el (LaTeX-pagestyle-list): New variable. (TeX-arg-pagestyle): Use it.

Re: [AUCTeX-devel] imakeidx.el and a patch for latex.el

2012-12-29 Thread giordano.m...@libero.it
Hi Tassilo, >Just a bit more nitpicking: > >> ;; `firstpagestyle' and `headers' options for `indexsetup' macro are >> ;; available only if `fancyhdr' is not loaded. The following code >> ;; works only if `imakeidx' is loaded before `fancyhdr' >> (unless (member "fancyhdr" TeX-active-styles) >>

Re: [AUCTeX-devel] imakeidx.el and a patch for latex.el

2012-12-28 Thread giordano.m...@libero.it
Hi Tassilo, (TeX-run-style-hooks "multicol" "xpatch" "pdftexcmds" "ifluatex" "ifxetex" "xkeyval") >>> >>>Does imakeidx automatically enable all these other styles? >> Yes, you can check imakeidx source here: http://mirrors.ctan. >> org

Re: [AUCTeX-devel] imakeidx.el and a patch for latex.el

2012-12-27 Thread giordano.m...@libero.it
Hi Tassilo, >Why not simply a list '("plain" "empty" "headings" "myheadings")? Because in current `TeX-arg-pagestyle' function there is '(("plain") ("empty") ("headings") ("myheadings")), but just do what you think is better! >>(TeX-run-style-hooks >> "multicol" >> "xpatch" >> "p

[AUCTeX-devel] Key-val options for hyperref.el and siunitx.el

2012-12-27 Thread giordano.m...@libero.it
Hi all, options for `hyperref.sty' and `siunitx.sty' packages may be set as optional arguments of `\usepackage' macro or as mandatory arguments of `\hypersetup' and `\sisetup' macros, respectively. I'm attaching patches for `hyperref.el' and `siunitx.el' styles with all possible options, using

[AUCTeX-devel] imakeidx.el and a patch for latex.el

2012-12-27 Thread giordano.m...@libero.it
Hi all, I'm attaching a style for `imakeidx.sty'. It needs to know available pagestyles, but AUCTeX only hardcodes default pagestyles in `latex.el', so I wrote a patch for `latex.el' in which is defined a new customizable variable (`LaTeX-pagestyle-list') containing a list of the pagestyles. I

[AUCTeX-devel] bm.el and siunitx.el

2012-11-07 Thread giordano.m...@libero.it
Hi all, I wrote AUCTeX style files for `bm' and `siunitx' packages, you can find them here: https://raw.github.com/giordano/auctex-styles/master/bm.el https://raw.github.com/giordano/auctex-styles/master/siunitx.el `TeX-auto-generate' function is able to parse `bm.sty' but the resulting file doe